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 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 TOPLEVEL_CONFIGURE_ARGUMENTS 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 stage1_languages SYSROOT_CFLAGS_FOR_TARGET RPATH_ENVVAR tooldir build_tooldir CONFIGURE_GDB_TK GDB_TK INSTALL_GDB_TK build_configargs build_configdirs host_configargs configdirs target_configargs CC_FOR_BUILD config_shell YACC BISON M4 LEX FLEX MAKEINFO EXPECT RUNTEST AR AS DLLTOOL LD LIPO NM RANLIB STRIP WINDRES OBJCOPY OBJDUMP CFLAGS_FOR_BUILD 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 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 htmldir LIBOBJS LTLIBOBJS'
276 ac_subst_files
='serialization_dependencies host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag'
278 # Initialize some variables set by options.
280 ac_init_version
=false
281 # The variables have the same names as the options, with
282 # dashes changed to underlines.
290 program_transform_name
=s
,x
,x
,
298 # Installation directory options.
299 # These are left unexpanded so users can "make install exec_prefix=/foo"
300 # and all the variables that are supposed to be based on exec_prefix
301 # by default will actually change.
302 # Use braces instead of parens because sh, perl, etc. also accept them.
303 bindir
='${exec_prefix}/bin'
304 sbindir
='${exec_prefix}/sbin'
305 libexecdir
='${exec_prefix}/libexec'
306 datadir
='${prefix}/share'
307 sysconfdir
='${prefix}/etc'
308 sharedstatedir
='${prefix}/com'
309 localstatedir
='${prefix}/var'
310 libdir
='${exec_prefix}/lib'
311 includedir
='${prefix}/include'
312 oldincludedir
='/usr/include'
313 infodir
='${prefix}/info'
314 mandir
='${prefix}/man'
319 # If the previous option needs an argument, assign it.
320 if test -n "$ac_prev"; then
321 eval "$ac_prev=\$ac_option"
326 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
328 # Accept the important Cygnus configure options, so we can diagnose typos.
332 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
334 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
337 -build |
--build |
--buil |
--bui |
--bu)
338 ac_prev
=build_alias
;;
339 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
340 build_alias
=$ac_optarg ;;
342 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
343 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
344 ac_prev
=cache_file
;;
345 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
346 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
347 cache_file
=$ac_optarg ;;
350 cache_file
=config.cache
;;
352 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
354 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
356 datadir
=$ac_optarg ;;
358 -disable-* |
--disable-*)
359 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
360 # Reject names that are not valid shell variable names.
361 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
362 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
363 { (exit 1); exit 1; }; }
364 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
365 eval "enable_$ac_feature=no" ;;
367 -enable-* |
--enable-*)
368 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
369 # Reject names that are not valid shell variable names.
370 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
371 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
372 { (exit 1); exit 1; }; }
373 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
375 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
378 eval "enable_$ac_feature='$ac_optarg'" ;;
380 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
381 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
382 |
--exec |
--exe |
--ex)
383 ac_prev
=exec_prefix
;;
384 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
385 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
386 |
--exec=* |
--exe=* |
--ex=*)
387 exec_prefix
=$ac_optarg ;;
389 -gas |
--gas |
--ga |
--g)
390 # Obsolete; use --with-gas.
393 -help |
--help |
--hel |
--he |
-h)
395 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
396 ac_init_help
=recursive
;;
397 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
398 ac_init_help
=short
;;
400 -host |
--host |
--hos |
--ho)
401 ac_prev
=host_alias
;;
402 -host=* |
--host=* |
--hos=* |
--ho=*)
403 host_alias
=$ac_optarg ;;
405 -includedir |
--includedir |
--includedi |
--included |
--include \
406 |
--includ |
--inclu |
--incl |
--inc)
407 ac_prev
=includedir
;;
408 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
409 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
410 includedir
=$ac_optarg ;;
412 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
414 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
415 infodir
=$ac_optarg ;;
417 -libdir |
--libdir |
--libdi |
--libd)
419 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
422 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
423 |
--libexe |
--libex |
--libe)
424 ac_prev
=libexecdir
;;
425 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
426 |
--libexe=* |
--libex=* |
--libe=*)
427 libexecdir
=$ac_optarg ;;
429 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
430 |
--localstate |
--localstat |
--localsta |
--localst \
431 |
--locals |
--local |
--loca |
--loc |
--lo)
432 ac_prev
=localstatedir
;;
433 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
434 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
435 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
436 localstatedir
=$ac_optarg ;;
438 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
440 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
444 # Obsolete; use --without-fp.
447 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
448 |
--no-cr |
--no-c |
-n)
451 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
452 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
455 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
456 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
457 |
--oldin |
--oldi |
--old |
--ol |
--o)
458 ac_prev
=oldincludedir
;;
459 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
460 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
461 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
462 oldincludedir
=$ac_optarg ;;
464 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
466 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
469 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
470 |
--program-pre |
--program-pr |
--program-p)
471 ac_prev
=program_prefix
;;
472 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
473 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
474 program_prefix
=$ac_optarg ;;
476 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
477 |
--program-suf |
--program-su |
--program-s)
478 ac_prev
=program_suffix
;;
479 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
480 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
481 program_suffix
=$ac_optarg ;;
483 -program-transform-name |
--program-transform-name \
484 |
--program-transform-nam |
--program-transform-na \
485 |
--program-transform-n |
--program-transform- \
486 |
--program-transform |
--program-transfor \
487 |
--program-transfo |
--program-transf \
488 |
--program-trans |
--program-tran \
489 |
--progr-tra |
--program-tr |
--program-t)
490 ac_prev
=program_transform_name
;;
491 -program-transform-name=* |
--program-transform-name=* \
492 |
--program-transform-nam=* |
--program-transform-na=* \
493 |
--program-transform-n=* |
--program-transform-=* \
494 |
--program-transform=* |
--program-transfor=* \
495 |
--program-transfo=* |
--program-transf=* \
496 |
--program-trans=* |
--program-tran=* \
497 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
498 program_transform_name
=$ac_optarg ;;
500 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
501 |
-silent |
--silent |
--silen |
--sile |
--sil)
504 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
506 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
508 sbindir
=$ac_optarg ;;
510 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
511 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
512 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
514 ac_prev
=sharedstatedir
;;
515 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
516 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
517 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
519 sharedstatedir
=$ac_optarg ;;
521 -site |
--site |
--sit)
523 -site=* |
--site=* |
--sit=*)
526 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
528 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
531 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
532 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
533 ac_prev
=sysconfdir
;;
534 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
535 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
536 sysconfdir
=$ac_optarg ;;
538 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
539 ac_prev
=target_alias
;;
540 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
541 target_alias
=$ac_optarg ;;
543 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
546 -version |
--version |
--versio |
--versi |
--vers |
-V)
550 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
551 # Reject names that are not valid shell variable names.
552 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
553 { echo "$as_me: error: invalid package name: $ac_package" >&2
554 { (exit 1); exit 1; }; }
555 ac_package
=`echo $ac_package| sed 's/-/_/g'`
557 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
560 eval "with_$ac_package='$ac_optarg'" ;;
562 -without-* |
--without-*)
563 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
564 # Reject names that are not valid shell variable names.
565 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
566 { echo "$as_me: error: invalid package name: $ac_package" >&2
567 { (exit 1); exit 1; }; }
568 ac_package
=`echo $ac_package | sed 's/-/_/g'`
569 eval "with_$ac_package=no" ;;
572 # Obsolete; use --with-x.
575 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
576 |
--x-incl |
--x-inc |
--x-in |
--x-i)
577 ac_prev
=x_includes
;;
578 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
579 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
580 x_includes
=$ac_optarg ;;
582 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
583 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
584 ac_prev
=x_libraries
;;
585 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
586 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
587 x_libraries
=$ac_optarg ;;
589 -*) { echo "$as_me: error: unrecognized option: $ac_option
590 Try \`$0 --help' for more information." >&2
591 { (exit 1); exit 1; }; }
595 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
596 # Reject names that are not valid shell variable names.
597 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
598 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
599 { (exit 1); exit 1; }; }
600 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
601 eval "$ac_envvar='$ac_optarg'"
605 # FIXME: should be removed in autoconf 3.0.
606 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
607 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
608 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
609 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
615 if test -n "$ac_prev"; then
616 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
617 { echo "$as_me: error: missing argument to $ac_option" >&2
618 { (exit 1); exit 1; }; }
621 # Be sure to have absolute paths.
622 for ac_var
in exec_prefix prefix
624 eval ac_val
=$
`echo $ac_var`
626 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
627 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
628 { (exit 1); exit 1; }; };;
632 # Be sure to have absolute paths.
633 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
634 localstatedir libdir includedir oldincludedir infodir mandir
636 eval ac_val
=$
`echo $ac_var`
638 [\\/$
]* | ?
:[\\/]* ) ;;
639 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
640 { (exit 1); exit 1; }; };;
644 # There might be people who depend on the old broken behavior: `$host'
645 # used to hold the argument of --host etc.
646 # FIXME: To remove some day.
651 # FIXME: To remove some day.
652 if test "x$host_alias" != x
; then
653 if test "x$build_alias" = x
; then
654 cross_compiling
=maybe
655 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
656 If a cross compiler is detected then cross compile mode will be used." >&2
657 elif test "x$build_alias" != "x$host_alias"; then
663 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
665 test "$silent" = yes && exec 6>/dev
/null
668 # Find the source files, if location was not specified.
669 if test -z "$srcdir"; then
670 ac_srcdir_defaulted
=yes
671 # Try the directory containing this script, then its parent.
672 ac_confdir
=`(dirname "$0") 2>/dev/null ||
673 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
674 X"$0" : 'X\(//\)[^/]' \| \
675 X"$0" : 'X\(//\)$' \| \
676 X"$0" : 'X\(/\)' \| \
677 . : '\(.\)' 2>/dev/null ||
679 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
680 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
681 /^X\(\/\/\)$/{ s//\1/; q; }
682 /^X\(\/\).*/{ s//\1/; q; }
685 if test ! -r $srcdir/$ac_unique_file; then
689 ac_srcdir_defaulted
=no
691 if test ! -r $srcdir/$ac_unique_file; then
692 if test "$ac_srcdir_defaulted" = yes; then
693 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
694 { (exit 1); exit 1; }; }
696 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
697 { (exit 1); exit 1; }; }
700 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
701 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
702 { (exit 1); exit 1; }; }
703 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
704 ac_env_build_alias_set
=${build_alias+set}
705 ac_env_build_alias_value
=$build_alias
706 ac_cv_env_build_alias_set
=${build_alias+set}
707 ac_cv_env_build_alias_value
=$build_alias
708 ac_env_host_alias_set
=${host_alias+set}
709 ac_env_host_alias_value
=$host_alias
710 ac_cv_env_host_alias_set
=${host_alias+set}
711 ac_cv_env_host_alias_value
=$host_alias
712 ac_env_target_alias_set
=${target_alias+set}
713 ac_env_target_alias_value
=$target_alias
714 ac_cv_env_target_alias_set
=${target_alias+set}
715 ac_cv_env_target_alias_value
=$target_alias
716 ac_env_CC_set
=${CC+set}
718 ac_cv_env_CC_set
=${CC+set}
719 ac_cv_env_CC_value
=$CC
720 ac_env_CFLAGS_set
=${CFLAGS+set}
721 ac_env_CFLAGS_value
=$CFLAGS
722 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
723 ac_cv_env_CFLAGS_value
=$CFLAGS
724 ac_env_LDFLAGS_set
=${LDFLAGS+set}
725 ac_env_LDFLAGS_value
=$LDFLAGS
726 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
727 ac_cv_env_LDFLAGS_value
=$LDFLAGS
728 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
729 ac_env_CPPFLAGS_value
=$CPPFLAGS
730 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
731 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
732 ac_env_CXX_set
=${CXX+set}
733 ac_env_CXX_value
=$CXX
734 ac_cv_env_CXX_set
=${CXX+set}
735 ac_cv_env_CXX_value
=$CXX
736 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
737 ac_env_CXXFLAGS_value
=$CXXFLAGS
738 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
739 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
740 ac_env_AR_set
=${AR+set}
742 ac_cv_env_AR_set
=${AR+set}
743 ac_cv_env_AR_value
=$AR
744 ac_env_AS_set
=${AS+set}
746 ac_cv_env_AS_set
=${AS+set}
747 ac_cv_env_AS_value
=$AS
748 ac_env_DLLTOOL_set
=${DLLTOOL+set}
749 ac_env_DLLTOOL_value
=$DLLTOOL
750 ac_cv_env_DLLTOOL_set
=${DLLTOOL+set}
751 ac_cv_env_DLLTOOL_value
=$DLLTOOL
752 ac_env_LD_set
=${LD+set}
754 ac_cv_env_LD_set
=${LD+set}
755 ac_cv_env_LD_value
=$LD
756 ac_env_LIPO_set
=${LIPO+set}
757 ac_env_LIPO_value
=$LIPO
758 ac_cv_env_LIPO_set
=${LIPO+set}
759 ac_cv_env_LIPO_value
=$LIPO
760 ac_env_NM_set
=${NM+set}
762 ac_cv_env_NM_set
=${NM+set}
763 ac_cv_env_NM_value
=$NM
764 ac_env_RANLIB_set
=${RANLIB+set}
765 ac_env_RANLIB_value
=$RANLIB
766 ac_cv_env_RANLIB_set
=${RANLIB+set}
767 ac_cv_env_RANLIB_value
=$RANLIB
768 ac_env_STRIP_set
=${STRIP+set}
769 ac_env_STRIP_value
=$STRIP
770 ac_cv_env_STRIP_set
=${STRIP+set}
771 ac_cv_env_STRIP_value
=$STRIP
772 ac_env_WINDRES_set
=${WINDRES+set}
773 ac_env_WINDRES_value
=$WINDRES
774 ac_cv_env_WINDRES_set
=${WINDRES+set}
775 ac_cv_env_WINDRES_value
=$WINDRES
776 ac_env_OBJCOPY_set
=${OBJCOPY+set}
777 ac_env_OBJCOPY_value
=$OBJCOPY
778 ac_cv_env_OBJCOPY_set
=${OBJCOPY+set}
779 ac_cv_env_OBJCOPY_value
=$OBJCOPY
780 ac_env_OBJDUMP_set
=${OBJDUMP+set}
781 ac_env_OBJDUMP_value
=$OBJDUMP
782 ac_cv_env_OBJDUMP_set
=${OBJDUMP+set}
783 ac_cv_env_OBJDUMP_value
=$OBJDUMP
784 ac_env_CC_FOR_TARGET_set
=${CC_FOR_TARGET+set}
785 ac_env_CC_FOR_TARGET_value
=$CC_FOR_TARGET
786 ac_cv_env_CC_FOR_TARGET_set
=${CC_FOR_TARGET+set}
787 ac_cv_env_CC_FOR_TARGET_value
=$CC_FOR_TARGET
788 ac_env_CXX_FOR_TARGET_set
=${CXX_FOR_TARGET+set}
789 ac_env_CXX_FOR_TARGET_value
=$CXX_FOR_TARGET
790 ac_cv_env_CXX_FOR_TARGET_set
=${CXX_FOR_TARGET+set}
791 ac_cv_env_CXX_FOR_TARGET_value
=$CXX_FOR_TARGET
792 ac_env_GCC_FOR_TARGET_set
=${GCC_FOR_TARGET+set}
793 ac_env_GCC_FOR_TARGET_value
=$GCC_FOR_TARGET
794 ac_cv_env_GCC_FOR_TARGET_set
=${GCC_FOR_TARGET+set}
795 ac_cv_env_GCC_FOR_TARGET_value
=$GCC_FOR_TARGET
796 ac_env_GCJ_FOR_TARGET_set
=${GCJ_FOR_TARGET+set}
797 ac_env_GCJ_FOR_TARGET_value
=$GCJ_FOR_TARGET
798 ac_cv_env_GCJ_FOR_TARGET_set
=${GCJ_FOR_TARGET+set}
799 ac_cv_env_GCJ_FOR_TARGET_value
=$GCJ_FOR_TARGET
800 ac_env_GFORTRAN_FOR_TARGET_set
=${GFORTRAN_FOR_TARGET+set}
801 ac_env_GFORTRAN_FOR_TARGET_value
=$GFORTRAN_FOR_TARGET
802 ac_cv_env_GFORTRAN_FOR_TARGET_set
=${GFORTRAN_FOR_TARGET+set}
803 ac_cv_env_GFORTRAN_FOR_TARGET_value
=$GFORTRAN_FOR_TARGET
804 ac_env_AR_FOR_TARGET_set
=${AR_FOR_TARGET+set}
805 ac_env_AR_FOR_TARGET_value
=$AR_FOR_TARGET
806 ac_cv_env_AR_FOR_TARGET_set
=${AR_FOR_TARGET+set}
807 ac_cv_env_AR_FOR_TARGET_value
=$AR_FOR_TARGET
808 ac_env_AS_FOR_TARGET_set
=${AS_FOR_TARGET+set}
809 ac_env_AS_FOR_TARGET_value
=$AS_FOR_TARGET
810 ac_cv_env_AS_FOR_TARGET_set
=${AS_FOR_TARGET+set}
811 ac_cv_env_AS_FOR_TARGET_value
=$AS_FOR_TARGET
812 ac_env_DLLTOOL_FOR_TARGET_set
=${DLLTOOL_FOR_TARGET+set}
813 ac_env_DLLTOOL_FOR_TARGET_value
=$DLLTOOL_FOR_TARGET
814 ac_cv_env_DLLTOOL_FOR_TARGET_set
=${DLLTOOL_FOR_TARGET+set}
815 ac_cv_env_DLLTOOL_FOR_TARGET_value
=$DLLTOOL_FOR_TARGET
816 ac_env_LD_FOR_TARGET_set
=${LD_FOR_TARGET+set}
817 ac_env_LD_FOR_TARGET_value
=$LD_FOR_TARGET
818 ac_cv_env_LD_FOR_TARGET_set
=${LD_FOR_TARGET+set}
819 ac_cv_env_LD_FOR_TARGET_value
=$LD_FOR_TARGET
820 ac_env_LIPO_FOR_TARGET_set
=${LIPO_FOR_TARGET+set}
821 ac_env_LIPO_FOR_TARGET_value
=$LIPO_FOR_TARGET
822 ac_cv_env_LIPO_FOR_TARGET_set
=${LIPO_FOR_TARGET+set}
823 ac_cv_env_LIPO_FOR_TARGET_value
=$LIPO_FOR_TARGET
824 ac_env_NM_FOR_TARGET_set
=${NM_FOR_TARGET+set}
825 ac_env_NM_FOR_TARGET_value
=$NM_FOR_TARGET
826 ac_cv_env_NM_FOR_TARGET_set
=${NM_FOR_TARGET+set}
827 ac_cv_env_NM_FOR_TARGET_value
=$NM_FOR_TARGET
828 ac_env_OBJDUMP_FOR_TARGET_set
=${OBJDUMP_FOR_TARGET+set}
829 ac_env_OBJDUMP_FOR_TARGET_value
=$OBJDUMP_FOR_TARGET
830 ac_cv_env_OBJDUMP_FOR_TARGET_set
=${OBJDUMP_FOR_TARGET+set}
831 ac_cv_env_OBJDUMP_FOR_TARGET_value
=$OBJDUMP_FOR_TARGET
832 ac_env_RANLIB_FOR_TARGET_set
=${RANLIB_FOR_TARGET+set}
833 ac_env_RANLIB_FOR_TARGET_value
=$RANLIB_FOR_TARGET
834 ac_cv_env_RANLIB_FOR_TARGET_set
=${RANLIB_FOR_TARGET+set}
835 ac_cv_env_RANLIB_FOR_TARGET_value
=$RANLIB_FOR_TARGET
836 ac_env_STRIP_FOR_TARGET_set
=${STRIP_FOR_TARGET+set}
837 ac_env_STRIP_FOR_TARGET_value
=$STRIP_FOR_TARGET
838 ac_cv_env_STRIP_FOR_TARGET_set
=${STRIP_FOR_TARGET+set}
839 ac_cv_env_STRIP_FOR_TARGET_value
=$STRIP_FOR_TARGET
840 ac_env_WINDRES_FOR_TARGET_set
=${WINDRES_FOR_TARGET+set}
841 ac_env_WINDRES_FOR_TARGET_value
=$WINDRES_FOR_TARGET
842 ac_cv_env_WINDRES_FOR_TARGET_set
=${WINDRES_FOR_TARGET+set}
843 ac_cv_env_WINDRES_FOR_TARGET_value
=$WINDRES_FOR_TARGET
846 # Report the --help message.
848 if test "$ac_init_help" = "long"; then
849 # Omit some internal or obsolete options to make the list less imposing.
850 # This message is too long to be a string in the A/UX 3.1 sh.
852 \`configure' configures this package to adapt to many kinds of systems.
854 Usage: $0 [OPTION]... [VAR=VALUE]...
856 To assign environment variables (e.g., CC, CFLAGS...), specify them as
857 VAR=VALUE. See below for descriptions of some of the useful variables.
859 Defaults for the options are specified in brackets.
862 -h, --help display this help and exit
863 --help=short display options specific to this package
864 --help=recursive display the short help of all the included packages
865 -V, --version display version information and exit
866 -q, --quiet, --silent do not print \`checking...' messages
867 --cache-file=FILE cache test results in FILE [disabled]
868 -C, --config-cache alias for \`--cache-file=config.cache'
869 -n, --no-create do not create output files
870 --srcdir=DIR find the sources in DIR [configure dir or \`..']
875 Installation directories:
876 --prefix=PREFIX install architecture-independent files in PREFIX
878 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
881 By default, \`make install' will install all the files in
882 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
883 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
884 for instance \`--prefix=\$HOME'.
886 For better control, use the options below.
888 Fine tuning of the installation directories:
889 --bindir=DIR user executables [EPREFIX/bin]
890 --sbindir=DIR system admin executables [EPREFIX/sbin]
891 --libexecdir=DIR program executables [EPREFIX/libexec]
892 --datadir=DIR read-only architecture-independent data [PREFIX/share]
893 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
894 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
895 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
896 --libdir=DIR object code libraries [EPREFIX/lib]
897 --includedir=DIR C header files [PREFIX/include]
898 --oldincludedir=DIR C header files for non-gcc [/usr/include]
899 --infodir=DIR info documentation [PREFIX/info]
900 --mandir=DIR man documentation [PREFIX/man]
906 --program-prefix=PREFIX prepend PREFIX to installed program names
907 --program-suffix=SUFFIX append SUFFIX to installed program names
908 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
911 --build=BUILD configure
for building on BUILD
[guessed
]
912 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
913 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
917 if test -n "$ac_init_help"; then
922 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
923 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
924 --enable-libada Builds libada directory
925 --enable-libssp Builds libssp directory
926 --enable-stage1-languages=all choose additional languages to build during
927 stage1. Mostly useful
for compiler development.
928 --enable-objc-gc enable the use of Boehm
's garbage collector with
929 the GNU Objective-C runtime.
930 --enable-bootstrap Enable bootstrapping yes if native build
931 --enable-serial-{host,target,build}-configure
932 Force sequential configuration of
933 sub-packages for the host, target or build
934 machine, or all sub-packages
935 --enable-maintainer-mode enable make rules and dependencies not useful
936 (and sometimes confusing) to the casual installer
937 --enable-stage1-checking=all choose additional checking for stage1
939 --enable-werror enable -Werror in bootstrap stage2 and later
942 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
943 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
944 --with-build-libsubdir=DIR Directory where to find libraries for build system
945 --with-mpfr-dir=PATH This option has been REMOVED
946 --with-mpfr=PATH Specify prefix directory for installed MPFR package
947 Equivalent to --with-mpfr-include=PATH/include
948 plus --with-mpfr-lib=PATH/lib
949 --with-mpfr-include=PATH
950 Specify directory for installed MPFR include files
951 --with-mpfr-lib=PATH Specify the directory for the installed MPFR library
952 --with-gmp-dir=PATH This option has been REMOVED
953 --with-gmp=PATH Specify prefix directory for the installed GMP package
954 Equivalent to --with-gmp-include=PATH/include
955 plus --with-gmp-lib=PATH/lib
956 --with-gmp-include=PATH Specify directory for installed GMP include files
957 --with-gmp-lib=PATH Specify the directory for the installed GMP library
958 --with-build-sysroot=sysroot
959 use sysroot as the system root during the build
960 --with-build-time-tools=path
961 use given path to find target tools during the build
962 --with-datarootdir Use datarootdir as the data root directory.
963 --with-docdir Install documentation in this directory.
964 --with-htmldir Install html in this directory.
966 Some influential environment variables:
967 CC C compiler command
968 CFLAGS C compiler flags
969 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
970 nonstandard directory <lib dir>
971 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
972 headers in a nonstandard directory <include dir>
973 CXX C++ compiler command
974 CXXFLAGS C++ compiler flags
977 DLLTOOL DLLTOOL for the host
979 LIPO LIPO for the host
981 RANLIB RANLIB for the host
982 STRIP STRIP for the host
983 WINDRES WINDRES for the host
984 OBJCOPY OBJCOPY for the host
985 OBJDUMP OBJDUMP for the host
995 GFORTRAN for the target
1001 DLLTOOL for the target
1009 OBJDUMP for the target
1011 RANLIB for the target
1013 STRIP for the target
1015 WINDRES for the target
1017 Use these variables to override the choices made by `configure' or to
help
1018 it to
find libraries and programs with nonstandard names
/locations.
1023 if test "$ac_init_help" = "recursive"; then
1024 # If there are subdirs, report their specific --help.
1026 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1027 test -d $ac_dir ||
continue
1030 if test "$ac_dir" != .
; then
1031 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1032 # A "../" for each directory in $ac_dir_suffix.
1033 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1035 ac_dir_suffix
= ac_top_builddir
=
1039 .
) # No --srcdir option. We are building in place.
1041 if test -z "$ac_top_builddir"; then
1044 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1046 [\\/]* | ?
:[\\/]* ) # Absolute path.
1047 ac_srcdir
=$srcdir$ac_dir_suffix;
1048 ac_top_srcdir
=$srcdir ;;
1050 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1051 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1054 # Do not use `cd foo && pwd` to compute absolute paths, because
1055 # the directories may not exist.
1057 .
) ac_abs_builddir
="$ac_dir";;
1060 .
) ac_abs_builddir
=`pwd`;;
1061 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1062 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1065 case $ac_abs_builddir in
1066 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1068 case ${ac_top_builddir}.
in
1069 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1070 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1071 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1074 case $ac_abs_builddir in
1075 .
) ac_abs_srcdir
=$ac_srcdir;;
1078 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1079 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1080 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1083 case $ac_abs_builddir in
1084 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1086 case $ac_top_srcdir in
1087 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1088 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1089 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1094 # Check for guested configure; otherwise get Cygnus style configure.
1095 if test -f $ac_srcdir/configure.gnu
; then
1097 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1098 elif test -f $ac_srcdir/configure
; then
1100 $SHELL $ac_srcdir/configure
--help=recursive
1101 elif test -f $ac_srcdir/configure.ac ||
1102 test -f $ac_srcdir/configure.
in; then
1104 $ac_configure --help
1106 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1112 test -n "$ac_init_help" && exit 0
1113 if $ac_init_version; then
1116 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1117 This configure
script is free software
; the Free Software Foundation
1118 gives unlimited permission to copy
, distribute and modify it.
1124 This file contains any messages produced by compilers while
1125 running configure, to aid debugging if configure makes a mistake.
1127 It was created by $as_me, which was
1128 generated by GNU Autoconf 2.59. Invocation command line was
1139 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1140 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1141 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1142 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1143 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1145 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1146 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1148 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1149 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1150 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1151 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1152 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1153 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1154 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1158 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1162 test -z "$as_dir" && as_dir
=.
1163 echo "PATH: $as_dir"
1178 # Keep a trace of the command line.
1179 # Strip out --no-create and --no-recursion so they do not pile up.
1180 # Strip out --silent because we don't want to record it for future runs.
1181 # Also quote any args containing shell meta-characters.
1182 # Make two passes to allow for proper duplicate-argument suppression.
1187 ac_must_keep_next
=false
1193 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1194 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1195 |
-silent |
--silent |
--silen |
--sile |
--sil)
1197 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1198 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1201 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1203 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1204 if test $ac_must_keep_next = true
; then
1205 ac_must_keep_next
=false
# Got value, back to normal.
1208 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1209 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1210 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1211 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1212 case "$ac_configure_args0 " in
1213 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1216 -* ) ac_must_keep_next
=true
;;
1219 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1220 # Get rid of the leading space.
1226 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1227 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1229 # When interrupted or exit'd, cleanup temporary files, and complete
1230 # config.log. We remove comments because anyway the quotes in there
1231 # would cause problems or look ugly.
1232 # WARNING: Be sure not to use single quotes in there, as some shells,
1233 # such as our DU 5.0 friend, will then `close' the trap.
1234 trap 'exit_status=$?
1235 # Save into config.log some information that might help in debugging.
1240 ## ---------------- ##
1241 ## Cache variables. ##
1242 ## ---------------- ##
1245 # The following way of writing the cache mishandles newlines in values,
1248 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1251 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1252 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1256 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1263 ## ----------------- ##
1264 ## Output variables. ##
1265 ## ----------------- ##
1268 for ac_var in $ac_subst_vars
1270 eval ac_val=$`echo $ac_var`
1271 echo "$ac_var='"'"'$ac_val'"'"'"
1275 if test -n "$ac_subst_files"; then
1282 for ac_var in $ac_subst_files
1284 eval ac_val=$`echo $ac_var`
1285 echo "$ac_var='"'"'$ac_val'"'"'"
1290 if test -s confdefs.h; then
1297 sed "/^$/d" confdefs.h | sort
1300 test "$ac_signal" != 0 &&
1301 echo "$as_me: caught signal $ac_signal"
1302 echo "$as_me: exit $exit_status"
1304 rm -f core *.core &&
1305 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1308 for ac_signal
in 1 2 13 15; do
1309 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1313 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1314 rm -rf conftest
* confdefs.h
1315 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1318 # Predefined preprocessor variables.
1320 cat >>confdefs.h
<<_ACEOF
1321 #define PACKAGE_NAME "$PACKAGE_NAME"
1325 cat >>confdefs.h
<<_ACEOF
1326 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1330 cat >>confdefs.h
<<_ACEOF
1331 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1335 cat >>confdefs.h
<<_ACEOF
1336 #define PACKAGE_STRING "$PACKAGE_STRING"
1340 cat >>confdefs.h
<<_ACEOF
1341 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1345 # Let the site file select an alternate cache file if it wants to.
1346 # Prefer explicitly selected file to automatically selected ones.
1347 if test -z "$CONFIG_SITE"; then
1348 if test "x$prefix" != xNONE
; then
1349 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1351 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1354 for ac_site_file
in $CONFIG_SITE; do
1355 if test -r "$ac_site_file"; then
1356 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1357 echo "$as_me: loading site script $ac_site_file" >&6;}
1358 sed 's/^/| /' "$ac_site_file" >&5
1363 if test -r "$cache_file"; then
1364 # Some versions of bash will fail to source /dev/null (special
1365 # files actually), so we avoid doing that.
1366 if test -f "$cache_file"; then
1367 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1368 echo "$as_me: loading cache $cache_file" >&6;}
1370 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1371 *) . .
/$cache_file;;
1375 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1376 echo "$as_me: creating cache $cache_file" >&6;}
1380 # Check that the precious variables saved in the cache have kept the same
1382 ac_cache_corrupted
=false
1383 for ac_var
in `(set) 2>&1 |
1384 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1385 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1386 eval ac_new_set
=\
$ac_env_${ac_var}_set
1387 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1388 eval ac_new_val
="\$ac_env_${ac_var}_value"
1389 case $ac_old_set,$ac_new_set in
1391 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1392 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1393 ac_cache_corrupted
=: ;;
1395 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1396 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1397 ac_cache_corrupted
=: ;;
1400 if test "x$ac_old_val" != "x$ac_new_val"; then
1401 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1402 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1403 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1404 echo "$as_me: former value: $ac_old_val" >&2;}
1405 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1406 echo "$as_me: current value: $ac_new_val" >&2;}
1407 ac_cache_corrupted
=:
1410 # Pass precious variables to config.status.
1411 if test "$ac_new_set" = set; then
1413 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1414 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1415 *) ac_arg
=$ac_var=$ac_new_val ;;
1417 case " $ac_configure_args " in
1418 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1419 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1423 if $ac_cache_corrupted; then
1424 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1425 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1426 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1427 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1428 { (exit 1); exit 1; }; }
1432 ac_cpp
='$CPP $CPPFLAGS'
1433 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1434 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1435 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1457 # Find the build, host, and target systems.
1459 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1460 if test -f $ac_dir/install-sh
; then
1462 ac_install_sh
="$ac_aux_dir/install-sh -c"
1464 elif test -f $ac_dir/install.sh
; then
1466 ac_install_sh
="$ac_aux_dir/install.sh -c"
1468 elif test -f $ac_dir/shtool
; then
1470 ac_install_sh
="$ac_aux_dir/shtool install -c"
1474 if test -z "$ac_aux_dir"; then
1475 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1476 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1477 { (exit 1); exit 1; }; }
1479 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1480 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1481 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1483 # Make sure we can run config.sub.
1484 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1485 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1486 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1487 { (exit 1); exit 1; }; }
1489 echo "$as_me:$LINENO: checking build system type" >&5
1490 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1491 if test "${ac_cv_build+set}" = set; then
1492 echo $ECHO_N "(cached) $ECHO_C" >&6
1494 ac_cv_build_alias
=$build_alias
1495 test -z "$ac_cv_build_alias" &&
1496 ac_cv_build_alias
=`$ac_config_guess`
1497 test -z "$ac_cv_build_alias" &&
1498 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1499 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1500 { (exit 1); exit 1; }; }
1501 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1502 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1503 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1504 { (exit 1); exit 1; }; }
1507 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1508 echo "${ECHO_T}$ac_cv_build" >&6
1510 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1511 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1512 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1515 case ${build_alias} in
1516 "") build_noncanonical
=${build} ;;
1517 *) build_noncanonical
=${build_alias} ;;
1522 case ${host_alias} in
1523 "") host_noncanonical
=${build_noncanonical} ;;
1524 *) host_noncanonical
=${host_alias} ;;
1529 case ${target_alias} in
1530 "") target_noncanonical
=${host_noncanonical} ;;
1531 *) target_noncanonical
=${target_alias} ;;
1537 test "$host_noncanonical" = "$target_noncanonical" &&
1538 test "$program_prefix$program_suffix$program_transform_name" = \
1540 program_transform_name
=s
,y
,y
,
1542 echo "$as_me:$LINENO: checking host system type" >&5
1543 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1544 if test "${ac_cv_host+set}" = set; then
1545 echo $ECHO_N "(cached) $ECHO_C" >&6
1547 ac_cv_host_alias
=$host_alias
1548 test -z "$ac_cv_host_alias" &&
1549 ac_cv_host_alias
=$ac_cv_build_alias
1550 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1551 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1552 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1553 { (exit 1); exit 1; }; }
1556 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1557 echo "${ECHO_T}$ac_cv_host" >&6
1559 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1560 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1561 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1564 echo "$as_me:$LINENO: checking target system type" >&5
1565 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1566 if test "${ac_cv_target+set}" = set; then
1567 echo $ECHO_N "(cached) $ECHO_C" >&6
1569 ac_cv_target_alias
=$target_alias
1570 test "x$ac_cv_target_alias" = "x" &&
1571 ac_cv_target_alias
=$ac_cv_host_alias
1572 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1573 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1574 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1575 { (exit 1); exit 1; }; }
1578 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1579 echo "${ECHO_T}$ac_cv_target" >&6
1580 target
=$ac_cv_target
1581 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1582 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1583 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1586 # The aliases save the names the user supplied, while $host etc.
1587 # will get canonicalized.
1588 test -n "$target_alias" &&
1589 test "$program_prefix$program_suffix$program_transform_name" = \
1591 program_prefix
=${target_alias}-
1592 test "$program_prefix" != NONE
&&
1593 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1594 # Use a double $ so make ignores it.
1595 test "$program_suffix" != NONE
&&
1596 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1597 # Double any \ or $. echo might interpret backslashes.
1598 # By default was `s,x,x', remove it if useless.
1599 cat <<\_ACEOF
>conftest.
sed
1600 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1602 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1607 # Get 'install' or 'install-sh' and its variants.
1608 # Find a good install program. We prefer a C program (faster),
1609 # so one script is as good as another. But avoid the broken or
1610 # incompatible versions:
1611 # SysV /etc/install, /usr/sbin/install
1612 # SunOS /usr/etc/install
1613 # IRIX /sbin/install
1615 # AmigaOS /C/install, which installs bootblocks on floppy discs
1616 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1617 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1618 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1619 # OS/2's system install, which has a completely different semantic
1620 # ./install, which can be erroneously created by make from ./install.sh.
1621 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1622 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1623 if test -z "$INSTALL"; then
1624 if test "${ac_cv_path_install+set}" = set; then
1625 echo $ECHO_N "(cached) $ECHO_C" >&6
1627 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1631 test -z "$as_dir" && as_dir
=.
1632 # Account for people who put trailing slashes in PATH elements.
1634 .
/ | .
// |
/cC
/* | \
1635 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1636 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1639 # OSF1 and SCO ODT 3.0 have their own names for install.
1640 # Don't use installbsd from OSF since it installs stuff as root
1642 for ac_prog
in ginstall scoinst
install; do
1643 for ac_exec_ext
in '' $ac_executable_extensions; do
1644 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1645 if test $ac_prog = install &&
1646 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1647 # AIX install. It has an incompatible calling convention.
1649 elif test $ac_prog = install &&
1650 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1651 # program-specific install script used by HP pwplus--don't use.
1654 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1666 if test "${ac_cv_path_install+set}" = set; then
1667 INSTALL
=$ac_cv_path_install
1669 # As a last resort, use the slow shell script. We don't cache a
1670 # path for INSTALL within a source directory, because that will
1671 # break other packages using the cache if that directory is
1672 # removed, or if the path is relative.
1673 INSTALL
=$ac_install_sh
1676 echo "$as_me:$LINENO: result: $INSTALL" >&5
1677 echo "${ECHO_T}$INSTALL" >&6
1679 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1680 # It thinks the first close brace ends the variable substitution.
1681 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1683 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1685 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1687 echo "$as_me:$LINENO: checking whether ln works" >&5
1688 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6
1689 if test "${acx_cv_prog_LN+set}" = set; then
1690 echo $ECHO_N "(cached) $ECHO_C" >&6
1692 rm -f conftestdata_t
1693 echo >conftestdata_f
1694 if ln conftestdata_f conftestdata_t
2>/dev
/null
1700 rm -f conftestdata_f conftestdata_t
1703 if test $acx_cv_prog_LN = no
; then
1705 echo "$as_me:$LINENO: result: no, using $LN" >&5
1706 echo "${ECHO_T}no, using $LN" >&6
1708 LN
="$acx_cv_prog_LN"
1709 echo "$as_me:$LINENO: result: yes" >&5
1710 echo "${ECHO_T}yes" >&6
1713 echo "$as_me:$LINENO: checking whether ln -s works" >&5
1714 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
1716 if test "$LN_S" = "ln -s"; then
1717 echo "$as_me:$LINENO: result: yes" >&5
1718 echo "${ECHO_T}yes" >&6
1720 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
1721 echo "${ECHO_T}no, using $LN_S" >&6
1725 ### we might need to use some other shell than /bin/sh for running subshells
1726 ### If we are on Windows, search for the shell. This will permit people
1727 ### to not have /bin/sh, but to be able to see /SOME/PATH/sh configure
1728 ### without also having to set CONFIG_SHELL. This code will work when
1729 ### using bash, which sets OSTYPE.
1732 if test x
${CONFIG_SHELL} = x
; then
1733 if test ! -f /bin
/sh
; then
1734 if test x
${SHELL} != x
&& test -f ${SHELL} ; then
1735 CONFIG_SHELL
=${SHELL}
1738 for prog
in sh sh.exe bash bash.exe
; do
1739 IFS
="${IFS= }"; save_ifs
="$IFS"; IFS
="${IFS}:"
1740 for dir
in $PATH; do
1741 test -z "$dir" && dir
=.
1742 if test -f $dir/$prog; then
1743 CONFIG_SHELL
=$dir/$prog
1749 test -n "${CONFIG_SHELL}" && break
1757 config_shell
=${CONFIG_SHELL-/bin/sh}
1760 # if PWD already has a value, it is probably wrong.
1761 if test -n "$PWD" ; then PWD
=`${PWDCMD-pwd}`; fi
1763 # Export original configure arguments for use by sub-configures.
1764 # Quote arguments with shell meta charatcers.
1765 TOPLEVEL_CONFIGURE_ARGUMENTS
=
1766 set -- "$progname" "$@"
1770 *" "*|
*" "*|
*\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?*)
1771 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
1772 # if the argument is of the form -foo=baz, quote the baz part only
1773 ac_arg
=`echo "'$ac_arg'" | sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
1776 # Add the quoted argument to the list.
1777 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
1779 # Remove the initial space we just introduced and, as these will be
1780 # expanded by make, quote '$'.
1781 TOPLEVEL_CONFIGURE_ARGUMENTS
=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
1784 moveifchange
=${srcdir}/move-if-change
1786 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
1788 # We pass INSTALL explicitly to sub-makes. Make sure that it is not
1790 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
1791 INSTALL
="${srcpwd}/install-sh -c"
1794 # Set srcdir to "." if that's what it is.
1795 # This is important for multilib support.
1797 if test "${pwd}" = "${srcpwd}" ; then
1805 ### To add a new directory to the tree, first choose whether it is a target
1806 ### or a host dependent tool. Then put it into the appropriate list
1807 ### (library or tools, host or target), doing a dependency sort.
1809 # Subdirs will be configured in the order listed in build_configdirs,
1810 # configdirs, or target_configdirs; see the serialization section below.
1812 # Dependency sorting is only needed when *configuration* must be done in
1813 # a particular order. In all cases a dependency should be specified in
1814 # the Makefile, whether or not it's implicitly specified here.
1816 # Double entries in build_configdirs, configdirs, or target_configdirs may
1817 # cause circular dependencies and break everything horribly.
1819 # these library is used by various programs built for the build
1822 build_libs
="build-libiberty"
1824 # these tools are built for the build environment
1825 build_tools
="build-texinfo build-byacc build-flex build-bison build-m4 build-fixincludes"
1827 # these libraries are used by various programs built for the host environment
1829 host_libs
="intl mmalloc libiberty opcodes bfd readline tcl tk itcl libgui zlib libcpp libdecnumber gmp mpfr"
1831 # these tools are built for the host environment
1832 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
1833 # know that we are building the simulator.
1834 # binutils, gas and ld appear in that order because it makes sense to run
1835 # "make check" in that particular order.
1836 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"
1838 # libgcj represents the runtime libraries only used by gcj.
1839 libgcj
="target-libffi \
1844 # these libraries are built for the target environment, and are built after
1845 # the host libraries and the host tools (which may be a cross compiler)
1847 target_libraries
="target-libgcc \
1851 target-libstdc++-v3 \
1854 target-libgfortran \
1861 # these tools are built using the target libraries, and are intended to
1862 # run only in the target environment
1864 # note: any program that *uses* libraries that are in the "target_libraries"
1865 # list belongs in this list. those programs are also very likely
1866 # candidates for the "native_only" list which follows
1868 target_tools
="target-examples target-groff target-gperf target-rda"
1870 ################################################################################
1872 ## All tools belong in one of the four categories, and are assigned above
1873 ## We assign ${configdirs} this way to remove all embedded newlines. This
1874 ## is important because configure will choke if they ever get through.
1875 ## ${configdirs} is directories we build using the host tools.
1876 ## ${target_configdirs} is directories we build using the target tools.
1877 configdirs
=`echo ${host_libs} ${host_tools}`
1878 target_configdirs
=`echo ${target_libraries} ${target_tools}`
1879 build_configdirs
=`echo ${build_libs} ${build_tools}`
1881 ################################################################################
1883 srcname
="gnu development package"
1885 # This gets set non-empty for some net releases of packages.
1888 # Define is_cross_compiler to save on calls to 'test'.
1890 if test x
"${host}" = x
"${target}" ; then
1891 is_cross_compiler
=no
1893 is_cross_compiler
=yes
1896 # Find the build and target subdir names.
1898 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
1899 # have matching libraries, they should use host libraries: Makefile.tpl
1900 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
1901 # However, they still use the build modules, because the corresponding
1902 # host modules (e.g. bison) are only built for the host when bootstrap
1904 # - build_subdir is where we find build modules, and never changes.
1905 # - build_libsubdir is where we find build libraries, and can be overridden.
1907 # Prefix 'build-' so this never conflicts with target_subdir.
1908 build_subdir
="build-${build_noncanonical}"
1910 # Check whether --with-build-libsubdir or --without-build-libsubdir was given.
1911 if test "${with_build_libsubdir+set}" = set; then
1912 withval
="$with_build_libsubdir"
1913 build_libsubdir
="$withval"
1915 build_libsubdir
="$build_subdir"
1917 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
1918 if ( test $srcdir = .
&& test -d gcc
) \
1919 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
1920 host_subdir
="host-${host_noncanonical}"
1925 target_subdir
=${target_noncanonical}
1928 # Skipdirs are removed silently.
1930 # Noconfigdirs are removed loudly.
1934 # Make sure we don't let GNU ld be added if we didn't want it.
1935 if test x
$with_gnu_ld = xno
; then
1937 noconfigdirs
="$noconfigdirs ld"
1941 # Make sure we don't let GNU as be added if we didn't want it.
1942 if test x
$with_gnu_as = xno
; then
1944 noconfigdirs
="$noconfigdirs gas"
1947 # some tools are so dependent upon X11 that if we're not building with X,
1948 # it's not even worth trying to configure, much less build, that tool.
1951 yes |
"") ;; # the default value for this tree is that X11 is available
1953 skipdirs
="${skipdirs} tk itcl libgui"
1954 # We won't be able to build gdbtk without X.
1957 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
1960 # Some tools are only suitable for building in a "native" situation.
1961 # Remove these if host!=target.
1962 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"
1964 # Similarly, some are only suitable for cross toolchains.
1965 # Remove these if host=target.
1966 cross_only
="target-libgloss target-newlib target-opcodes"
1968 case $is_cross_compiler in
1969 no
) skipdirs
="${skipdirs} ${cross_only}" ;;
1970 yes) skipdirs
="${skipdirs} ${native_only}" ;;
1973 # If both --with-headers and --with-libs are specified, default to
1975 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno \
1976 && test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
1977 if test x
"${with_newlib}" = x
; then
1982 # Recognize --with-newlib/--without-newlib.
1983 case ${with_newlib} in
1984 no
) skipdirs
="${skipdirs} target-newlib" ;;
1985 yes) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
1988 # Configure extra directories which are host specific
1992 configdirs
="$configdirs libtermcap" ;;
1995 # A target can indicate whether a language isn't supported for some reason.
1996 # Only spaces may be used in this macro; not newlines or tabs.
1997 unsupported_languages
=
1999 # Remove more programs from consideration, based on the host or
2000 # target this usually means that a port of the program doesn't
2005 noconfigdirs
="$noconfigdirs byacc"
2007 i
[3456789]86-*-vsta)
2008 noconfigdirs
="$noconfigdirs tcl expect dejagnu make texinfo bison patch flex byacc send-pr gprof uudecode dejagnu diff guile perl itcl gnuserv gettext"
2010 i
[3456789]86-*-go32* | i
[3456789]86-*-msdosdjgpp*)
2011 noconfigdirs
="$noconfigdirs tcl tk expect dejagnu send-pr uudecode guile itcl gnuserv libffi"
2014 noconfigdirs
="$noconfigdirs expect dejagnu autoconf automake send-pr rcs guile perl texinfo libtool newlib"
2016 i
[3456789]86-*-mingw32*)
2017 # noconfigdirs="tcl tk expect dejagnu make texinfo bison patch flex byacc send-pr uudecode dejagnu diff guile perl itcl gnuserv"
2018 noconfigdirs
="$noconfigdirs expect dejagnu autoconf automake send-pr rcs guile perl texinfo libtool newlib"
2020 i
[3456789]86-*-beos*)
2021 noconfigdirs
="$noconfigdirs tk itcl libgui gdb"
2024 noconfigdirs
="$noconfigdirs autoconf automake send-pr rcs guile perl"
2027 noconfigdirs
="$noconfigdirs rcs"
2030 noconfigdirs
="$noconfigdirs patch diff make tk tcl expect dejagnu autoconf automake texinfo bison send-pr gprof rcs guile perl itcl gnuserv"
2033 noconfigdirs
="$noconfigdirs tk itcl libgui gdb dejagnu readline"
2038 # Check whether --enable-libada or --disable-libada was given.
2039 if test "${enable_libada+set}" = set; then
2040 enableval
="$enable_libada"
2041 ENABLE_LIBADA
=$enableval
2045 if test "${ENABLE_LIBADA}" != "yes" ; then
2046 noconfigdirs
="$noconfigdirs gnattools"
2049 # Check whether --enable-libssp or --disable-libssp was given.
2050 if test "${enable_libssp+set}" = set; then
2051 enableval
="$enable_libssp"
2052 ENABLE_LIBSSP
=$enableval
2057 # Save it here so that, even in case of --enable-libgcj, if the Java
2058 # front-end isn't enabled, we still get libgcj disabled.
2059 libgcj_saved
=$libgcj
2060 case $enable_libgcj in
2062 # If we reset it here, it won't get added to noconfigdirs in the
2063 # target-specific build rules, so it will be forcibly enabled
2064 # (unless the Java language itself isn't enabled).
2068 # Make sure we get it printed in the list of not supported target libs.
2069 noconfigdirs
="$noconfigdirs ${libgcj}"
2074 # Disable libmudflap on some systems.
2075 if test x
$enable_libmudflap = x
; then
2077 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu)
2078 # Enable libmudflap by default in GNU and friends.
2081 # Enable libmudflap by default in FreeBSD.
2084 # Disable it by default everywhere else.
2085 noconfigdirs
="$noconfigdirs target-libmudflap"
2090 # Disable libgomp on non POSIX hosted systems.
2091 if test x
$enable_libgomp = x
; then
2092 # Enable libgomp by default on hosted POSIX systems.
2094 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu)
2096 *-*-netbsd* |
*-*-freebsd* |
*-*-openbsd*)
2098 *-*-solaris2* |
*-*-sysv4* |
*-*-irix6* |
*-*-osf* |
*-*-hpux11*)
2100 *-*-darwin* |
*-*-aix*)
2103 noconfigdirs
="$noconfigdirs target-libgomp"
2111 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2113 powerpc-
*-darwin* | i
[3456789]86-*-darwin*)
2114 noconfigdirs
="$noconfigdirs bfd binutils ld gas opcodes gdb gprof"
2115 noconfigdirs
="$noconfigdirs sim target-rda"
2118 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
2119 noconfigdirs
="$noconfigdirs sim target-rda"
2120 noconfigdirs
="$noconfigdirs ${libgcj}"
2122 *-*-freebsd[12] |
*-*-freebsd[12].
* |
*-*-freebsd*aout
*)
2123 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2126 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
2127 if test "x$with_gmp" = x
&& test "x$with_gmp_dir" = x \
2128 && test -f /usr
/local
/include
/gmp.h
; then
2132 # Skip some stuff that's unsupported on some FreeBSD configurations.
2137 noconfigdirs
="$noconfigdirs ${libgcj}"
2142 # Remove unsupported stuff on all kaOS configurations.
2143 skipdirs
="target-libiberty ${libgcj} target-libstdc++-v3 target-librx"
2144 skipdirs
="$skipdirs target-libobjc target-examples target-groff target-gperf"
2145 skipdirs
="$skipdirs zlib fastjar target-libjava target-boehm-gc target-zlib"
2146 noconfigdirs
="$noconfigdirs target-libgloss"
2149 # Skip some stuff on all NetBSD configurations.
2150 noconfigdirs
="$noconfigdirs target-newlib target-libiberty target-libgloss"
2152 # Skip some stuff that's unsupported on some NetBSD configurations.
2154 i
*86-*-netbsdelf*) ;;
2155 arm
*-*-netbsdelf*) ;;
2157 noconfigdirs
="$noconfigdirs ${libgcj}"
2162 noconfigdirs
="$noconfigdirs target-newlib target-libiberty target-libgloss ${libgcj} target-libmudflap"
2165 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2167 # The tpf target doesn't support gdb yet.
2169 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-libiberty ${libgcj} target-libmudflap gdb tcl tk libgui itcl"
2172 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-rda ${libgcj}"
2175 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-libiberty target-libstdc++-v3 ${libgcj}"
2178 # ld works, but does not support shared libraries.
2179 # newlib is not 64 bit ready. I'm not sure about fileutils.
2180 # gas doesn't generate exception information.
2181 noconfigdirs
="$noconfigdirs gas ld fileutils target-newlib target-libgloss"
2184 noconfigdirs
="$noconfigdirs gdb ld target-newlib target-libgloss ${libgcj}"
2187 # newlib is not 64 bit ready
2188 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
2191 # newlib is not 64 bit ready
2192 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2195 noconfigdirs
="$noconfigdirs ${libgcj} target-newlib target-libgloss"
2198 noconfigdirs
="$noconfigdirs ${libgcj} target-newlib target-libgloss"
2200 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
2201 noconfigdirs
="$noconfigdirs ${libgcj}"
2202 noconfigdirs
="$noconfigdirs target-examples"
2203 noconfigdirs
="$noconfigdirs target-libiberty texinfo send-pr"
2204 noconfigdirs
="$noconfigdirs tcl tk itcl libgui sim"
2205 noconfigdirs
="$noconfigdirs expect dejagnu"
2206 # the C++ libraries don't build on top of CE's C libraries
2207 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
2208 noconfigdirs
="$noconfigdirs target-newlib"
2210 *-*-cygwin*) ;; # keep gdb and readline
2211 *) noconfigdirs
="$noconfigdirs gdb readline"
2216 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2220 arm-
*-coff | strongarm-
*-coff | xscale-
*-coff)
2221 noconfigdirs
="$noconfigdirs ${libgcj}"
2223 arm-
*-elf* | strongarm-
*-elf* | xscale-
*-elf* | arm
*-*-eabi* )
2224 noconfigdirs
="$noconfigdirs target-libffi target-qthreads"
2226 arm
*-*-linux-gnueabi)
2227 noconfigdirs
="$noconfigdirs target-libffi target-qthreads"
2228 noconfigdirs
="$noconfigdirs target-libjava target-libobjc"
2231 noconfigdirs
="$noconfigdirs ${libgcj} target-libiberty"
2234 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2237 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2240 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2243 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2246 noconfigdirs
="$noconfigdirs ld target-libgloss ${libgcj}"
2249 noconfigdirs
="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
2252 noconfigdirs
="$noconfigdirs gdb"
2253 if test x
${is_cross_compiler} != xno
; then
2254 target_configdirs
="${target_configdirs} target-bsp target-cygmon"
2257 c4x-
*-* | tic4x-
*-*)
2258 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
2260 c54x
*-*-* | tic54x-
*-*)
2261 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj} gcc gdb newlib"
2263 cris-
*-* | crisv32-
*-*)
2264 unsupported_languages
="$unsupported_languages java"
2267 unsupported_languages
="$unsupported_languages fortran"
2268 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc";;
2270 unsupported_languages
="$unsupported_languages fortran"
2271 noconfigdirs
="$noconfigdirs target-boehm-gc";;
2273 noconfigdirs
="$noconfigdirs target-newlib target-libgloss";;
2275 unsupported_languages
="$unsupported_languages fortran"
2276 noconfigdirs
="$noconfigdirs ${libgcj} target-newlib target-libgloss";;
2280 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-mudflap ${libgcj}"
2283 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
2286 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
2289 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
2292 noconfigdirs
="$noconfigdirs ${libgcj}"
2295 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2298 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
2300 hppa1.1
-*-osf* | hppa1.1
-*-bsd* )
2302 hppa
*64*-*-linux* | parisc
*64*-*-linux*)
2303 # In this case, it's because the hppa64-linux target is for
2304 # the kernel only at this point and has no libc, and thus no
2305 # headers, crt*.o, etc., all of which are needed by these.
2306 noconfigdirs
="$noconfigdirs target-zlib"
2308 parisc
*-*-linux* | hppa
*-*-linux*)
2312 hppa
*-*-openbsd* | \
2314 noconfigdirs
="$noconfigdirs ${libgcj}"
2317 noconfigdirs
="$noconfigdirs ld shellutils"
2320 # According to Alexandre Oliva <aoliva@redhat.com>, libjava won't
2321 # build on HP-UX 10.20.
2322 noconfigdirs
="$noconfigdirs ld shellutils ${libgcj}"
2325 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
2328 # No gdb support yet.
2329 noconfigdirs
="$noconfigdirs readline mmalloc libgui itcl gdb"
2332 # No gdb or ld support yet.
2333 noconfigdirs
="$noconfigdirs ${libgcj} readline mmalloc libgui itcl gdb ld"
2337 i
[3456789]86-*-coff | i
[3456789]86-*-elf)
2338 noconfigdirs
="$noconfigdirs ${libgcj}"
2340 i
[3456789]86-*-linux*)
2341 # The GCC port for glibc1 has no MD_FALLBACK_FRAME_STATE_FOR, so let's
2342 # not build java stuff by default.
2345 noconfigdirs
="$noconfigdirs ${libgcj}";;
2348 # This section makes it possible to build newlib natively on linux.
2349 # If we are using a cross compiler then don't configure newlib.
2350 if test x
${is_cross_compiler} != xno
; then
2351 noconfigdirs
="$noconfigdirs target-newlib"
2353 noconfigdirs
="$noconfigdirs target-libgloss"
2354 # If we are not using a cross compiler, do configure newlib.
2355 # Note however, that newlib will only be configured in this situation
2356 # if the --with-newlib option has been given, because otherwise
2357 # 'target-newlib' will appear in skipdirs.
2359 i
[3456789]86-*-mingw32*)
2360 target_configdirs
="$target_configdirs target-winsup"
2361 noconfigdirs
="$noconfigdirs expect target-libgloss target-newlib ${libgcj}"
2364 target_configdirs
="$target_configdirs target-winsup"
2365 noconfigdirs
="$noconfigdirs expect target-libgloss target-newlib ${libgcj}"
2368 target_configdirs
="$target_configdirs target-libtermcap target-winsup"
2369 noconfigdirs
="$noconfigdirs target-gperf target-libgloss ${libgcj}"
2370 # always build newlib if winsup directory is present.
2371 if test -d "$srcdir/winsup/cygwin"; then
2372 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
2373 elif test -d "$srcdir/newlib"; then
2374 echo "Warning: winsup/cygwin is missing so newlib can't be built."
2377 i
[3456789]86-moss-msdos | i
[3456789]86-*-moss* | \
2378 i
[3456789]86-*-uwin* | i
[3456789]86-*-interix* )
2381 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
2383 i
[3456789]86-*-sco3.2v5
*)
2384 # The linker does not yet know about weak symbols in COFF,
2385 # and is not configured to handle mixed ELF and COFF.
2386 noconfigdirs
="$noconfigdirs ld target-libgloss ${libgcj}"
2388 i
[3456789]86-*-sco*)
2389 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
2391 i
[3456789]86-*-solaris2*)
2392 noconfigdirs
="$noconfigdirs target-libgloss"
2394 i
[3456789]86-*-sysv4*)
2395 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2397 i
[3456789]86-*-beos*)
2398 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss ${libgcj}"
2400 i
[3456789]86-*-rdos*)
2401 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
2404 noconfigdirs
="$noconfigdirs ${libgcj}"
2406 m68hc11-
*-*|m6811-
*-*|m68hc12-
*-*|m6812-
*-*)
2407 noconfigdirs
="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
2410 noconfigdirs
="$noconfigdirs ${libgcj}"
2413 noconfigdirs
="$noconfigdirs ${libgcj}"
2416 # The EPOC C++ environment does not support exceptions or rtti,
2417 # and so building libstdc++-v3 tends not to always work.
2418 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
2421 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc gdb libgloss"
2422 unsupported_languages
="$unsupported_languages fortran java"
2425 noconfigdirs
="$noconfigdirs ${libgcj}"
2428 noconfigdirs
="$noconfigdirs ${libgcj}"
2431 noconfigdirs
="$noconfigdirs sim"
2434 # copied from rs6000-*-* entry
2435 noconfigdirs
="$noconfigdirs gprof target-libgloss target-libssp ${libgcj}"
2437 powerpc
*-*-winnt* | powerpc
*-*-pe* | ppc
*-*-pe)
2438 target_configdirs
="$target_configdirs target-winsup"
2439 noconfigdirs
="$noconfigdirs gdb tcl tk make expect target-libgloss itcl gnuserv ${libgcj}"
2440 # always build newlib.
2441 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
2443 # This is temporary until we can link against shared libraries
2444 powerpcle-
*-solaris*)
2445 noconfigdirs
="$noconfigdirs gdb sim make tcl tk expect itcl gnuserv ${libgcj}"
2448 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss ${libgcj}"
2451 noconfigdirs
="$noconfigdirs ${libgcj}"
2453 powerpc-
*-eabi* | powerpcle-
*-eabi* | powerpc-
*-rtems* )
2456 noconfigdirs
="$noconfigdirs target-newlib gprof ${libgcj}"
2459 noconfigdirs
="$noconfigdirs gprof target-libgloss target-libssp ${libgcj}"
2462 noconfigdirs
="$noconfigdirs gprof ${libgcj}"
2465 noconfigdirs
="$noconfigdirs ld binutils gprof target-libgloss ${libgcj}"
2468 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
2471 # Linking libjava exceeds command-line length limits on at least
2472 # IRIX 6.2, but not on IRIX 6.5.
2473 # Also, boehm-gc won't build on IRIX 6.5, according to Jeffrey Oldham
2474 # <oldham@codesourcery.com>
2475 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
2478 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
2481 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2484 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
2487 noconfigdirs
="$noconfigdirs gprof ${libgcj}"
2490 noconfigdirs
="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}"
2494 i
[3456789]86-*-vsta) ;; # don't add gprof back in
2495 i
[3456789]86-*-go32*) ;; # don't add gprof back in
2496 i
[3456789]86-*-msdosdjgpp*) ;; # don't add gprof back in
2497 *) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ gprof / /'` ;;
2499 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2502 noconfigdirs
="$noconfigdirs ${libgcj}"
2505 noconfigdirs
="$noconfigdirs ${libgcj}"
2508 noconfigdirs
="$noconfigdirs ${libgcj}"
2511 noconfigdirs
="$noconfigdirs ${libgcj}"
2512 if test x
${is_cross_compiler} != xno
; then
2513 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
2518 sparc-
*-solaris2.
[0-6] | sparc-
*-solaris2.
[0-6].
*)
2519 noconfigdirs
="$noconfigdirs ${libgcj}"
2521 sparc-
*-solaris* | sparc64-
*-solaris* | sparcv9-
*-solaris*)
2524 skipdirs
="target-libssp"
2527 noconfigdirs
="$noconfigdirs bfd binutils gas gcc gdb ld target-libstdc++-v3 opcodes target-libgloss ${libgcj}"
2530 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2533 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2536 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2539 noconfigdirs
="$noconfigdirs bfd binutils gdb ld target-newlib opcodes target-libgloss ${libgcj}"
2542 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2545 noconfigdirs
="$noconfigdirs ${libgcj}"
2548 noconfigdirs
="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
2550 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu)
2551 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
2554 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2557 noconfigdirs
="$noconfigdirs ${libgcj}"
2561 # If we aren't building newlib, then don't build libgloss, since libgloss
2562 # depends upon some newlib header files.
2563 case "${noconfigdirs}" in
2564 *target-libgloss
*) ;;
2565 *target-newlib
*) noconfigdirs
="$noconfigdirs target-libgloss" ;;
2568 # Work in distributions that contain no compiler tools, like Autoconf.
2570 host_makefile_frag
=/dev
/null
2571 if test -d ${srcdir}/config
; then
2574 # Avoid "too much defining" errors from HPUX compiler.
2575 tentative_cc
="cc -Wp,-H256000"
2576 # If "ar" in $PATH is GNU ar, the symbol table may need rebuilding.
2577 # If it's HP/UX ar, this should be harmless.
2581 tentative_cc
="cc -A ansi -A runtype,any -A systype,any -U__STDC__ -DUSG"
2584 #None of the Apollo compilers can compile gas or binutils. The preprocessor
2585 # chokes on bfd, the compiler won't let you assign integers to enums, and
2586 # other problems. Defining CC to gcc is a questionable way to say "don't use
2587 # the apollo compiler" (the preferred version of GCC could be called cc,
2588 # or whatever), but I'm not sure leaving CC as cc is any better...
2589 #CC=cc -A ansi -A runtype,any -A systype,any -U__STDC__ -DNO_STDARG
2590 # Used to have BISON=yacc.
2594 tentative_cc
="gcc -Wall -ansi -D__using_DGUX"
2597 # Under CX/UX, we want to tell the compiler to use ANSI mode.
2598 tentative_cc
="cc -Xa"
2599 host_makefile_frag
="config/mh-cxux"
2601 m88k-motorola-sysv
*)
2604 tentative_cc
="cc -Wf,-XNg1000"
2605 host_makefile_frag
="config/mh-decstation"
2608 # The C compiler on NEC MIPS SVR4 needs bigger tables.
2609 tentative_cc
="cc -ZXNd=5000 -ZXNg=1000"
2610 host_makefile_frag
="config/mh-necv4"
2613 # Tell compiler to use K&R C. We can't compile under the SGI Ansi
2614 # environment. Also bump switch table size so that cp-parse will
2615 # compile. Bump string length limit so linker builds.
2616 tentative_cc
="cc -cckr -Wf,-XNg1500 -Wf,-XNk1000 -Wf,-XNh2000 -Wf,-XNl8192"
2619 host_makefile_frag
="config/mh-sysv4"
2622 # This is for a MIPS running RISC/os 4.52C.
2624 # This is needed for GDB, but needs to be in the top-level make because
2625 # if a library is compiled with the bsd headers and gets linked with the
2626 # sysv system libraries all hell can break loose (e.g. a jmp_buf might be
2627 # a different size).
2628 # ptrace(2) apparently has problems in the BSD environment. No workaround is
2629 # known except to select the sysv environment. Could we use /proc instead?
2630 # These "sysv environments" and "bsd environments" often end up being a pain.
2632 # This is not part of CFLAGS because perhaps not all C compilers have this
2634 tentative_cc
="cc -systype sysv"
2639 i
[3456789]86-*-sysv5*)
2640 host_makefile_frag
="config/mh-sysv5"
2642 i
[3456789]86-*-dgux*)
2643 tentative_cc
="gcc -Wall -ansi -D__using_DGUX"
2644 host_makefile_frag
="config/mh-dgux386"
2646 i
[3456789]86-ncr-sysv4.3
*)
2647 # The MetaWare compiler will generate a copyright message unless you
2648 # turn it off by adding the -Hnocopyr flag.
2649 tentative_cc
="cc -Hnocopyr"
2651 i
[3456789]86-ncr-sysv4*)
2652 # for an NCR 3000 (i486/SVR4) system.
2653 # The NCR 3000 ships with a MetaWare compiler installed as /bin/cc.
2654 # This compiler not only emits obnoxious copyright messages every time
2655 # you run it, but it chokes and dies on a whole bunch of GNU source
2656 # files. Default to using the AT&T compiler installed in /usr/ccs/ATT/cc.
2657 tentative_cc
="/usr/ccs/ATT/cc"
2658 host_makefile_frag
="config/mh-ncr3000"
2660 i
[3456789]86-*-sco3.2v5
*)
2662 i
[3456789]86-*-sco*)
2663 # The native C compiler botches some simple uses of const. Unfortunately,
2664 # it doesn't defined anything like "__sco__" for us to test for in ansidecl.h.
2665 tentative_cc
="cc -Dconst="
2666 host_makefile_frag
="config/mh-sco"
2668 i
[3456789]86-*-udk*)
2669 host_makefile_frag
="config/mh-sysv5"
2671 i
[3456789]86-*-solaris2*)
2672 host_makefile_frag
="config/mh-sysv4"
2674 i
[3456789]86-*-msdosdjgpp*)
2675 host_makefile_frag
="config/mh-djgpp"
2678 host_makefile_frag
="config/mh-cygwin"
2685 host_makefile_frag
="config/mh-interix"
2688 # The old BSD pcc isn't up to compiling parts of gdb so use gcc
2692 host_makefile_frag
="config/mh-solaris"
2695 # Sun's C compiler needs the -J flag to be able to compile cp-parse.c
2696 # without overflowing the jump tables (-J says to use a 32 bit table)
2697 tentative_cc
="cc -J"
2700 tentative_cc
="cc -Wp,-H256000"
2703 tentative_cc
="cc -Wp,-H256000"
2706 # /bin/cc is less than useful for our purposes. Always use GCC
2707 tentative_cc
="/usr/cygnus/progressive/bin/gcc"
2708 host_makefile_frag
="config/mh-lynxrs6k"
2711 host_makefile_frag
="config/mh-ppc-darwin"
2714 host_makefile_frag
="config/mh-ppc-aix"
2717 host_makefile_frag
="config/mh-ppc-aix"
2720 # /bin/cc is less than useful for our purposes. Always use GCC
2721 tentative_cc
="/bin/gcc"
2724 host_makefile_frag
="config/mh-sysv4"
2726 # This is placed last to prevent interfering with the cases above.
2728 # Build the stage2 and stage3 compilers with -fomit-frame-pointer.
2729 host_makefile_frag
="config/mh-x86omitfp"
2734 # If we aren't going to be using gcc, see if we can extract a definition
2735 # of CC from the fragment.
2736 # Actually, use the 'pre-extracted' version above.
2737 if test -z "${CC}" && test "${build}" = "${host}" ; then
2738 IFS
="${IFS= }"; save_ifs
="$IFS"; IFS
="${IFS}:"
2740 for dir
in $PATH; do
2741 test -z "$dir" && dir
=.
2742 if test -f $dir/gcc
; then
2748 if test -z "${found}" && test -n "${tentative_cc}" ; then
2753 if test "${build}" != "${host}" ; then
2754 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
2756 CC_FOR_BUILD
="\$(CC)"
2760 ac_cpp
='$CPP $CPPFLAGS'
2761 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2762 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2763 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2764 if test -n "$ac_tool_prefix"; then
2765 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2766 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2767 echo "$as_me:$LINENO: checking for $ac_word" >&5
2768 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2769 if test "${ac_cv_prog_CC+set}" = set; then
2770 echo $ECHO_N "(cached) $ECHO_C" >&6
2772 if test -n "$CC"; then
2773 ac_cv_prog_CC
="$CC" # Let the user override the test.
2775 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2779 test -z "$as_dir" && as_dir
=.
2780 for ac_exec_ext
in '' $ac_executable_extensions; do
2781 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2782 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2783 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2792 if test -n "$CC"; then
2793 echo "$as_me:$LINENO: result: $CC" >&5
2794 echo "${ECHO_T}$CC" >&6
2796 echo "$as_me:$LINENO: result: no" >&5
2797 echo "${ECHO_T}no" >&6
2801 if test -z "$ac_cv_prog_CC"; then
2803 # Extract the first word of "gcc", so it can be a program name with args.
2804 set dummy gcc
; ac_word
=$2
2805 echo "$as_me:$LINENO: checking for $ac_word" >&5
2806 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2807 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2808 echo $ECHO_N "(cached) $ECHO_C" >&6
2810 if test -n "$ac_ct_CC"; then
2811 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2813 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2817 test -z "$as_dir" && as_dir
=.
2818 for ac_exec_ext
in '' $ac_executable_extensions; do
2819 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2820 ac_cv_prog_ac_ct_CC
="gcc"
2821 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2829 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2830 if test -n "$ac_ct_CC"; then
2831 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2832 echo "${ECHO_T}$ac_ct_CC" >&6
2834 echo "$as_me:$LINENO: result: no" >&5
2835 echo "${ECHO_T}no" >&6
2843 if test -z "$CC"; then
2844 if test -n "$ac_tool_prefix"; then
2845 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2846 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2847 echo "$as_me:$LINENO: checking for $ac_word" >&5
2848 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2849 if test "${ac_cv_prog_CC+set}" = set; then
2850 echo $ECHO_N "(cached) $ECHO_C" >&6
2852 if test -n "$CC"; then
2853 ac_cv_prog_CC
="$CC" # Let the user override the test.
2855 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2859 test -z "$as_dir" && as_dir
=.
2860 for ac_exec_ext
in '' $ac_executable_extensions; do
2861 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2862 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2863 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2872 if test -n "$CC"; then
2873 echo "$as_me:$LINENO: result: $CC" >&5
2874 echo "${ECHO_T}$CC" >&6
2876 echo "$as_me:$LINENO: result: no" >&5
2877 echo "${ECHO_T}no" >&6
2881 if test -z "$ac_cv_prog_CC"; then
2883 # Extract the first word of "cc", so it can be a program name with args.
2884 set dummy cc
; ac_word
=$2
2885 echo "$as_me:$LINENO: checking for $ac_word" >&5
2886 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2887 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2888 echo $ECHO_N "(cached) $ECHO_C" >&6
2890 if test -n "$ac_ct_CC"; then
2891 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2893 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2897 test -z "$as_dir" && as_dir
=.
2898 for ac_exec_ext
in '' $ac_executable_extensions; do
2899 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2900 ac_cv_prog_ac_ct_CC
="cc"
2901 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2909 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2910 if test -n "$ac_ct_CC"; then
2911 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2912 echo "${ECHO_T}$ac_ct_CC" >&6
2914 echo "$as_me:$LINENO: result: no" >&5
2915 echo "${ECHO_T}no" >&6
2924 if test -z "$CC"; then
2925 # Extract the first word of "cc", so it can be a program name with args.
2926 set dummy cc
; ac_word
=$2
2927 echo "$as_me:$LINENO: checking for $ac_word" >&5
2928 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2929 if test "${ac_cv_prog_CC+set}" = set; then
2930 echo $ECHO_N "(cached) $ECHO_C" >&6
2932 if test -n "$CC"; then
2933 ac_cv_prog_CC
="$CC" # Let the user override the test.
2936 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2940 test -z "$as_dir" && as_dir
=.
2941 for ac_exec_ext
in '' $ac_executable_extensions; do
2942 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2943 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2944 ac_prog_rejected
=yes
2948 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2954 if test $ac_prog_rejected = yes; then
2955 # We found a bogon in the path, so make sure we never use it.
2956 set dummy
$ac_cv_prog_CC
2958 if test $# != 0; then
2959 # We chose a different compiler from the bogus one.
2960 # However, it has the same basename, so the bogon will be chosen
2961 # first if we set CC to just the basename; use the full file name.
2963 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2969 if test -n "$CC"; then
2970 echo "$as_me:$LINENO: result: $CC" >&5
2971 echo "${ECHO_T}$CC" >&6
2973 echo "$as_me:$LINENO: result: no" >&5
2974 echo "${ECHO_T}no" >&6
2978 if test -z "$CC"; then
2979 if test -n "$ac_tool_prefix"; then
2982 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2983 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2984 echo "$as_me:$LINENO: checking for $ac_word" >&5
2985 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2986 if test "${ac_cv_prog_CC+set}" = set; then
2987 echo $ECHO_N "(cached) $ECHO_C" >&6
2989 if test -n "$CC"; then
2990 ac_cv_prog_CC
="$CC" # Let the user override the test.
2992 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2996 test -z "$as_dir" && as_dir
=.
2997 for ac_exec_ext
in '' $ac_executable_extensions; do
2998 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2999 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3000 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3009 if test -n "$CC"; then
3010 echo "$as_me:$LINENO: result: $CC" >&5
3011 echo "${ECHO_T}$CC" >&6
3013 echo "$as_me:$LINENO: result: no" >&5
3014 echo "${ECHO_T}no" >&6
3017 test -n "$CC" && break
3020 if test -z "$CC"; then
3024 # Extract the first word of "$ac_prog", so it can be a program name with args.
3025 set dummy
$ac_prog; ac_word
=$2
3026 echo "$as_me:$LINENO: checking for $ac_word" >&5
3027 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3028 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3029 echo $ECHO_N "(cached) $ECHO_C" >&6
3031 if test -n "$ac_ct_CC"; then
3032 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3034 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3038 test -z "$as_dir" && as_dir
=.
3039 for ac_exec_ext
in '' $ac_executable_extensions; do
3040 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3041 ac_cv_prog_ac_ct_CC
="$ac_prog"
3042 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3050 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3051 if test -n "$ac_ct_CC"; then
3052 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3053 echo "${ECHO_T}$ac_ct_CC" >&6
3055 echo "$as_me:$LINENO: result: no" >&5
3056 echo "${ECHO_T}no" >&6
3059 test -n "$ac_ct_CC" && break
3068 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3069 See \`config.log' for more details." >&5
3070 echo "$as_me: error: no acceptable C compiler found in \$PATH
3071 See \`config.log' for more details." >&2;}
3072 { (exit 1); exit 1; }; }
3074 # Provide some information about the compiler.
3075 echo "$as_me:$LINENO:" \
3076 "checking for C compiler version" >&5
3077 ac_compiler
=`set X $ac_compile; echo $2`
3078 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3079 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
3081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3082 (exit $ac_status); }
3083 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3084 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
3086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3087 (exit $ac_status); }
3088 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3089 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
3091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3092 (exit $ac_status); }
3094 cat >conftest.
$ac_ext <<_ACEOF
3097 cat confdefs.h
>>conftest.
$ac_ext
3098 cat >>conftest.
$ac_ext <<_ACEOF
3099 /* end confdefs.h. */
3109 ac_clean_files_save
=$ac_clean_files
3110 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
3111 # Try to create an executable without -o first, disregard a.out.
3112 # It will help us diagnose broken compilers, and finding out an intuition
3114 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3115 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
3116 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3117 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
3118 (eval $ac_link_default) 2>&5
3120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3121 (exit $ac_status); }; then
3122 # Find the output, starting from the most likely. This scheme is
3123 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
3126 # Be careful to initialize this variable, since it used to be cached.
3127 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
3129 # b.out is created by i960 compilers.
3130 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
3132 test -f "$ac_file" ||
continue
3134 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
3137 # This is the source file.
3140 # We found the default executable, but exeext='' is most
3144 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3145 # FIXME: I believe we export ac_cv_exeext for Libtool,
3146 # but it would be cool to find out if it's true. Does anybody
3147 # maintain Libtool? --akim.
3155 echo "$as_me: failed program was:" >&5
3156 sed 's/^/| /' conftest.
$ac_ext >&5
3158 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3159 See \`config.log' for more details." >&5
3160 echo "$as_me: error: C compiler cannot create executables
3161 See \`config.log' for more details." >&2;}
3162 { (exit 77); exit 77; }; }
3165 ac_exeext
=$ac_cv_exeext
3166 echo "$as_me:$LINENO: result: $ac_file" >&5
3167 echo "${ECHO_T}$ac_file" >&6
3169 # Check the compiler produces executables we can run. If not, either
3170 # the compiler is broken, or we cross compile.
3171 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3172 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
3173 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3174 # If not cross compiling, check that we can run a simple program.
3175 if test "$cross_compiling" != yes; then
3176 if { ac_try
='./$ac_file'
3177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3181 (exit $ac_status); }; }; then
3184 if test "$cross_compiling" = maybe
; then
3187 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3188 If you meant to cross compile, use \`--host'.
3189 See \`config.log' for more details." >&5
3190 echo "$as_me: error: cannot run C compiled programs.
3191 If you meant to cross compile, use \`--host'.
3192 See \`config.log' for more details." >&2;}
3193 { (exit 1); exit 1; }; }
3197 echo "$as_me:$LINENO: result: yes" >&5
3198 echo "${ECHO_T}yes" >&6
3200 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
3201 ac_clean_files
=$ac_clean_files_save
3202 # Check the compiler produces executables we can run. If not, either
3203 # the compiler is broken, or we cross compile.
3204 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3205 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
3206 echo "$as_me:$LINENO: result: $cross_compiling" >&5
3207 echo "${ECHO_T}$cross_compiling" >&6
3209 echo "$as_me:$LINENO: checking for suffix of executables" >&5
3210 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
3211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3212 (eval $ac_link) 2>&5
3214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3215 (exit $ac_status); }; then
3216 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3217 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3218 # work properly (i.e., refer to `conftest.exe'), while it won't with
3220 for ac_file
in conftest.exe conftest conftest.
*; do
3221 test -f "$ac_file" ||
continue
3223 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
3224 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3231 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3232 See \`config.log' for more details." >&5
3233 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3234 See \`config.log' for more details." >&2;}
3235 { (exit 1); exit 1; }; }
3238 rm -f conftest
$ac_cv_exeext
3239 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3240 echo "${ECHO_T}$ac_cv_exeext" >&6
3242 rm -f conftest.
$ac_ext
3243 EXEEXT
=$ac_cv_exeext
3245 echo "$as_me:$LINENO: checking for suffix of object files" >&5
3246 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
3247 if test "${ac_cv_objext+set}" = set; then
3248 echo $ECHO_N "(cached) $ECHO_C" >&6
3250 cat >conftest.
$ac_ext <<_ACEOF
3253 cat confdefs.h
>>conftest.
$ac_ext
3254 cat >>conftest.
$ac_ext <<_ACEOF
3255 /* end confdefs.h. */
3265 rm -f conftest.o conftest.obj
3266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3267 (eval $ac_compile) 2>&5
3269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3270 (exit $ac_status); }; then
3271 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
3273 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
3274 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
3279 echo "$as_me: failed program was:" >&5
3280 sed 's/^/| /' conftest.
$ac_ext >&5
3282 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3283 See \`config.log' for more details." >&5
3284 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3285 See \`config.log' for more details." >&2;}
3286 { (exit 1); exit 1; }; }
3289 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
3291 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3292 echo "${ECHO_T}$ac_cv_objext" >&6
3293 OBJEXT
=$ac_cv_objext
3295 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3296 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3297 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3298 echo $ECHO_N "(cached) $ECHO_C" >&6
3300 cat >conftest.
$ac_ext <<_ACEOF
3303 cat confdefs.h
>>conftest.
$ac_ext
3304 cat >>conftest.
$ac_ext <<_ACEOF
3305 /* end confdefs.h. */
3318 rm -f conftest.
$ac_objext
3319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3320 (eval $ac_compile) 2>conftest.er1
3322 grep -v '^ *+' conftest.er1
>conftest.err
3324 cat conftest.err
>&5
3325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3326 (exit $ac_status); } &&
3327 { ac_try
='test -z "$ac_c_werror_flag"
3328 || test ! -s conftest.err'
3329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3333 (exit $ac_status); }; } &&
3334 { ac_try
='test -s conftest.$ac_objext'
3335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3339 (exit $ac_status); }; }; then
3342 echo "$as_me: failed program was:" >&5
3343 sed 's/^/| /' conftest.
$ac_ext >&5
3347 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3348 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3351 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3352 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3353 GCC
=`test $ac_compiler_gnu = yes && echo yes`
3354 ac_test_CFLAGS
=${CFLAGS+set}
3355 ac_save_CFLAGS
=$CFLAGS
3357 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3358 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3359 if test "${ac_cv_prog_cc_g+set}" = set; then
3360 echo $ECHO_N "(cached) $ECHO_C" >&6
3362 cat >conftest.
$ac_ext <<_ACEOF
3365 cat confdefs.h
>>conftest.
$ac_ext
3366 cat >>conftest.
$ac_ext <<_ACEOF
3367 /* end confdefs.h. */
3377 rm -f conftest.
$ac_objext
3378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3379 (eval $ac_compile) 2>conftest.er1
3381 grep -v '^ *+' conftest.er1
>conftest.err
3383 cat conftest.err
>&5
3384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3385 (exit $ac_status); } &&
3386 { ac_try
='test -z "$ac_c_werror_flag"
3387 || test ! -s conftest.err'
3388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3392 (exit $ac_status); }; } &&
3393 { ac_try
='test -s conftest.$ac_objext'
3394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3398 (exit $ac_status); }; }; then
3401 echo "$as_me: failed program was:" >&5
3402 sed 's/^/| /' conftest.
$ac_ext >&5
3406 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3408 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3409 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3410 if test "$ac_test_CFLAGS" = set; then
3411 CFLAGS
=$ac_save_CFLAGS
3412 elif test $ac_cv_prog_cc_g = yes; then
3413 if test "$GCC" = yes; then
3419 if test "$GCC" = yes; then
3425 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3426 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3427 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3428 echo $ECHO_N "(cached) $ECHO_C" >&6
3430 ac_cv_prog_cc_stdc
=no
3432 cat >conftest.
$ac_ext <<_ACEOF
3435 cat confdefs.h
>>conftest.
$ac_ext
3436 cat >>conftest.
$ac_ext <<_ACEOF
3437 /* end confdefs.h. */
3440 #include <sys/types.h>
3441 #include <sys/stat.h>
3442 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3443 struct buf { int x; };
3444 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3445 static char *e (p, i)
3451 static char *f (char * (*g) (char **, int), char **p, ...)
3456 s = g (p, va_arg (v,int));
3461 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3462 function prototypes and stuff, but not '\xHH' hex character constants.
3463 These don't provoke an error unfortunately, instead are silently treated
3464 as 'x'. The following induces an error, until -std1 is added to get
3465 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3466 array size at least. It's necessary to write '\x00'==0 to get something
3467 that's true only with -std1. */
3468 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3470 int test (int i, double x);
3471 struct s1 {int (*f) (int a);};
3472 struct s2 {int (*f) (double a);};
3473 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3479 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3484 # Don't try gcc -ansi; that turns off useful extensions and
3485 # breaks some systems' header files.
3486 # AIX -qlanglvl=ansi
3487 # Ultrix and OSF/1 -std1
3488 # HP-UX 10.20 and later -Ae
3489 # HP-UX older versions -Aa -D_HPUX_SOURCE
3490 # SVR4 -Xc -D__EXTENSIONS__
3491 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3493 CC
="$ac_save_CC $ac_arg"
3494 rm -f conftest.
$ac_objext
3495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3496 (eval $ac_compile) 2>conftest.er1
3498 grep -v '^ *+' conftest.er1
>conftest.err
3500 cat conftest.err
>&5
3501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3502 (exit $ac_status); } &&
3503 { ac_try
='test -z "$ac_c_werror_flag"
3504 || test ! -s conftest.err'
3505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3509 (exit $ac_status); }; } &&
3510 { ac_try
='test -s conftest.$ac_objext'
3511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3515 (exit $ac_status); }; }; then
3516 ac_cv_prog_cc_stdc
=$ac_arg
3519 echo "$as_me: failed program was:" >&5
3520 sed 's/^/| /' conftest.
$ac_ext >&5
3523 rm -f conftest.err conftest.
$ac_objext
3525 rm -f conftest.
$ac_ext conftest.
$ac_objext
3530 case "x$ac_cv_prog_cc_stdc" in
3532 echo "$as_me:$LINENO: result: none needed" >&5
3533 echo "${ECHO_T}none needed" >&6 ;;
3535 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3536 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3537 CC
="$CC $ac_cv_prog_cc_stdc" ;;
3540 # Some people use a C++ compiler to compile C. Since we use `exit',
3541 # in C++ we need to declare it. In case someone uses the same compiler
3542 # for both compiling C and C++ we need to have the C++ compiler decide
3543 # the declaration of exit, since it's the most demanding environment.
3544 cat >conftest.
$ac_ext <<_ACEOF
3549 rm -f conftest.
$ac_objext
3550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3551 (eval $ac_compile) 2>conftest.er1
3553 grep -v '^ *+' conftest.er1
>conftest.err
3555 cat conftest.err
>&5
3556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3557 (exit $ac_status); } &&
3558 { ac_try
='test -z "$ac_c_werror_flag"
3559 || test ! -s conftest.err'
3560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3564 (exit $ac_status); }; } &&
3565 { ac_try
='test -s conftest.$ac_objext'
3566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3570 (exit $ac_status); }; }; then
3571 for ac_declaration
in \
3573 'extern "C" void std::exit (int) throw (); using std::exit;' \
3574 'extern "C" void std::exit (int); using std::exit;' \
3575 'extern "C" void exit (int) throw ();' \
3576 'extern "C" void exit (int);' \
3579 cat >conftest.
$ac_ext <<_ACEOF
3582 cat confdefs.h
>>conftest.
$ac_ext
3583 cat >>conftest.
$ac_ext <<_ACEOF
3584 /* end confdefs.h. */
3595 rm -f conftest.
$ac_objext
3596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3597 (eval $ac_compile) 2>conftest.er1
3599 grep -v '^ *+' conftest.er1
>conftest.err
3601 cat conftest.err
>&5
3602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3603 (exit $ac_status); } &&
3604 { ac_try
='test -z "$ac_c_werror_flag"
3605 || test ! -s conftest.err'
3606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3610 (exit $ac_status); }; } &&
3611 { ac_try
='test -s conftest.$ac_objext'
3612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3616 (exit $ac_status); }; }; then
3619 echo "$as_me: failed program was:" >&5
3620 sed 's/^/| /' conftest.
$ac_ext >&5
3624 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3625 cat >conftest.
$ac_ext <<_ACEOF
3628 cat confdefs.h
>>conftest.
$ac_ext
3629 cat >>conftest.
$ac_ext <<_ACEOF
3630 /* end confdefs.h. */
3640 rm -f conftest.
$ac_objext
3641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3642 (eval $ac_compile) 2>conftest.er1
3644 grep -v '^ *+' conftest.er1
>conftest.err
3646 cat conftest.err
>&5
3647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3648 (exit $ac_status); } &&
3649 { ac_try
='test -z "$ac_c_werror_flag"
3650 || test ! -s conftest.err'
3651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3655 (exit $ac_status); }; } &&
3656 { ac_try
='test -s conftest.$ac_objext'
3657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3661 (exit $ac_status); }; }; then
3664 echo "$as_me: failed program was:" >&5
3665 sed 's/^/| /' conftest.
$ac_ext >&5
3668 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3671 if test -n "$ac_declaration"; then
3672 echo '#ifdef __cplusplus' >>confdefs.h
3673 echo $ac_declaration >>confdefs.h
3674 echo '#endif' >>confdefs.h
3678 echo "$as_me: failed program was:" >&5
3679 sed 's/^/| /' conftest.
$ac_ext >&5
3682 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3684 ac_cpp
='$CPP $CPPFLAGS'
3685 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3686 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3687 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3690 ac_cpp
='$CXXCPP $CPPFLAGS'
3691 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3692 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3693 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3694 if test -n "$ac_tool_prefix"; then
3695 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
3697 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3698 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3699 echo "$as_me:$LINENO: checking for $ac_word" >&5
3700 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3701 if test "${ac_cv_prog_CXX+set}" = set; then
3702 echo $ECHO_N "(cached) $ECHO_C" >&6
3704 if test -n "$CXX"; then
3705 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
3707 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3711 test -z "$as_dir" && as_dir
=.
3712 for ac_exec_ext
in '' $ac_executable_extensions; do
3713 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3714 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
3715 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3724 if test -n "$CXX"; then
3725 echo "$as_me:$LINENO: result: $CXX" >&5
3726 echo "${ECHO_T}$CXX" >&6
3728 echo "$as_me:$LINENO: result: no" >&5
3729 echo "${ECHO_T}no" >&6
3732 test -n "$CXX" && break
3735 if test -z "$CXX"; then
3737 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
3739 # Extract the first word of "$ac_prog", so it can be a program name with args.
3740 set dummy
$ac_prog; ac_word
=$2
3741 echo "$as_me:$LINENO: checking for $ac_word" >&5
3742 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3743 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3744 echo $ECHO_N "(cached) $ECHO_C" >&6
3746 if test -n "$ac_ct_CXX"; then
3747 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
3749 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3753 test -z "$as_dir" && as_dir
=.
3754 for ac_exec_ext
in '' $ac_executable_extensions; do
3755 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3756 ac_cv_prog_ac_ct_CXX
="$ac_prog"
3757 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3765 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
3766 if test -n "$ac_ct_CXX"; then
3767 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3768 echo "${ECHO_T}$ac_ct_CXX" >&6
3770 echo "$as_me:$LINENO: result: no" >&5
3771 echo "${ECHO_T}no" >&6
3774 test -n "$ac_ct_CXX" && break
3776 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
3782 # Provide some information about the compiler.
3783 echo "$as_me:$LINENO:" \
3784 "checking for C++ compiler version" >&5
3785 ac_compiler
=`set X $ac_compile; echo $2`
3786 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3787 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
3789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3790 (exit $ac_status); }
3791 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3792 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
3794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3795 (exit $ac_status); }
3796 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3797 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
3799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3800 (exit $ac_status); }
3802 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3803 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3804 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3805 echo $ECHO_N "(cached) $ECHO_C" >&6
3807 cat >conftest.
$ac_ext <<_ACEOF
3810 cat confdefs.h
>>conftest.
$ac_ext
3811 cat >>conftest.
$ac_ext <<_ACEOF
3812 /* end confdefs.h. */
3825 rm -f conftest.
$ac_objext
3826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3827 (eval $ac_compile) 2>conftest.er1
3829 grep -v '^ *+' conftest.er1
>conftest.err
3831 cat conftest.err
>&5
3832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3833 (exit $ac_status); } &&
3834 { ac_try
='test -z "$ac_cxx_werror_flag"
3835 || test ! -s conftest.err'
3836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3840 (exit $ac_status); }; } &&
3841 { ac_try
='test -s conftest.$ac_objext'
3842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3846 (exit $ac_status); }; }; then
3849 echo "$as_me: failed program was:" >&5
3850 sed 's/^/| /' conftest.
$ac_ext >&5
3854 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3855 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3858 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3859 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3860 GXX
=`test $ac_compiler_gnu = yes && echo yes`
3861 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3862 ac_save_CXXFLAGS
=$CXXFLAGS
3864 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3865 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3866 if test "${ac_cv_prog_cxx_g+set}" = set; then
3867 echo $ECHO_N "(cached) $ECHO_C" >&6
3869 cat >conftest.
$ac_ext <<_ACEOF
3872 cat confdefs.h
>>conftest.
$ac_ext
3873 cat >>conftest.
$ac_ext <<_ACEOF
3874 /* end confdefs.h. */
3884 rm -f conftest.
$ac_objext
3885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3886 (eval $ac_compile) 2>conftest.er1
3888 grep -v '^ *+' conftest.er1
>conftest.err
3890 cat conftest.err
>&5
3891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3892 (exit $ac_status); } &&
3893 { ac_try
='test -z "$ac_cxx_werror_flag"
3894 || test ! -s conftest.err'
3895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3899 (exit $ac_status); }; } &&
3900 { ac_try
='test -s conftest.$ac_objext'
3901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3905 (exit $ac_status); }; }; then
3906 ac_cv_prog_cxx_g
=yes
3908 echo "$as_me: failed program was:" >&5
3909 sed 's/^/| /' conftest.
$ac_ext >&5
3913 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3915 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3916 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3917 if test "$ac_test_CXXFLAGS" = set; then
3918 CXXFLAGS
=$ac_save_CXXFLAGS
3919 elif test $ac_cv_prog_cxx_g = yes; then
3920 if test "$GXX" = yes; then
3926 if test "$GXX" = yes; then
3932 for ac_declaration
in \
3934 'extern "C" void std::exit (int) throw (); using std::exit;' \
3935 'extern "C" void std::exit (int); using std::exit;' \
3936 'extern "C" void exit (int) throw ();' \
3937 'extern "C" void exit (int);' \
3940 cat >conftest.
$ac_ext <<_ACEOF
3943 cat confdefs.h
>>conftest.
$ac_ext
3944 cat >>conftest.
$ac_ext <<_ACEOF
3945 /* end confdefs.h. */
3956 rm -f conftest.
$ac_objext
3957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3958 (eval $ac_compile) 2>conftest.er1
3960 grep -v '^ *+' conftest.er1
>conftest.err
3962 cat conftest.err
>&5
3963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3964 (exit $ac_status); } &&
3965 { ac_try
='test -z "$ac_cxx_werror_flag"
3966 || test ! -s conftest.err'
3967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3971 (exit $ac_status); }; } &&
3972 { ac_try
='test -s conftest.$ac_objext'
3973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3977 (exit $ac_status); }; }; then
3980 echo "$as_me: failed program was:" >&5
3981 sed 's/^/| /' conftest.
$ac_ext >&5
3985 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3986 cat >conftest.
$ac_ext <<_ACEOF
3989 cat confdefs.h
>>conftest.
$ac_ext
3990 cat >>conftest.
$ac_ext <<_ACEOF
3991 /* end confdefs.h. */
4001 rm -f conftest.
$ac_objext
4002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4003 (eval $ac_compile) 2>conftest.er1
4005 grep -v '^ *+' conftest.er1
>conftest.err
4007 cat conftest.err
>&5
4008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4009 (exit $ac_status); } &&
4010 { ac_try
='test -z "$ac_cxx_werror_flag"
4011 || test ! -s conftest.err'
4012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4016 (exit $ac_status); }; } &&
4017 { ac_try
='test -s conftest.$ac_objext'
4018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4022 (exit $ac_status); }; }; then
4025 echo "$as_me: failed program was:" >&5
4026 sed 's/^/| /' conftest.
$ac_ext >&5
4029 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4032 if test -n "$ac_declaration"; then
4033 echo '#ifdef __cplusplus' >>confdefs.h
4034 echo $ac_declaration >>confdefs.h
4035 echo '#endif' >>confdefs.h
4039 ac_cpp
='$CPP $CPPFLAGS'
4040 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4041 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4042 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4045 # We must set the default linker to the linker used by gcc for the correct
4046 # operation of libtool. If LD is not defined and we are using gcc, try to
4047 # set the LD default to the ld used by gcc.
4048 if test -z "$LD"; then
4049 if test "$GCC" = yes; then
4052 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
4054 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1` ;;
4056 case $gcc_prog_ld in
4057 # Accept absolute paths.
4058 [\\/]* |
[A-Za-z
]:[\\/]*)
4059 LD
="$gcc_prog_ld" ;;
4067 if test -n "$ac_tool_prefix"; then
4068 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
4069 set dummy
${ac_tool_prefix}gnatbind
; ac_word
=$2
4070 echo "$as_me:$LINENO: checking for $ac_word" >&5
4071 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4072 if test "${ac_cv_prog_GNATBIND+set}" = set; then
4073 echo $ECHO_N "(cached) $ECHO_C" >&6
4075 if test -n "$GNATBIND"; then
4076 ac_cv_prog_GNATBIND
="$GNATBIND" # Let the user override the test.
4078 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4082 test -z "$as_dir" && as_dir
=.
4083 for ac_exec_ext
in '' $ac_executable_extensions; do
4084 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4085 ac_cv_prog_GNATBIND
="${ac_tool_prefix}gnatbind"
4086 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4094 GNATBIND
=$ac_cv_prog_GNATBIND
4095 if test -n "$GNATBIND"; then
4096 echo "$as_me:$LINENO: result: $GNATBIND" >&5
4097 echo "${ECHO_T}$GNATBIND" >&6
4099 echo "$as_me:$LINENO: result: no" >&5
4100 echo "${ECHO_T}no" >&6
4104 if test -z "$ac_cv_prog_GNATBIND"; then
4105 ac_ct_GNATBIND
=$GNATBIND
4106 # Extract the first word of "gnatbind", so it can be a program name with args.
4107 set dummy gnatbind
; ac_word
=$2
4108 echo "$as_me:$LINENO: checking for $ac_word" >&5
4109 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4110 if test "${ac_cv_prog_ac_ct_GNATBIND+set}" = set; then
4111 echo $ECHO_N "(cached) $ECHO_C" >&6
4113 if test -n "$ac_ct_GNATBIND"; then
4114 ac_cv_prog_ac_ct_GNATBIND
="$ac_ct_GNATBIND" # Let the user override the test.
4116 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4120 test -z "$as_dir" && as_dir
=.
4121 for ac_exec_ext
in '' $ac_executable_extensions; do
4122 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4123 ac_cv_prog_ac_ct_GNATBIND
="gnatbind"
4124 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4130 test -z "$ac_cv_prog_ac_ct_GNATBIND" && ac_cv_prog_ac_ct_GNATBIND
="no"
4133 ac_ct_GNATBIND
=$ac_cv_prog_ac_ct_GNATBIND
4134 if test -n "$ac_ct_GNATBIND"; then
4135 echo "$as_me:$LINENO: result: $ac_ct_GNATBIND" >&5
4136 echo "${ECHO_T}$ac_ct_GNATBIND" >&6
4138 echo "$as_me:$LINENO: result: no" >&5
4139 echo "${ECHO_T}no" >&6
4142 GNATBIND
=$ac_ct_GNATBIND
4144 GNATBIND
="$ac_cv_prog_GNATBIND"
4147 if test -n "$ac_tool_prefix"; then
4148 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
4149 set dummy
${ac_tool_prefix}gnatmake
; ac_word
=$2
4150 echo "$as_me:$LINENO: checking for $ac_word" >&5
4151 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4152 if test "${ac_cv_prog_GNATMAKE+set}" = set; then
4153 echo $ECHO_N "(cached) $ECHO_C" >&6
4155 if test -n "$GNATMAKE"; then
4156 ac_cv_prog_GNATMAKE
="$GNATMAKE" # Let the user override the test.
4158 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4162 test -z "$as_dir" && as_dir
=.
4163 for ac_exec_ext
in '' $ac_executable_extensions; do
4164 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4165 ac_cv_prog_GNATMAKE
="${ac_tool_prefix}gnatmake"
4166 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4174 GNATMAKE
=$ac_cv_prog_GNATMAKE
4175 if test -n "$GNATMAKE"; then
4176 echo "$as_me:$LINENO: result: $GNATMAKE" >&5
4177 echo "${ECHO_T}$GNATMAKE" >&6
4179 echo "$as_me:$LINENO: result: no" >&5
4180 echo "${ECHO_T}no" >&6
4184 if test -z "$ac_cv_prog_GNATMAKE"; then
4185 ac_ct_GNATMAKE
=$GNATMAKE
4186 # Extract the first word of "gnatmake", so it can be a program name with args.
4187 set dummy gnatmake
; ac_word
=$2
4188 echo "$as_me:$LINENO: checking for $ac_word" >&5
4189 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4190 if test "${ac_cv_prog_ac_ct_GNATMAKE+set}" = set; then
4191 echo $ECHO_N "(cached) $ECHO_C" >&6
4193 if test -n "$ac_ct_GNATMAKE"; then
4194 ac_cv_prog_ac_ct_GNATMAKE
="$ac_ct_GNATMAKE" # Let the user override the test.
4196 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4200 test -z "$as_dir" && as_dir
=.
4201 for ac_exec_ext
in '' $ac_executable_extensions; do
4202 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4203 ac_cv_prog_ac_ct_GNATMAKE
="gnatmake"
4204 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4210 test -z "$ac_cv_prog_ac_ct_GNATMAKE" && ac_cv_prog_ac_ct_GNATMAKE
="no"
4213 ac_ct_GNATMAKE
=$ac_cv_prog_ac_ct_GNATMAKE
4214 if test -n "$ac_ct_GNATMAKE"; then
4215 echo "$as_me:$LINENO: result: $ac_ct_GNATMAKE" >&5
4216 echo "${ECHO_T}$ac_ct_GNATMAKE" >&6
4218 echo "$as_me:$LINENO: result: no" >&5
4219 echo "${ECHO_T}no" >&6
4222 GNATMAKE
=$ac_ct_GNATMAKE
4224 GNATMAKE
="$ac_cv_prog_GNATMAKE"
4227 echo "$as_me:$LINENO: checking whether compiler driver understands Ada" >&5
4228 echo $ECHO_N "checking whether compiler driver understands Ada... $ECHO_C" >&6
4229 if test "${acx_cv_cc_gcc_supports_ada+set}" = set; then
4230 echo $ECHO_N "(cached) $ECHO_C" >&6
4232 cat >conftest.adb
<<EOF
4233 procedure conftest is begin null; end conftest;
4235 acx_cv_cc_gcc_supports_ada
=no
4236 # There is a bug in old released versions of GCC which causes the
4237 # driver to exit successfully when the appropriate language module
4238 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
4239 # Therefore we must check for the error message as well as an
4240 # unsuccessful exit.
4241 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
4242 # given a .adb file, but produce no object file. So we must check
4243 # if an object file was really produced to guard against this.
4244 errors
=`(${CC} -c conftest.adb) 2>&1 || echo failure`
4245 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
4246 acx_cv_cc_gcc_supports_ada
=yes
4250 echo "$as_me:$LINENO: result: $acx_cv_cc_gcc_supports_ada" >&5
4251 echo "${ECHO_T}$acx_cv_cc_gcc_supports_ada" >&6
4253 if test x
$GNATBIND != xno
&& test x
$GNATMAKE != xno
&& test x
$acx_cv_cc_gcc_supports_ada != xno
; then
4259 echo "$as_me:$LINENO: checking how to compare bootstrapped objects" >&5
4260 echo $ECHO_N "checking how to compare bootstrapped objects... $ECHO_C" >&6
4261 if test "${gcc_cv_prog_cmp_skip+set}" = set; then
4262 echo $ECHO_N "(cached) $ECHO_C" >&6
4266 gcc_cv_prog_cmp_skip
='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
4267 if cmp t1 t2
2 2 > /dev
/null
2>&1; then
4268 if cmp t1 t2
1 1 > /dev
/null
2>&1; then
4271 gcc_cv_prog_cmp_skip
='cmp $$f1 $$f2 16 16'
4274 if cmp --ignore-initial=2 t1 t2
> /dev
/null
2>&1; then
4275 if cmp --ignore-initial=1 t1 t2
> /dev
/null
2>&1; then
4278 gcc_cv_prog_cmp_skip
='cmp --ignore-initial=16 $$f1 $$f2'
4284 echo "$as_me:$LINENO: result: $gcc_cv_prog_cmp_skip" >&5
4285 echo "${ECHO_T}$gcc_cv_prog_cmp_skip" >&6
4286 do_compare
="$gcc_cv_prog_cmp_skip"
4290 # Check for GMP and MPFR
4291 gmplibs
="-lmpfr -lgmp"
4295 # Specify a location for mpfr
4296 # check for this first so it ends up on the link line before gmp.
4298 # Check whether --with-mpfr-dir or --without-mpfr-dir was given.
4299 if test "${with_mpfr_dir+set}" = set; then
4300 withval
="$with_mpfr_dir"
4301 { { echo "$as_me:$LINENO: error: The --with-mpfr-dir=PATH option has been removed.
4302 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" >&5
4303 echo "$as_me: error: The --with-mpfr-dir=PATH option has been removed.
4304 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" >&2;}
4305 { (exit 1); exit 1; }; }
4309 # Check whether --with-mpfr or --without-mpfr was given.
4310 if test "${with_mpfr+set}" = set; then
4311 withval
="$with_mpfr"
4315 # Check whether --with-mpfr_include or --without-mpfr_include was given.
4316 if test "${with_mpfr_include+set}" = set; then
4317 withval
="$with_mpfr_include"
4321 # Check whether --with-mpfr_lib or --without-mpfr_lib was given.
4322 if test "${with_mpfr_lib+set}" = set; then
4323 withval
="$with_mpfr_lib"
4327 if test "x$with_mpfr" != x
; then
4328 gmplibs
="-L$with_mpfr/lib $gmplibs"
4329 gmpinc
="-I$with_mpfr/include"
4331 if test "x$with_mpfr_include" != x
; then
4332 gmpinc
="-I$with_mpfr_include"
4334 if test "x$with_mpfr_lib" != x
; then
4335 gmplibs
="-L$with_mpfr_lib $gmplibs"
4337 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x
&& test -d ${srcdir}/mpfr
; then
4338 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/.libs -L$$r/$(HOST_SUBDIR)/mpfr/_libs '"$gmplibs"
4339 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr -I$$s/mpfr '"$gmpinc"
4340 # Do not test the mpfr version. Assume that it is sufficient, since
4341 # it is in the source tree, and the library has not been built yet
4342 # but it would be included on the link line in the version check below
4343 # hence making the test fail.
4347 # Specify a location for gmp
4349 # Check whether --with-gmp-dir or --without-gmp-dir was given.
4350 if test "${with_gmp_dir+set}" = set; then
4351 withval
="$with_gmp_dir"
4352 { { echo "$as_me:$LINENO: error: The --with-gmp-dir=PATH option has been removed.
4353 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" >&5
4354 echo "$as_me: error: The --with-gmp-dir=PATH option has been removed.
4355 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" >&2;}
4356 { (exit 1); exit 1; }; }
4360 # Check whether --with-gmp or --without-gmp was given.
4361 if test "${with_gmp+set}" = set; then
4366 # Check whether --with-gmp_include or --without-gmp_include was given.
4367 if test "${with_gmp_include+set}" = set; then
4368 withval
="$with_gmp_include"
4372 # Check whether --with-gmp_lib or --without-gmp_lib was given.
4373 if test "${with_gmp_lib+set}" = set; then
4374 withval
="$with_gmp_lib"
4379 if test "x$with_gmp" != x
; then
4380 gmplibs
="-L$with_gmp/lib $gmplibs"
4381 gmpinc
="-I$with_gmp/include $gmpinc"
4383 if test "x$with_gmp_include" != x
; then
4384 gmpinc
="-I$with_gmp_include $gmpinc"
4386 if test "x$with_gmp_lib" != x
; then
4387 gmplibs
="-L$with_gmp_lib $gmplibs"
4389 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x
&& test -d ${srcdir}/gmp
; then
4390 gmplibs
='-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/gmp/_libs '"$gmplibs"
4391 gmpinc
='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
4392 # Do not test the gmp version. Assume that it is sufficient, since
4393 # it is in the source tree, and the library has not been built yet
4394 # but it would be included on the link line in the version check below
4395 # hence making the test fail.
4399 if test -d ${srcdir}/gcc
&& test "x$have_gmp" = xno
; then
4401 saved_CFLAGS
="$CFLAGS"
4402 CFLAGS
="$CFLAGS $gmpinc"
4403 # Check GMP actually works
4404 echo "$as_me:$LINENO: checking for correct version of gmp.h" >&5
4405 echo $ECHO_N "checking for correct version of gmp.h... $ECHO_C" >&6
4407 cat >conftest.
$ac_ext <<_ACEOF
4410 cat confdefs.h
>>conftest.
$ac_ext
4411 cat >>conftest.
$ac_ext <<_ACEOF
4412 /* end confdefs.h. */
4418 #if __GNU_MP_VERSION < 4 || (__GNU_MP_VERSION == 4 && __GNU_MP_VERSION_MINOR < 1)
4426 rm -f conftest.
$ac_objext
4427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4428 (eval $ac_compile) 2>conftest.er1
4430 grep -v '^ *+' conftest.er1
>conftest.err
4432 cat conftest.err
>&5
4433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4434 (exit $ac_status); } &&
4435 { ac_try
='test -z "$ac_c_werror_flag"
4436 || test ! -s conftest.err'
4437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4441 (exit $ac_status); }; } &&
4442 { ac_try
='test -s conftest.$ac_objext'
4443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4447 (exit $ac_status); }; }; then
4448 echo "$as_me:$LINENO: result: yes" >&5
4449 echo "${ECHO_T}yes" >&6
4451 echo "$as_me: failed program was:" >&5
4452 sed 's/^/| /' conftest.
$ac_ext >&5
4454 echo "$as_me:$LINENO: result: no" >&5
4455 echo "${ECHO_T}no" >&6; have_gmp
=no
4457 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4459 if test x
"$have_gmp" = xyes
; then
4461 LIBS
="$LIBS $gmplibs"
4462 echo "$as_me:$LINENO: checking for correct version of mpfr.h" >&5
4463 echo $ECHO_N "checking for correct version of mpfr.h... $ECHO_C" >&6
4464 cat >conftest.
$ac_ext <<_ACEOF
4467 cat confdefs.h
>>conftest.
$ac_ext
4468 cat >>conftest.
$ac_ext <<_ACEOF
4469 /* end confdefs.h. */
4476 #if MPFR_VERSION < MPFR_VERSION_NUM(2,2,0)
4479 mpfr_t n; mpfr_init(n);
4480 mpfr_t x; mpfr_init(x);
4482 mpfr_atan2 (n, n, x, GMP_RNDN);
4483 mpfr_erfc (n, x, GMP_RNDN);
4484 mpfr_subnormalize (x, t, GMP_RNDN);
4490 rm -f conftest.
$ac_objext conftest
$ac_exeext
4491 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4492 (eval $ac_link) 2>conftest.er1
4494 grep -v '^ *+' conftest.er1
>conftest.err
4496 cat conftest.err
>&5
4497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4498 (exit $ac_status); } &&
4499 { ac_try
='test -z "$ac_c_werror_flag"
4500 || test ! -s conftest.err'
4501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4505 (exit $ac_status); }; } &&
4506 { ac_try
='test -s conftest$ac_exeext'
4507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4511 (exit $ac_status); }; }; then
4512 cat >conftest.
$ac_ext <<_ACEOF
4515 cat confdefs.h
>>conftest.
$ac_ext
4516 cat >>conftest.
$ac_ext <<_ACEOF
4517 /* end confdefs.h. */
4524 #if MPFR_VERSION < MPFR_VERSION_NUM(2,2,1)
4527 mpfr_t n; mpfr_init(n);
4533 rm -f conftest.
$ac_objext conftest
$ac_exeext
4534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4535 (eval $ac_link) 2>conftest.er1
4537 grep -v '^ *+' conftest.er1
>conftest.err
4539 cat conftest.err
>&5
4540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4541 (exit $ac_status); } &&
4542 { ac_try
='test -z "$ac_c_werror_flag"
4543 || test ! -s conftest.err'
4544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4548 (exit $ac_status); }; } &&
4549 { ac_try
='test -s conftest$ac_exeext'
4550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4554 (exit $ac_status); }; }; then
4555 echo "$as_me:$LINENO: result: yes" >&5
4556 echo "${ECHO_T}yes" >&6
4558 echo "$as_me: failed program was:" >&5
4559 sed 's/^/| /' conftest.
$ac_ext >&5
4561 echo "$as_me:$LINENO: result: buggy but acceptable" >&5
4562 echo "${ECHO_T}buggy but acceptable" >&6
4564 rm -f conftest.err conftest.
$ac_objext \
4565 conftest
$ac_exeext conftest.
$ac_ext
4567 echo "$as_me: failed program was:" >&5
4568 sed 's/^/| /' conftest.
$ac_ext >&5
4570 echo "$as_me:$LINENO: result: no" >&5
4571 echo "${ECHO_T}no" >&6; have_gmp
=no
4573 rm -f conftest.err conftest.
$ac_objext \
4574 conftest
$ac_exeext conftest.
$ac_ext
4577 CFLAGS
="$saved_CFLAGS"
4579 if test x
$have_gmp != xyes
; then
4580 { { echo "$as_me:$LINENO: error: Building GCC requires GMP 4.1+ and MPFR 2.2.1+.
4581 Try the --with-gmp and/or --with-mpfr options to specify their locations.
4582 Copies of these libraries' source code can be found at their respective
4583 hosting sites as well as at ftp://gcc.gnu.org/pub/gcc/infrastructure/.
4584 See also http://gcc.gnu.org/install/prerequisites.html for additional info.
4585 If you obtained GMP and/or MPFR from a vendor distribution package, make
4586 sure that you have installed both the libraries and the header files.
4587 They may be located in separate packages." >&5
4588 echo "$as_me: error: Building GCC requires GMP 4.1+ and MPFR 2.2.1+.
4589 Try the --with-gmp and/or --with-mpfr options to specify their locations.
4590 Copies of these libraries' source code can be found at their respective
4591 hosting sites as well as at ftp://gcc.gnu.org/pub/gcc/infrastructure/.
4592 See also http://gcc.gnu.org/install/prerequisites.html for additional info.
4593 If you obtained GMP and/or MPFR from a vendor distribution package, make
4594 sure that you have installed both the libraries and the header files.
4595 They may be located in separate packages." >&2;}
4596 { (exit 1); exit 1; }; }
4600 # Flags needed for both GMP and/or MPFR
4604 # By default, C is the only stage 1 language.
4605 stage1_languages
=,c
,
4607 # Figure out what language subdirectories are present.
4608 # Look if the user specified --enable-languages="..."; if not, use
4609 # the environment variable $LANGUAGES if defined. $LANGUAGES might
4611 # NB: embedded tabs in this IF block -- do not untabify
4612 if test -d ${srcdir}/gcc
; then
4613 if test x
"${enable_languages+set}" != xset
; then
4614 if test x
"${LANGUAGES+set}" = xset
; then
4615 enable_languages
="${LANGUAGES}"
4616 echo configure.
in: warning
: setting LANGUAGES is deprecated
, use
--enable-languages instead
1>&2
4618 enable_languages
=all
4621 if test x
"${enable_languages}" = x ||
4622 test x
"${enable_languages}" = xyes
;
4624 echo configure.
in: --enable-languages needs
at least one language argument
1>&2
4628 enable_languages
=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
4630 # 'f95' is the old name for the 'fortran' language. We issue a warning
4631 # and make the substitution.
4632 case ,${enable_languages}, in
4634 echo configure.
in: warning
: 'f95' as language name is deprecated
, use
'fortran' instead
1>&2
4635 enable_languages
=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
4639 # First scan to see if an enabled language requires some other language.
4640 # We assume that a given config-lang.in will list all the language
4641 # front ends it requires, even if some are required indirectly.
4642 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
4643 case ${lang_frag} in
4645 # The odd quoting in the next line works around
4646 # an apparent bug in bash 1.12 on linux.
4647 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
4649 # From the config-lang.in, get $language, $lang_requires
4653 for other
in ${lang_requires} ; do
4654 case ,${enable_languages}, in
4658 echo " \`$other' language required by \`$language'; enabling" 1>&2
4659 enable_languages
="${enable_languages},${other}"
4667 new_enable_languages
=,c
,
4668 missing_languages
=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
4669 potential_languages
=,c
,
4671 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
4672 case ${lang_frag} in
4674 # The odd quoting in the next line works around
4675 # an apparent bug in bash 1.12 on linux.
4676 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
4678 # From the config-lang.in, get $language, $target_libs,
4679 # $lang_dirs, $boot_language, and $build_by_default
4685 build_by_default
=yes
4687 if test x
${language} = x
; then
4688 echo "${lang_frag} doesn't set \$language." 1>&2
4692 case ,${enable_languages}, in
4694 # Language was explicitly selected; include it.
4698 # 'all' was selected, select it if it is a default language
4699 add_this_lang
=${build_by_default}
4706 # Disable languages that need other directories if these aren't available.
4707 for i
in $subdir_requires; do
4708 test -f "$srcdir/gcc/$i/config-lang.in" && continue
4709 case ,${enable_languages}, in
4711 # Specifically requested language; tell them.
4712 { { echo "$as_me:$LINENO: error: The gcc/$i directory contains parts of $language but is missing" >&5
4713 echo "$as_me: error: The gcc/$i directory contains parts of $language but is missing" >&2;}
4714 { (exit 1); exit 1; }; }
4718 add_this_lang
=unsupported
4723 # Disable Ada if no preexisting GNAT is available.
4724 case ,${enable_languages},:${language}:${have_gnat} in
4725 *,${language},*:ada
:no
)
4726 # Specifically requested language; tell them.
4727 { { echo "$as_me:$LINENO: error: GNAT is required to build $language" >&5
4728 echo "$as_me: error: GNAT is required to build $language" >&2;}
4729 { (exit 1); exit 1; }; }
4733 add_this_lang
=unsupported
4737 # Disable a language that is unsupported by the target.
4738 case " $unsupported_languages " in
4740 add_this_lang
=unsupported
4744 case $add_this_lang in
4746 # Remove language-dependent dirs.
4747 eval noconfigdirs
='"$noconfigdirs "'\"$target_libs $lang_dirs\"
4750 # Remove language-dependent dirs; still show language as supported.
4751 eval noconfigdirs
='"$noconfigdirs "'\"$target_libs $lang_dirs\"
4752 potential_languages
="${potential_languages}${language},"
4755 new_enable_languages
="${new_enable_languages}${language},"
4756 potential_languages
="${potential_languages}${language},"
4757 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
4758 case ${boot_language} in
4760 # Add to (comma-separated) list of stage 1 languages.
4761 stage1_languages
="${stage1_languages}${language},"
4770 # Check whether --enable-stage1-languages or --disable-stage1-languages was given.
4771 if test "${enable_stage1_languages+set}" = set; then
4772 enableval
="$enable_stage1_languages"
4773 case ,${enable_stage1_languages}, in
4775 # Set it to something that will have no effect in the loop below
4776 enable_stage1_languages
=c
;;
4778 enable_stage1_languages
=`echo $new_enable_languages | \
4779 sed -e "s/^,//" -e "s/,$//" ` ;;
4781 enable_stage1_languages
=`echo ,$enable_stage1_languages, | \
4782 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
4785 # Add "good" languages from enable_stage1_languages to stage1_languages,
4786 # while "bad" languages go in missing_languages. Leave no duplicates.
4787 for i
in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
4788 case $potential_languages in
4790 case $stage1_languages in
4792 *) stage1_languages
="$stage1_languages$i," ;;
4795 case $missing_languages in
4797 *) missing_languages
="$missing_languages$i," ;;
4803 # Remove leading/trailing commas that were added for simplicity
4804 potential_languages
=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
4805 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
4806 stage1_languages
=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
4807 new_enable_languages
=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
4809 if test "x$missing_languages" != x
; then
4810 { { echo "$as_me:$LINENO: error:
4811 The following requested languages could not be built: ${missing_languages}
4812 Supported languages are: ${potential_languages}" >&5
4813 echo "$as_me: error:
4814 The following requested languages could not be built: ${missing_languages}
4815 Supported languages are: ${potential_languages}" >&2;}
4816 { (exit 1); exit 1; }; }
4818 if test "x$new_enable_languages" != "x$enable_languages"; then
4819 echo The following languages will be built
: ${new_enable_languages}
4820 enable_languages
="$new_enable_languages"
4824 ac_configure_args
=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
4827 # Handle --disable-<component> generically.
4828 for dir
in $configdirs $build_configdirs $target_configdirs ; do
4829 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
4830 if eval test x\
${enable_${dirname}} "=" xno
; then
4831 noconfigdirs
="$noconfigdirs $dir"
4835 # Check for Boehm's garbage collector
4836 # Check whether --enable-objc-gc or --disable-objc-gc was given.
4837 if test "${enable_objc_gc+set}" = set; then
4838 enableval
="$enable_objc_gc"
4839 case ,${enable_languages},:${enable_objc_gc}:${noconfigdirs} in
4840 *,objc
,*:*:yes:*target-boehm-gc
*)
4841 { { echo "$as_me:$LINENO: error: Boehm's garbage collector was requested yet not supported in this configuration" >&5
4842 echo "$as_me: error: Boehm's garbage collector was requested yet not supported in this configuration" >&2;}
4843 { (exit 1); exit 1; }; }
4848 # Make sure we only build Boehm's garbage collector if required.
4849 case ,${enable_languages},:${enable_objc_gc} in
4851 # Keep target-boehm-gc if requested for Objective-C.
4854 # Otherwise remove target-boehm-gc depending on target-libjava.
4855 if echo " ${noconfigdirs} " |
grep "target-libjava" >/dev
/null
2>&1; then
4856 noconfigdirs
="$noconfigdirs target-boehm-gc"
4861 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
4862 # $build_configdirs and $target_configdirs.
4863 # If we have the source for $noconfigdirs entries, add them to $notsupp.
4866 for dir
in .
$skipdirs $noconfigdirs ; do
4867 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
4868 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
4869 configdirs
=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
4870 if test -r $srcdir/$dirname/configure
; then
4871 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
4874 notsupp
="$notsupp $dir"
4878 if test $dir != .
&& echo " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
4879 build_configdirs
=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
4880 if test -r $srcdir/$dirname/configure
; then
4881 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
4884 notsupp
="$notsupp $dir"
4888 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
4889 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
4890 if test -r $srcdir/$dirname/configure
; then
4891 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
4894 notsupp
="$notsupp $dir"
4900 # Sometimes the tools are distributed with libiberty but with no other
4901 # libraries. In that case, we don't want to build target-libiberty.
4902 # Don't let libgcc imply libiberty either.
4903 if test -n "${target_configdirs}" ; then
4906 for i
in `echo ${target_configdirs} | sed -e s/target-//g` ; do
4907 if test "$i" = "libgcc"; then
4908 libgcc
=target-libgcc
4909 elif test "$i" != "libiberty" ; then
4910 if test -r $srcdir/$i/configure
; then
4916 if test -z "${others}" ; then
4917 target_configdirs
=$libgcc
4921 # Quietly strip out all directories which aren't configurable in this tree.
4922 # This relies on all configurable subdirectories being autoconfiscated, which
4924 build_configdirs_all
="$build_configdirs"
4926 for i
in ${build_configdirs_all} ; do
4927 j
=`echo $i | sed -e s/build-//g`
4928 if test -f ${srcdir}/$j/configure
; then
4929 build_configdirs
="${build_configdirs} $i"
4933 configdirs_all
="$configdirs"
4935 for i
in ${configdirs_all} ; do
4936 if test -f ${srcdir}/$i/configure
; then
4937 configdirs
="${configdirs} $i"
4941 target_configdirs_all
="$target_configdirs"
4943 for i
in ${target_configdirs_all} ; do
4944 j
=`echo $i | sed -e s/target-//g`
4945 if test -f ${srcdir}/$j/configure
; then
4946 target_configdirs
="${target_configdirs} $i"
4950 # Produce a warning message for the subdirs we can't configure.
4951 # This isn't especially interesting in the Cygnus tree, but in the individual
4952 # FSF releases, it's important to let people know when their machine isn't
4953 # supported by the one or two programs in a package.
4955 if test -n "${notsupp}" && test -z "${norecursion}" ; then
4956 # If $appdirs is non-empty, at least one of those directories must still
4957 # be configured, or we error out. (E.g., if the gas release supports a
4958 # specified target in some subdirs but not the gas subdir, we shouldn't
4959 # pretend that all is well.)
4960 if test -n "$appdirs" ; then
4961 for dir
in $appdirs ; do
4962 if test -r $dir/Makefile.
in ; then
4963 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
4967 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
4973 if test -n "$appdirs" ; then
4974 echo "*** This configuration is not supported by this package." 1>&2
4978 # Okay, some application will build, or we don't care to check. Still
4979 # notify of subdirs not getting built.
4980 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
4981 echo " ${notsupp}" 1>&2
4982 echo " (Any other directories should still work fine.)" 1>&2
4990 # To find our prefix, in gcc_cv_tool_prefix.
4992 # The user is always right.
4993 if test "${PATH_SEPARATOR+set}" != set; then
4994 echo "#! /bin/sh" >conf$$.sh
4995 echo "exit 0" >>conf$$.sh
4997 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5007 if test "x$exec_prefix" = xNONE
; then
5008 if test "x$prefix" = xNONE
; then
5009 gcc_cv_tool_prefix
=$ac_default_prefix
5011 gcc_cv_tool_prefix
=$prefix
5014 gcc_cv_tool_prefix
=$exec_prefix
5017 # If there is no compiler in the tree, use the PATH only. In any
5018 # case, if there is no compiler in the tree nobody should use
5019 # AS_FOR_TARGET and LD_FOR_TARGET.
5020 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
5021 gcc_version
=`cat $srcdir/gcc/BASE-VER`
5022 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
5023 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
5024 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
5025 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
5026 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
5027 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
5032 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
5033 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
5041 # Check whether --with-build-sysroot or --without-build-sysroot was given.
5042 if test "${with_build_sysroot+set}" = set; then
5043 withval
="$with_build_sysroot"
5044 if test x
"$withval" != x
; then
5045 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
5048 SYSROOT_CFLAGS_FOR_TARGET
=
5052 # Handle --with-headers=XXX. If the value is not "yes", the contents of
5053 # the named directory are copied to $(tooldir)/sys-include.
5054 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
5055 if test x
${is_cross_compiler} = xno
; then
5056 echo 1>&2 '***' --with-headers is only supported when cross compiling
5059 if test x
"${with_headers}" != xyes
; then
5060 x
=${gcc_cv_tool_prefix}
5061 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
5065 # Handle --with-libs=XXX. If the value is not "yes", the contents of
5066 # the name directories are copied to $(tooldir)/lib. Multiple directories
5068 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
5069 if test x
${is_cross_compiler} = xno
; then
5070 echo 1>&2 '***' --with-libs is only supported when cross compiling
5073 if test x
"${with_libs}" != xyes
; then
5074 # Copy the libraries in reverse order, so that files in the first named
5075 # library override files in subsequent libraries.
5076 x
=${gcc_cv_tool_prefix}
5077 for l
in ${with_libs}; do
5078 copy_dirs
="$l $x/${target_noncanonical}/lib ${copy_dirs}"
5083 # Set with_gnu_as and with_gnu_ld as appropriate.
5085 # This is done by determining whether or not the appropriate directory
5086 # is available, and by checking whether or not specific configurations
5087 # have requested that this magic not happen.
5089 # The command line options always override the explicit settings in
5090 # configure.in, and the settings in configure.in override this magic.
5092 # If the default for a toolchain is to use GNU as and ld, and you don't
5093 # want to do that, then you should use the --without-gnu-as and
5094 # --without-gnu-ld options for the configure script.
5096 if test x
${use_gnu_as} = x
&&
5097 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
5099 extra_host_args
="$extra_host_args --with-gnu-as"
5102 if test x
${use_gnu_ld} = x
&&
5103 echo " ${configdirs} " |
grep " ld " > /dev
/null
2>&1 ; then
5105 extra_host_args
="$extra_host_args --with-gnu-ld"
5108 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
5109 # can detect this case.
5111 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
5113 extra_host_args
="$extra_host_args --with-newlib"
5116 # Handle ${copy_dirs}
5117 set fnord
${copy_dirs}
5119 while test $# != 0 ; do
5120 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
5123 echo Copying
$1 to
$2
5125 # Use the install script to create the directory and all required
5126 # parent directories.
5127 if test -d $2 ; then
5131 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
5134 # Copy the directory, assuming we have tar.
5135 # FIXME: Should we use B in the second tar? Not all systems support it.
5136 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
5138 # It is the responsibility of the user to correctly adjust all
5139 # symlinks. If somebody can figure out how to handle them correctly
5140 # here, feel free to add the code.
5147 # Determine a target-dependent exec_prefix that the installed
5148 # gcc will search in. Keep this list sorted by triplet, with
5149 # the *-*-osname triplets last.
5153 md_exec_prefix
=/gnu
/lib
/gcc-lib
5155 i3456786-pc-msdosdjgpp
*)
5156 md_exec_prefix
=/dev
/env
/DJDIR
/bin
5158 i3456786-
*-sco3.2v5
*)
5159 if test $with_gnu_as = yes; then
5160 md_exec_prefix
=/usr
/gnu
/bin
5162 md_exec_prefix
=/usr
/ccs
/bin
/elf
5167 powerpc-
*-chorusos* | \
5168 powerpc
*-*-eabi* | \
5169 powerpc
*-*-sysv* | \
5170 powerpc
*-*-kaos* | \
5172 md_exec_prefix
=/usr
/ccs
/bin
5177 md_exec_prefix
=/usr
/ccs
/bin
5192 md_exec_prefix
=/usr
/ccs
/bin
5196 extra_arflags_for_target
=
5197 extra_nmflags_for_target
=
5198 extra_ranlibflags_for_target
=
5199 target_makefile_frag
=/dev
/null
5202 target_makefile_frag
="config/mt-mep"
5205 target_makefile_frag
="config/mt-spu"
5208 target_makefile_frag
="config/mt-netware"
5210 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu)
5211 target_makefile_frag
="config/mt-gnu"
5213 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
5214 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
5215 # commands to handle both 32-bit and 64-bit objects. These flags are
5216 # harmless if we're using GNU nm or ar.
5217 extra_arflags_for_target
=" -X32_64"
5218 extra_nmflags_for_target
=" -B -X32_64"
5221 # ranlib from Darwin requires the -c flag to look at common symbols.
5222 extra_ranlibflags_for_target
=" -c"
5224 mips
*-*-pe | sh
*-*-pe |
*arm-wince-pe
)
5225 target_makefile_frag
="config/mt-wince"
5229 alphaieee_frag
=/dev
/null
5232 # This just makes sure to use the -mieee option to build target libs.
5233 # This should probably be set individually by each library.
5234 alphaieee_frag
="config/mt-alphaieee"
5238 # If --enable-target-optspace always use -Os instead of -O2 to build
5239 # the target libraries, similarly if it is not specified, use -Os
5240 # on selected platforms.
5241 ospace_frag
=/dev
/null
5242 case "${enable_target_optspace}:${target}" in
5244 ospace_frag
="config/mt-ospace"
5247 ospace_frag
="config/mt-d30v"
5249 :m32r-
* |
:d10v-
* |
:fr30-
*)
5250 ospace_frag
="config/mt-ospace"
5255 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
5259 # Default to using --with-stabs for certain targets.
5260 if test x
${with_stabs} = x
; then
5264 mips
*-*-* | alpha
*-*-osf*)
5266 extra_host_args
="${extra_host_args} --with-stabs"
5271 # hpux11 in 64bit mode has libraries in a weird place. Arrange to find
5272 # them automatically.
5275 extra_host_args
="$extra_host_args -x-libraries=/usr/lib/pa20_64 -x-includes=/usr/X11R6/include"
5279 # Some systems (e.g., one of the i386-aix systems the gas testers are
5280 # using) don't handle "\$" correctly, so don't use it here.
5281 tooldir
='${exec_prefix}'/${target_noncanonical}
5282 build_tooldir
=${tooldir}
5284 # Create a .gdbinit file which runs the one in srcdir
5285 # and tells GDB to look there for source files.
5287 if test -r ${srcdir}/.gdbinit
; then
5290 *) cat > .
/.gdbinit
<<EOF
5294 source ${srcdir}/.gdbinit
5300 # Make sure that the compiler is able to generate an executable. If it
5301 # can't, we are probably in trouble. We don't care whether we can run the
5302 # executable--we might be using a cross compiler--we only care whether it
5303 # can be created. At this point the main configure script has set CC.
5305 echo "int main () { return 0; }" > conftest.c
5306 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
5307 if test $?
= 0 ; then
5308 if test -s conftest ||
test -s conftest.exe
; then
5314 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
5315 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
5322 # The Solaris /usr/ucb/cc compiler does not appear to work.
5324 sparc-sun-solaris2
*)
5325 CCBASE
="`echo ${CC-cc} | sed 's/ .*$//'`"
5326 if test "`type $CCBASE | sed 's/^[^/]*//'`" = "/usr/ucb/cc" ; then
5328 test -d /opt
/SUNWspro
/bin
&& could_use
="/opt/SUNWspro/bin"
5329 if test -d /opt
/cygnus
/bin
; then
5330 if test "$could_use" = "" ; then
5331 could_use
="/opt/cygnus/bin"
5333 could_use
="$could_use or /opt/cygnus/bin"
5336 if test "$could_use" = "" ; then
5337 echo "Warning: compilation may fail because you're using"
5338 echo "/usr/ucb/cc. You should change your PATH or CC "
5339 echo "variable and rerun configure."
5341 echo "Warning: compilation may fail because you're using"
5342 echo "/usr/ucb/cc, when you should use the C compiler from"
5343 echo "$could_use. You should change your"
5344 echo "PATH or CC variable and rerun configure."
5351 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
5352 *-*-darwin* |
*-*-rhapsody* ) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
5353 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
5356 # Record target_configdirs and the configure arguments for target and
5357 # build configuration in Makefile.
5358 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
5359 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
5361 # Determine whether gdb needs tk/tcl or not.
5362 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
5363 # and in that case we want gdb to be built without tk. Ugh!
5364 # In fact I believe gdb is the *only* package directly dependent on tk,
5365 # so we should be able to put the 'maybe's in unconditionally and
5366 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
5367 # 100% sure that that's safe though.
5369 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
5370 case "$enable_gdbtk" in
5374 GDB_TK
="${gdb_tk}" ;;
5376 # Only add the dependency on gdbtk when GDBtk is part of the gdb
5377 # distro. Eventually someone will fix this and move Insight, nee
5378 # gdbtk to a separate directory.
5379 if test -d ${srcdir}/gdb
/gdbtk
; then
5386 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
5387 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
5389 # Strip out unwanted targets.
5391 # While at that, we remove Makefiles if we were started for recursive
5392 # configuration, so that the top-level Makefile reconfigures them,
5393 # like we used to do when configure itself was recursive.
5395 # Loop over modules. $extrasub must be used with care, limiting as
5396 # much as possible the usage of range addresses. That's because autoconf
5397 # splits the sed script to overcome limits in the number of commands,
5398 # and relying on carefully-timed sed passes may turn out to be very hard
5399 # to maintain later. In this particular case, you just have to be careful
5400 # not to nest @if/@endif pairs, because configure will not warn you at all.
5402 # Check whether --enable-bootstrap or --disable-bootstrap was given.
5403 if test "${enable_bootstrap+set}" = set; then
5404 enableval
="$enable_bootstrap"
5407 enable_bootstrap
=default
5410 # Issue errors and warnings for invalid/strange bootstrap combinations.
5411 case "$configdirs" in
5412 *gcc
*) have_compiler
=yes ;;
5413 *) have_compiler
=no
;;
5416 case "$have_compiler:$host:$target:$enable_bootstrap" in
5419 # Default behavior. Enable bootstrap if we have a compiler
5420 # and we are in a native configuration.
5421 yes:$build:$build:default
)
5422 enable_bootstrap
=yes ;;
5425 enable_bootstrap
=no
;;
5427 # We have a compiler and we are in a native configuration, bootstrap is ok
5428 yes:$build:$build:yes)
5431 # Other configurations, but we have a compiler. Assume the user knows
5434 { echo "$as_me:$LINENO: WARNING: trying to bootstrap a cross compiler" >&5
5435 echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
5438 # No compiler: if they passed --enable-bootstrap explicitly, fail
5440 { { echo "$as_me:$LINENO: error: cannot bootstrap without a compiler" >&5
5441 echo "$as_me: error: cannot bootstrap without a compiler" >&2;}
5442 { (exit 1); exit 1; }; } ;;
5444 # Fail if wrong command line
5446 { { echo "$as_me:$LINENO: error: invalid option for --enable-bootstrap" >&5
5447 echo "$as_me: error: invalid option for --enable-bootstrap" >&2;}
5448 { (exit 1); exit 1; }; }
5452 # Adjust the toplevel makefile according to whether bootstrap was selected.
5453 case "$enable_bootstrap" in
5455 bootstrap_suffix
=bootstrap
;;
5457 bootstrap_suffix
=no-bootstrap
;;
5460 for module
in ${build_configdirs} ; do
5461 if test -z "${no_recursion}" \
5462 && test -f ${build_subdir}/${module}/Makefile
; then
5463 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
5464 rm -f ${build_subdir}/${module}/Makefile
5467 /^@if build-$module\$/d
5468 /^@endif build-$module\$/d
5469 /^@if build-$module-$bootstrap_suffix\$/d
5470 /^@endif build-$module-$bootstrap_suffix\$/d"
5472 for module
in ${configdirs} ; do
5473 if test -z "${no_recursion}"; then
5474 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
5475 if test -f ${file}; then
5476 echo 1>&2 "*** removing ${file} to force reconfigure"
5483 /^@endif $module\$/d
5484 /^@if $module-$bootstrap_suffix\$/d
5485 /^@endif $module-$bootstrap_suffix\$/d"
5487 for module
in ${target_configdirs} ; do
5488 if test -z "${no_recursion}" \
5489 && test -f ${target_subdir}/${module}/Makefile
; then
5490 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
5491 rm -f ${target_subdir}/${module}/Makefile
5494 /^@if target-$module\$/d
5495 /^@endif target-$module\$/d
5496 /^@if target-$module-$bootstrap_suffix\$/d
5497 /^@endif target-$module-$bootstrap_suffix\$/d"
5501 /^@if /,/^@endif /d"
5503 # Create the serialization dependencies. This uses a temporary file.
5505 # Check whether --enable-serial-configure or --disable-serial-configure was given.
5506 if test "${enable_serial_configure+set}" = set; then
5507 enableval
="$enable_serial_configure"
5511 case ${enable_serial_configure} in
5513 enable_serial_build_configure
=yes
5514 enable_serial_host_configure
=yes
5515 enable_serial_target_configure
=yes
5519 # These force 'configure's to be done one at a time, to avoid problems
5520 # with contention over a shared config.cache.
5522 echo '# serdep.tmp' > serdep.tmp
5524 test "x${enable_serial_build_configure}" = xyes
&&
5525 for item
in ${build_configdirs} ; do
5528 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
5533 test "x${enable_serial_host_configure}" = xyes
&&
5534 for item
in ${configdirs} ; do
5537 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
5542 test "x${enable_serial_target_configure}" = xyes
&&
5543 for item
in ${target_configdirs} ; do
5546 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
5550 serialization_dependencies
=serdep.tmp
5553 # Base args. Strip norecursion, cache-file, srcdir, host, build,
5554 # target, nonopt, and variable assignments. These are the ones we
5555 # might not want to pass down to subconfigures. Also strip
5556 # program-prefix, program-suffix, and program-transform-name, so that
5557 # we can pass down a consistent program-transform-name.
5561 eval "set -- $ac_configure_args"
5564 if test X
"$skip_next" = X
"yes"; then
5568 if test X
"$keep_next" = X
"yes"; then
5571 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
5573 baseargs
="$baseargs '$ac_arg'"
5578 # Handle separated arguments. Based on the logic generated by
5581 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
5582 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
5583 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
5584 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
5610 -program-prefix* | \
5611 -program-suffix* | \
5612 -program-transform-name* )
5613 skip_next
=$separate_arg
5617 # An option. Add it.
5620 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
5622 baseargs
="$baseargs '$ac_arg'"
5623 keep_next
=$separate_arg
5626 # Either a variable assignment, or a nonopt (triplet). Don't
5627 # pass it down; let the Makefile handle this.
5632 # Remove the initial space we just introduced and, as these will be
5633 # expanded by make, quote '$'.
5634 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
5636 # Add in --program-transform-name, after --program-prefix and
5637 # --program-suffix have been applied to it. Autoconf has already
5638 # doubled dollar signs and backslashes in program_transform_name; we want
5639 # the backslashes un-doubled, and then the entire thing wrapped in single
5640 # quotes, because this will be expanded first by make and then by the shell.
5641 # Also, because we want to override the logic in subdir configure scripts to
5642 # choose program_transform_name, replace any s,x,x, with s,y,y,.
5643 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
5644 ${program_transform_name}
5646 gcc_transform_name
=`cat conftestsed.out`
5647 rm -f conftestsed.out
5648 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
5650 # For the build-side libraries, we just need to pretend we're native,
5651 # and not use the same cache file. Multilibs are neither needed nor
5653 build_configargs
="--cache-file=../config.cache ${baseargs}"
5655 # For host modules, accept cache file option, or specification as blank.
5656 case "${cache_file}" in
5658 cache_file_option
="" ;;
5659 /* |
[A-Za-z
]:[\\/]* ) # absolute path
5660 cache_file_option
="--cache-file=${cache_file}" ;;
5662 cache_file_option
="--cache-file=../${cache_file}" ;;
5665 # Host dirs don't like to share a cache file either, horribly enough.
5666 # This seems to be due to autoconf 2.5x stupidity.
5667 host_configargs
="--cache-file=./config.cache ${extra_host_args} ${baseargs}"
5669 target_configargs
=${baseargs}
5671 # Passing a --with-cross-host argument lets the target libraries know
5672 # whether they are being built with a cross-compiler or being built
5673 # native. However, it would be better to use other mechanisms to make the
5674 # sorts of decisions they want to make on this basis. Please consider
5675 # this option to be deprecated. FIXME.
5676 if test x
${is_cross_compiler} = xyes
; then
5677 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
5680 # Default to --enable-multilib.
5681 if test x
${enable_multilib} = x
; then
5682 target_configargs
="--enable-multilib ${target_configargs}"
5685 # Pass --with-newlib if appropriate. Note that target_configdirs has
5686 # changed from the earlier setting of with_newlib.
5687 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
5688 target_configargs
="--with-newlib ${target_configargs}"
5691 # Different target subdirs use different values of certain variables
5692 # (notably CXX). Worse, multilibs use *lots* of different values.
5693 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
5694 # it doesn't automatically accept command-line overrides of them.
5695 # This means it's not safe for target subdirs to share a cache file,
5696 # which is disgusting, but there you have it. Hopefully this can be
5697 # fixed in future. It's still worthwhile to use a cache file for each
5698 # directory. I think.
5700 # Pass the appropriate --build, --host, --target and --cache-file arguments.
5701 # We need to pass --target, as newer autoconf's requires consistency
5702 # for target_alias and gcc doesn't manage it consistently.
5703 target_configargs
="--cache-file=./config.cache ${target_configargs}"
5706 case " $target_configdirs " in
5708 case " $target_configargs " in
5709 *" --with-newlib "*)
5712 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' ;;
5715 # If we're not building GCC, don't discard standard headers.
5716 if test -d ${srcdir}/gcc
; then
5717 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
5719 if test "${build}" != "${host}"; then
5720 # On Canadian crosses, CC_FOR_TARGET will have already been set
5721 # by `configure', so we won't have an opportunity to add -Bgcc/
5722 # to it. This is right: we don't want to search that directory
5723 # for binaries, but we want the header files in there, so add
5725 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include'
5727 # Someone might think of using the pre-installed headers on
5728 # Canadian crosses, in case the installed compiler is not fully
5729 # compatible with the compiler being built. In this case, it
5730 # would be better to flag an error than risking having
5731 # incompatible object files being constructed. We can't
5732 # guarantee that an error will be flagged, but let's hope the
5733 # compiler will do it, when presented with incompatible header
5738 case "${target}-${is_cross_compiler}" in
5739 i
[3456789]86-*-linux*-no)
5740 # Here host == target, so we don't need to build gcc,
5741 # so we don't want to discard standard headers.
5742 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
5745 # If we're building newlib, use its generic headers last, but search
5746 # for any libc-related directories first (so make it the last -B
5748 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
5757 # Can't be handled as Cygwin above since Mingw does not use newlib.
5758 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' ;;
5761 # Allow the user to override the flags for
5762 # our build compiler if desired.
5763 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
5765 # On Canadian crosses, we'll be searching the right directories for
5766 # the previously-installed cross compiler, so don't bother to add
5767 # flags for directories within the install tree of the compiler
5768 # being built; programs in there won't even run.
5769 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
5770 # Search for pre-installed headers if nothing else fits.
5771 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
5774 if test "x
${use_gnu_ld}" = x &&
5775 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
5776 # Arrange for us to find uninstalled linker scripts.
5777 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
5780 # Search for other target-specific linker scripts and such.
5783 if test -d ${srcdir}/libgloss/m32c; then
5784 # This is for crt0.o
5785 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/m32c'
5786 # This is for r8c.ld
5787 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/m32c'
5788 # This is for libnosys.a
5789 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
5793 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
5797 # Makefile fragments.
5798 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
5800 eval fragval=\$$frag
5801 if test $fragval != /dev/null; then
5802 eval $frag=${srcdir}/$fragval
5810 # Miscellanea: directories, flags, etc.
5818 # Build module lists & subconfigure args.
5822 # Host module lists & subconfigure args.
5826 # Target module lists & subconfigure args.
5834 # Generate default definitions for YACC, M4, LEX and other programs that run
5835 # on the build machine. These are used if the Makefile can't locate these
5836 # programs in objdir.
5837 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
5839 for ac_prog in 'bison -y' byacc yacc
5841 # Extract the first word of "$ac_prog", so it can be a program name with args.
5842 set dummy $ac_prog; ac_word=$2
5843 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5844 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5845 if test "${ac_cv_prog_YACC+set}" = set; then
5846 echo $ECHO_N "(cached
) $ECHO_C" >&6
5848 if test -n "$YACC"; then
5849 ac_cv_prog_YACC="$YACC" # Let the user override the test.
5851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5855 test -z "$as_dir" && as_dir=.
5856 for ac_exec_ext in '' $ac_executable_extensions; do
5857 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5858 ac_cv_prog_YACC="$ac_prog"
5859 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5867 YACC=$ac_cv_prog_YACC
5868 if test -n "$YACC"; then
5869 echo "$as_me:$LINENO: result
: $YACC" >&5
5870 echo "${ECHO_T}$YACC" >&6
5872 echo "$as_me:$LINENO: result
: no
" >&5
5873 echo "${ECHO_T}no
" >&6
5876 test -n "$YACC" && break
5878 test -n "$YACC" || YACC="$MISSING bison
-y"
5880 case " $build_configdirs " in
5881 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
5882 *" byacc
"*) YACC='$$r/$(BUILD_SUBDIR)/byacc/byacc' ;;
5885 for ac_prog in bison
5887 # Extract the first word of "$ac_prog", so it can be a program name with args.
5888 set dummy $ac_prog; ac_word=$2
5889 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5890 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5891 if test "${ac_cv_prog_BISON+set}" = set; then
5892 echo $ECHO_N "(cached
) $ECHO_C" >&6
5894 if test -n "$BISON"; then
5895 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5901 test -z "$as_dir" && as_dir=.
5902 for ac_exec_ext in '' $ac_executable_extensions; do
5903 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5904 ac_cv_prog_BISON="$ac_prog"
5905 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5913 BISON=$ac_cv_prog_BISON
5914 if test -n "$BISON"; then
5915 echo "$as_me:$LINENO: result
: $BISON" >&5
5916 echo "${ECHO_T}$BISON" >&6
5918 echo "$as_me:$LINENO: result
: no
" >&5
5919 echo "${ECHO_T}no
" >&6
5922 test -n "$BISON" && break
5924 test -n "$BISON" || BISON="$MISSING bison
"
5926 case " $build_configdirs " in
5927 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
5930 for ac_prog in gm4 gnum4 m4
5932 # Extract the first word of "$ac_prog", so it can be a program name with args.
5933 set dummy $ac_prog; ac_word=$2
5934 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5935 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5936 if test "${ac_cv_prog_M4+set}" = set; then
5937 echo $ECHO_N "(cached
) $ECHO_C" >&6
5939 if test -n "$M4"; then
5940 ac_cv_prog_M4="$M4" # Let the user override the test.
5942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5946 test -z "$as_dir" && as_dir=.
5947 for ac_exec_ext in '' $ac_executable_extensions; do
5948 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5949 ac_cv_prog_M4="$ac_prog"
5950 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5959 if test -n "$M4"; then
5960 echo "$as_me:$LINENO: result
: $M4" >&5
5961 echo "${ECHO_T}$M4" >&6
5963 echo "$as_me:$LINENO: result
: no
" >&5
5964 echo "${ECHO_T}no
" >&6
5967 test -n "$M4" && break
5969 test -n "$M4" || M4="$MISSING m4"
5971 case " $build_configdirs " in
5972 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
5975 for ac_prog in flex lex
5977 # Extract the first word of "$ac_prog", so it can be a program name with args.
5978 set dummy $ac_prog; ac_word=$2
5979 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5980 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5981 if test "${ac_cv_prog_LEX+set}" = set; then
5982 echo $ECHO_N "(cached
) $ECHO_C" >&6
5984 if test -n "$LEX"; then
5985 ac_cv_prog_LEX="$LEX" # Let the user override the test.
5987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5991 test -z "$as_dir" && as_dir=.
5992 for ac_exec_ext in '' $ac_executable_extensions; do
5993 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5994 ac_cv_prog_LEX="$ac_prog"
5995 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6004 if test -n "$LEX"; then
6005 echo "$as_me:$LINENO: result
: $LEX" >&5
6006 echo "${ECHO_T}$LEX" >&6
6008 echo "$as_me:$LINENO: result
: no
" >&5
6009 echo "${ECHO_T}no
" >&6
6012 test -n "$LEX" && break
6014 test -n "$LEX" || LEX="$MISSING flex
"
6016 case " $build_configdirs " in
6017 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
6018 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
6023 # Extract the first word of "$ac_prog", so it can be a program name with args.
6024 set dummy $ac_prog; ac_word=$2
6025 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6026 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6027 if test "${ac_cv_prog_FLEX+set}" = set; then
6028 echo $ECHO_N "(cached
) $ECHO_C" >&6
6030 if test -n "$FLEX"; then
6031 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6037 test -z "$as_dir" && as_dir=.
6038 for ac_exec_ext in '' $ac_executable_extensions; do
6039 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6040 ac_cv_prog_FLEX="$ac_prog"
6041 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6049 FLEX=$ac_cv_prog_FLEX
6050 if test -n "$FLEX"; then
6051 echo "$as_me:$LINENO: result
: $FLEX" >&5
6052 echo "${ECHO_T}$FLEX" >&6
6054 echo "$as_me:$LINENO: result
: no
" >&5
6055 echo "${ECHO_T}no
" >&6
6058 test -n "$FLEX" && break
6060 test -n "$FLEX" || FLEX="$MISSING flex
"
6062 case " $build_configdirs " in
6063 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
6066 for ac_prog in makeinfo
6068 # Extract the first word of "$ac_prog", so it can be a program name with args.
6069 set dummy $ac_prog; ac_word=$2
6070 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6071 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6072 if test "${ac_cv_prog_MAKEINFO+set}" = set; then
6073 echo $ECHO_N "(cached
) $ECHO_C" >&6
6075 if test -n "$MAKEINFO"; then
6076 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
6078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6082 test -z "$as_dir" && as_dir=.
6083 for ac_exec_ext in '' $ac_executable_extensions; do
6084 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6085 ac_cv_prog_MAKEINFO="$ac_prog"
6086 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6094 MAKEINFO=$ac_cv_prog_MAKEINFO
6095 if test -n "$MAKEINFO"; then
6096 echo "$as_me:$LINENO: result
: $MAKEINFO" >&5
6097 echo "${ECHO_T}$MAKEINFO" >&6
6099 echo "$as_me:$LINENO: result
: no
" >&5
6100 echo "${ECHO_T}no
" >&6
6103 test -n "$MAKEINFO" && break
6105 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
6107 case " $build_configdirs " in
6108 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
6111 # For an installed makeinfo, we require it to be from texinfo 4.4 or
6112 # higher, else we use the "missing
" dummy.
6113 if ${MAKEINFO} --version \
6114 | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[4-9]|[5-9])' >/dev/null 2>&1; then
6117 MAKEINFO="$MISSING makeinfo
"
6123 # FIXME: expect and dejagnu may become build tools?
6125 for ac_prog in expect
6127 # Extract the first word of "$ac_prog", so it can be a program name with args.
6128 set dummy $ac_prog; ac_word=$2
6129 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6130 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6131 if test "${ac_cv_prog_EXPECT+set}" = set; then
6132 echo $ECHO_N "(cached
) $ECHO_C" >&6
6134 if test -n "$EXPECT"; then
6135 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
6137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6141 test -z "$as_dir" && as_dir=.
6142 for ac_exec_ext in '' $ac_executable_extensions; do
6143 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6144 ac_cv_prog_EXPECT="$ac_prog"
6145 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6153 EXPECT=$ac_cv_prog_EXPECT
6154 if test -n "$EXPECT"; then
6155 echo "$as_me:$LINENO: result
: $EXPECT" >&5
6156 echo "${ECHO_T}$EXPECT" >&6
6158 echo "$as_me:$LINENO: result
: no
" >&5
6159 echo "${ECHO_T}no
" >&6
6162 test -n "$EXPECT" && break
6164 test -n "$EXPECT" || EXPECT="expect
"
6166 case " $configdirs " in
6168 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
6172 for ac_prog in runtest
6174 # Extract the first word of "$ac_prog", so it can be a program name with args.
6175 set dummy $ac_prog; ac_word=$2
6176 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6177 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6178 if test "${ac_cv_prog_RUNTEST+set}" = set; then
6179 echo $ECHO_N "(cached
) $ECHO_C" >&6
6181 if test -n "$RUNTEST"; then
6182 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
6184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6188 test -z "$as_dir" && as_dir=.
6189 for ac_exec_ext in '' $ac_executable_extensions; do
6190 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6191 ac_cv_prog_RUNTEST="$ac_prog"
6192 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6200 RUNTEST=$ac_cv_prog_RUNTEST
6201 if test -n "$RUNTEST"; then
6202 echo "$as_me:$LINENO: result
: $RUNTEST" >&5
6203 echo "${ECHO_T}$RUNTEST" >&6
6205 echo "$as_me:$LINENO: result
: no
" >&5
6206 echo "${ECHO_T}no
" >&6
6209 test -n "$RUNTEST" && break
6211 test -n "$RUNTEST" || RUNTEST="runtest
"
6213 case " $configdirs " in
6215 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
6222 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
6223 ncn_target_tool_prefix=
6224 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
6228 if test -n "$AR"; then
6230 elif test -n "$ac_cv_prog_AR"; then
6234 if test -n "$ac_cv_prog_AR"; then
6235 for ncn_progname in ar; do
6236 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6237 set dummy ${ncn_progname}; ac_word=$2
6238 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6239 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6240 if test "${ac_cv_prog_AR+set}" = set; then
6241 echo $ECHO_N "(cached
) $ECHO_C" >&6
6243 if test -n "$AR"; then
6244 ac_cv_prog_AR="$AR" # Let the user override the test.
6246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6250 test -z "$as_dir" && as_dir=.
6251 for ac_exec_ext in '' $ac_executable_extensions; do
6252 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6253 ac_cv_prog_AR="${ncn_progname}"
6254 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6263 if test -n "$AR"; then
6264 echo "$as_me:$LINENO: result
: $AR" >&5
6265 echo "${ECHO_T}$AR" >&6
6267 echo "$as_me:$LINENO: result
: no
" >&5
6268 echo "${ECHO_T}no
" >&6
6274 for ncn_progname in ar; do
6275 if test -n "$ncn_tool_prefix"; then
6276 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
6277 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
6278 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6279 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6280 if test "${ac_cv_prog_AR+set}" = set; then
6281 echo $ECHO_N "(cached
) $ECHO_C" >&6
6283 if test -n "$AR"; then
6284 ac_cv_prog_AR="$AR" # Let the user override the test.
6286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6290 test -z "$as_dir" && as_dir=.
6291 for ac_exec_ext in '' $ac_executable_extensions; do
6292 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6293 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
6294 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6303 if test -n "$AR"; then
6304 echo "$as_me:$LINENO: result
: $AR" >&5
6305 echo "${ECHO_T}$AR" >&6
6307 echo "$as_me:$LINENO: result
: no
" >&5
6308 echo "${ECHO_T}no
" >&6
6312 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
6313 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6314 set dummy ${ncn_progname}; ac_word=$2
6315 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6316 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6317 if test "${ac_cv_prog_AR+set}" = set; then
6318 echo $ECHO_N "(cached
) $ECHO_C" >&6
6320 if test -n "$AR"; then
6321 ac_cv_prog_AR="$AR" # Let the user override the test.
6323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6327 test -z "$as_dir" && as_dir=.
6328 for ac_exec_ext in '' $ac_executable_extensions; do
6329 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6330 ac_cv_prog_AR="${ncn_progname}"
6331 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6340 if test -n "$AR"; then
6341 echo "$as_me:$LINENO: result
: $AR" >&5
6342 echo "${ECHO_T}$AR" >&6
6344 echo "$as_me:$LINENO: result
: no
" >&5
6345 echo "${ECHO_T}no
" >&6
6349 test -n "$ac_cv_prog_AR" && break
6352 if test -z "$ac_cv_prog_AR" ; then
6354 if test $build = $host ; then
6357 AR="${ncn_tool_prefix}$2"
6363 if test -n "$AS"; then
6365 elif test -n "$ac_cv_prog_AS"; then
6369 if test -n "$ac_cv_prog_AS"; then
6370 for ncn_progname in as; do
6371 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6372 set dummy ${ncn_progname}; ac_word=$2
6373 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6374 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6375 if test "${ac_cv_prog_AS+set}" = set; then
6376 echo $ECHO_N "(cached
) $ECHO_C" >&6
6378 if test -n "$AS"; then
6379 ac_cv_prog_AS="$AS" # Let the user override the test.
6381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6385 test -z "$as_dir" && as_dir=.
6386 for ac_exec_ext in '' $ac_executable_extensions; do
6387 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6388 ac_cv_prog_AS="${ncn_progname}"
6389 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6398 if test -n "$AS"; then
6399 echo "$as_me:$LINENO: result
: $AS" >&5
6400 echo "${ECHO_T}$AS" >&6
6402 echo "$as_me:$LINENO: result
: no
" >&5
6403 echo "${ECHO_T}no
" >&6
6409 for ncn_progname in as; do
6410 if test -n "$ncn_tool_prefix"; then
6411 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
6412 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
6413 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6414 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6415 if test "${ac_cv_prog_AS+set}" = set; then
6416 echo $ECHO_N "(cached
) $ECHO_C" >&6
6418 if test -n "$AS"; then
6419 ac_cv_prog_AS="$AS" # Let the user override the test.
6421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6425 test -z "$as_dir" && as_dir=.
6426 for ac_exec_ext in '' $ac_executable_extensions; do
6427 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6428 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
6429 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6438 if test -n "$AS"; then
6439 echo "$as_me:$LINENO: result
: $AS" >&5
6440 echo "${ECHO_T}$AS" >&6
6442 echo "$as_me:$LINENO: result
: no
" >&5
6443 echo "${ECHO_T}no
" >&6
6447 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
6448 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6449 set dummy ${ncn_progname}; ac_word=$2
6450 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6451 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6452 if test "${ac_cv_prog_AS+set}" = set; then
6453 echo $ECHO_N "(cached
) $ECHO_C" >&6
6455 if test -n "$AS"; then
6456 ac_cv_prog_AS="$AS" # Let the user override the test.
6458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6462 test -z "$as_dir" && as_dir=.
6463 for ac_exec_ext in '' $ac_executable_extensions; do
6464 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6465 ac_cv_prog_AS="${ncn_progname}"
6466 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6475 if test -n "$AS"; then
6476 echo "$as_me:$LINENO: result
: $AS" >&5
6477 echo "${ECHO_T}$AS" >&6
6479 echo "$as_me:$LINENO: result
: no
" >&5
6480 echo "${ECHO_T}no
" >&6
6484 test -n "$ac_cv_prog_AS" && break
6487 if test -z "$ac_cv_prog_AS" ; then
6489 if test $build = $host ; then
6492 AS="${ncn_tool_prefix}$2"
6498 if test -n "$DLLTOOL"; then
6499 ac_cv_prog_DLLTOOL=$DLLTOOL
6500 elif test -n "$ac_cv_prog_DLLTOOL"; then
6501 DLLTOOL=$ac_cv_prog_DLLTOOL
6504 if test -n "$ac_cv_prog_DLLTOOL"; then
6505 for ncn_progname in dlltool; do
6506 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6507 set dummy ${ncn_progname}; ac_word=$2
6508 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6509 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6510 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
6511 echo $ECHO_N "(cached
) $ECHO_C" >&6
6513 if test -n "$DLLTOOL"; then
6514 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6520 test -z "$as_dir" && as_dir=.
6521 for ac_exec_ext in '' $ac_executable_extensions; do
6522 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6523 ac_cv_prog_DLLTOOL="${ncn_progname}"
6524 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6532 DLLTOOL=$ac_cv_prog_DLLTOOL
6533 if test -n "$DLLTOOL"; then
6534 echo "$as_me:$LINENO: result
: $DLLTOOL" >&5
6535 echo "${ECHO_T}$DLLTOOL" >&6
6537 echo "$as_me:$LINENO: result
: no
" >&5
6538 echo "${ECHO_T}no
" >&6
6544 for ncn_progname in dlltool; do
6545 if test -n "$ncn_tool_prefix"; then
6546 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
6547 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
6548 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6549 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6550 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
6551 echo $ECHO_N "(cached
) $ECHO_C" >&6
6553 if test -n "$DLLTOOL"; then
6554 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6560 test -z "$as_dir" && as_dir=.
6561 for ac_exec_ext in '' $ac_executable_extensions; do
6562 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6563 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
6564 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6572 DLLTOOL=$ac_cv_prog_DLLTOOL
6573 if test -n "$DLLTOOL"; then
6574 echo "$as_me:$LINENO: result
: $DLLTOOL" >&5
6575 echo "${ECHO_T}$DLLTOOL" >&6
6577 echo "$as_me:$LINENO: result
: no
" >&5
6578 echo "${ECHO_T}no
" >&6
6582 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
6583 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6584 set dummy ${ncn_progname}; ac_word=$2
6585 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6586 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6587 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
6588 echo $ECHO_N "(cached
) $ECHO_C" >&6
6590 if test -n "$DLLTOOL"; then
6591 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6597 test -z "$as_dir" && as_dir=.
6598 for ac_exec_ext in '' $ac_executable_extensions; do
6599 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6600 ac_cv_prog_DLLTOOL="${ncn_progname}"
6601 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6609 DLLTOOL=$ac_cv_prog_DLLTOOL
6610 if test -n "$DLLTOOL"; then
6611 echo "$as_me:$LINENO: result
: $DLLTOOL" >&5
6612 echo "${ECHO_T}$DLLTOOL" >&6
6614 echo "$as_me:$LINENO: result
: no
" >&5
6615 echo "${ECHO_T}no
" >&6
6619 test -n "$ac_cv_prog_DLLTOOL" && break
6622 if test -z "$ac_cv_prog_DLLTOOL" ; then
6624 if test $build = $host ; then
6627 DLLTOOL="${ncn_tool_prefix}$2"
6633 if test -n "$LD"; then
6635 elif test -n "$ac_cv_prog_LD"; then
6639 if test -n "$ac_cv_prog_LD"; then
6640 for ncn_progname in ld; do
6641 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6642 set dummy ${ncn_progname}; ac_word=$2
6643 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6644 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6645 if test "${ac_cv_prog_LD+set}" = set; then
6646 echo $ECHO_N "(cached
) $ECHO_C" >&6
6648 if test -n "$LD"; then
6649 ac_cv_prog_LD="$LD" # Let the user override the test.
6651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6655 test -z "$as_dir" && as_dir=.
6656 for ac_exec_ext in '' $ac_executable_extensions; do
6657 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6658 ac_cv_prog_LD="${ncn_progname}"
6659 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6668 if test -n "$LD"; then
6669 echo "$as_me:$LINENO: result
: $LD" >&5
6670 echo "${ECHO_T}$LD" >&6
6672 echo "$as_me:$LINENO: result
: no
" >&5
6673 echo "${ECHO_T}no
" >&6
6679 for ncn_progname in ld; do
6680 if test -n "$ncn_tool_prefix"; then
6681 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
6682 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
6683 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6684 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6685 if test "${ac_cv_prog_LD+set}" = set; then
6686 echo $ECHO_N "(cached
) $ECHO_C" >&6
6688 if test -n "$LD"; then
6689 ac_cv_prog_LD="$LD" # Let the user override the test.
6691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6695 test -z "$as_dir" && as_dir=.
6696 for ac_exec_ext in '' $ac_executable_extensions; do
6697 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6698 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
6699 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6708 if test -n "$LD"; then
6709 echo "$as_me:$LINENO: result
: $LD" >&5
6710 echo "${ECHO_T}$LD" >&6
6712 echo "$as_me:$LINENO: result
: no
" >&5
6713 echo "${ECHO_T}no
" >&6
6717 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
6718 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6719 set dummy ${ncn_progname}; ac_word=$2
6720 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6721 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6722 if test "${ac_cv_prog_LD+set}" = set; then
6723 echo $ECHO_N "(cached
) $ECHO_C" >&6
6725 if test -n "$LD"; then
6726 ac_cv_prog_LD="$LD" # Let the user override the test.
6728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6732 test -z "$as_dir" && as_dir=.
6733 for ac_exec_ext in '' $ac_executable_extensions; do
6734 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6735 ac_cv_prog_LD="${ncn_progname}"
6736 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6745 if test -n "$LD"; then
6746 echo "$as_me:$LINENO: result
: $LD" >&5
6747 echo "${ECHO_T}$LD" >&6
6749 echo "$as_me:$LINENO: result
: no
" >&5
6750 echo "${ECHO_T}no
" >&6
6754 test -n "$ac_cv_prog_LD" && break
6757 if test -z "$ac_cv_prog_LD" ; then
6759 if test $build = $host ; then
6762 LD="${ncn_tool_prefix}$2"
6768 if test -n "$LIPO"; then
6769 ac_cv_prog_LIPO=$LIPO
6770 elif test -n "$ac_cv_prog_LIPO"; then
6771 LIPO=$ac_cv_prog_LIPO
6774 if test -n "$ac_cv_prog_LIPO"; then
6775 for ncn_progname in lipo; do
6776 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6777 set dummy ${ncn_progname}; ac_word=$2
6778 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6779 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6780 if test "${ac_cv_prog_LIPO+set}" = set; then
6781 echo $ECHO_N "(cached
) $ECHO_C" >&6
6783 if test -n "$LIPO"; then
6784 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6790 test -z "$as_dir" && as_dir=.
6791 for ac_exec_ext in '' $ac_executable_extensions; do
6792 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6793 ac_cv_prog_LIPO="${ncn_progname}"
6794 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6802 LIPO=$ac_cv_prog_LIPO
6803 if test -n "$LIPO"; then
6804 echo "$as_me:$LINENO: result
: $LIPO" >&5
6805 echo "${ECHO_T}$LIPO" >&6
6807 echo "$as_me:$LINENO: result
: no
" >&5
6808 echo "${ECHO_T}no
" >&6
6814 for ncn_progname in lipo; do
6815 if test -n "$ncn_tool_prefix"; then
6816 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
6817 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
6818 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6819 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6820 if test "${ac_cv_prog_LIPO+set}" = set; then
6821 echo $ECHO_N "(cached
) $ECHO_C" >&6
6823 if test -n "$LIPO"; then
6824 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6830 test -z "$as_dir" && as_dir=.
6831 for ac_exec_ext in '' $ac_executable_extensions; do
6832 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6833 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
6834 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6842 LIPO=$ac_cv_prog_LIPO
6843 if test -n "$LIPO"; then
6844 echo "$as_me:$LINENO: result
: $LIPO" >&5
6845 echo "${ECHO_T}$LIPO" >&6
6847 echo "$as_me:$LINENO: result
: no
" >&5
6848 echo "${ECHO_T}no
" >&6
6852 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
6853 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6854 set dummy ${ncn_progname}; ac_word=$2
6855 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6856 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6857 if test "${ac_cv_prog_LIPO+set}" = set; then
6858 echo $ECHO_N "(cached
) $ECHO_C" >&6
6860 if test -n "$LIPO"; then
6861 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6867 test -z "$as_dir" && as_dir=.
6868 for ac_exec_ext in '' $ac_executable_extensions; do
6869 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6870 ac_cv_prog_LIPO="${ncn_progname}"
6871 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6879 LIPO=$ac_cv_prog_LIPO
6880 if test -n "$LIPO"; then
6881 echo "$as_me:$LINENO: result
: $LIPO" >&5
6882 echo "${ECHO_T}$LIPO" >&6
6884 echo "$as_me:$LINENO: result
: no
" >&5
6885 echo "${ECHO_T}no
" >&6
6889 test -n "$ac_cv_prog_LIPO" && break
6892 if test -z "$ac_cv_prog_LIPO" ; then
6894 if test $build = $host ; then
6897 LIPO="${ncn_tool_prefix}$2"
6903 if test -n "$NM"; then
6905 elif test -n "$ac_cv_prog_NM"; then
6909 if test -n "$ac_cv_prog_NM"; then
6910 for ncn_progname in nm; do
6911 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6912 set dummy ${ncn_progname}; ac_word=$2
6913 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6914 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6915 if test "${ac_cv_prog_NM+set}" = set; then
6916 echo $ECHO_N "(cached
) $ECHO_C" >&6
6918 if test -n "$NM"; then
6919 ac_cv_prog_NM="$NM" # Let the user override the test.
6921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6925 test -z "$as_dir" && as_dir=.
6926 for ac_exec_ext in '' $ac_executable_extensions; do
6927 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6928 ac_cv_prog_NM="${ncn_progname}"
6929 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6938 if test -n "$NM"; then
6939 echo "$as_me:$LINENO: result
: $NM" >&5
6940 echo "${ECHO_T}$NM" >&6
6942 echo "$as_me:$LINENO: result
: no
" >&5
6943 echo "${ECHO_T}no
" >&6
6949 for ncn_progname in nm; do
6950 if test -n "$ncn_tool_prefix"; then
6951 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
6952 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
6953 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6954 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6955 if test "${ac_cv_prog_NM+set}" = set; then
6956 echo $ECHO_N "(cached
) $ECHO_C" >&6
6958 if test -n "$NM"; then
6959 ac_cv_prog_NM="$NM" # Let the user override the test.
6961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6965 test -z "$as_dir" && as_dir=.
6966 for ac_exec_ext in '' $ac_executable_extensions; do
6967 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6968 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
6969 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6978 if test -n "$NM"; then
6979 echo "$as_me:$LINENO: result
: $NM" >&5
6980 echo "${ECHO_T}$NM" >&6
6982 echo "$as_me:$LINENO: result
: no
" >&5
6983 echo "${ECHO_T}no
" >&6
6987 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
6988 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6989 set dummy ${ncn_progname}; ac_word=$2
6990 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6991 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6992 if test "${ac_cv_prog_NM+set}" = set; then
6993 echo $ECHO_N "(cached
) $ECHO_C" >&6
6995 if test -n "$NM"; then
6996 ac_cv_prog_NM="$NM" # Let the user override the test.
6998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7002 test -z "$as_dir" && as_dir=.
7003 for ac_exec_ext in '' $ac_executable_extensions; do
7004 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7005 ac_cv_prog_NM="${ncn_progname}"
7006 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7015 if test -n "$NM"; then
7016 echo "$as_me:$LINENO: result
: $NM" >&5
7017 echo "${ECHO_T}$NM" >&6
7019 echo "$as_me:$LINENO: result
: no
" >&5
7020 echo "${ECHO_T}no
" >&6
7024 test -n "$ac_cv_prog_NM" && break
7027 if test -z "$ac_cv_prog_NM" ; then
7029 if test $build = $host ; then
7032 NM="${ncn_tool_prefix}$2"
7038 if test -n "$RANLIB"; then
7039 ac_cv_prog_RANLIB=$RANLIB
7040 elif test -n "$ac_cv_prog_RANLIB"; then
7041 RANLIB=$ac_cv_prog_RANLIB
7044 if test -n "$ac_cv_prog_RANLIB"; then
7045 for ncn_progname in ranlib; 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_RANLIB+set}" = set; then
7051 echo $ECHO_N "(cached
) $ECHO_C" >&6
7053 if test -n "$RANLIB"; then
7054 ac_cv_prog_RANLIB="$RANLIB" # 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_RANLIB="${ncn_progname}"
7064 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7072 RANLIB=$ac_cv_prog_RANLIB
7073 if test -n "$RANLIB"; then
7074 echo "$as_me:$LINENO: result
: $RANLIB" >&5
7075 echo "${ECHO_T}$RANLIB" >&6
7077 echo "$as_me:$LINENO: result
: no
" >&5
7078 echo "${ECHO_T}no
" >&6
7084 for ncn_progname in ranlib; 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_RANLIB+set}" = set; then
7091 echo $ECHO_N "(cached
) $ECHO_C" >&6
7093 if test -n "$RANLIB"; then
7094 ac_cv_prog_RANLIB="$RANLIB" # 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_RANLIB="${ncn_tool_prefix}${ncn_progname}"
7104 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7112 RANLIB=$ac_cv_prog_RANLIB
7113 if test -n "$RANLIB"; then
7114 echo "$as_me:$LINENO: result
: $RANLIB" >&5
7115 echo "${ECHO_T}$RANLIB" >&6
7117 echo "$as_me:$LINENO: result
: no
" >&5
7118 echo "${ECHO_T}no
" >&6
7122 if test -z "$ac_cv_prog_RANLIB" && 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_RANLIB+set}" = set; then
7128 echo $ECHO_N "(cached
) $ECHO_C" >&6
7130 if test -n "$RANLIB"; then
7131 ac_cv_prog_RANLIB="$RANLIB" # 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_RANLIB="${ncn_progname}"
7141 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7149 RANLIB=$ac_cv_prog_RANLIB
7150 if test -n "$RANLIB"; then
7151 echo "$as_me:$LINENO: result
: $RANLIB" >&5
7152 echo "${ECHO_T}$RANLIB" >&6
7154 echo "$as_me:$LINENO: result
: no
" >&5
7155 echo "${ECHO_T}no
" >&6
7159 test -n "$ac_cv_prog_RANLIB" && break
7162 if test -z "$ac_cv_prog_RANLIB" ; then
7168 if test -n "$STRIP"; then
7169 ac_cv_prog_STRIP=$STRIP
7170 elif test -n "$ac_cv_prog_STRIP"; then
7171 STRIP=$ac_cv_prog_STRIP
7174 if test -n "$ac_cv_prog_STRIP"; then
7175 for ncn_progname in strip; do
7176 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7177 set dummy ${ncn_progname}; ac_word=$2
7178 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7179 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7180 if test "${ac_cv_prog_STRIP+set}" = set; then
7181 echo $ECHO_N "(cached
) $ECHO_C" >&6
7183 if test -n "$STRIP"; then
7184 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7190 test -z "$as_dir" && as_dir=.
7191 for ac_exec_ext in '' $ac_executable_extensions; do
7192 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7193 ac_cv_prog_STRIP="${ncn_progname}"
7194 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7202 STRIP=$ac_cv_prog_STRIP
7203 if test -n "$STRIP"; then
7204 echo "$as_me:$LINENO: result
: $STRIP" >&5
7205 echo "${ECHO_T}$STRIP" >&6
7207 echo "$as_me:$LINENO: result
: no
" >&5
7208 echo "${ECHO_T}no
" >&6
7214 for ncn_progname in strip; do
7215 if test -n "$ncn_tool_prefix"; then
7216 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7217 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7218 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7219 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7220 if test "${ac_cv_prog_STRIP+set}" = set; then
7221 echo $ECHO_N "(cached
) $ECHO_C" >&6
7223 if test -n "$STRIP"; then
7224 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7230 test -z "$as_dir" && as_dir=.
7231 for ac_exec_ext in '' $ac_executable_extensions; do
7232 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7233 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
7234 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7242 STRIP=$ac_cv_prog_STRIP
7243 if test -n "$STRIP"; then
7244 echo "$as_me:$LINENO: result
: $STRIP" >&5
7245 echo "${ECHO_T}$STRIP" >&6
7247 echo "$as_me:$LINENO: result
: no
" >&5
7248 echo "${ECHO_T}no
" >&6
7252 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
7253 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7254 set dummy ${ncn_progname}; ac_word=$2
7255 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7256 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7257 if test "${ac_cv_prog_STRIP+set}" = set; then
7258 echo $ECHO_N "(cached
) $ECHO_C" >&6
7260 if test -n "$STRIP"; then
7261 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7267 test -z "$as_dir" && as_dir=.
7268 for ac_exec_ext in '' $ac_executable_extensions; do
7269 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7270 ac_cv_prog_STRIP="${ncn_progname}"
7271 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7279 STRIP=$ac_cv_prog_STRIP
7280 if test -n "$STRIP"; then
7281 echo "$as_me:$LINENO: result
: $STRIP" >&5
7282 echo "${ECHO_T}$STRIP" >&6
7284 echo "$as_me:$LINENO: result
: no
" >&5
7285 echo "${ECHO_T}no
" >&6
7289 test -n "$ac_cv_prog_STRIP" && break
7292 if test -z "$ac_cv_prog_STRIP" ; then
7298 if test -n "$WINDRES"; then
7299 ac_cv_prog_WINDRES=$WINDRES
7300 elif test -n "$ac_cv_prog_WINDRES"; then
7301 WINDRES=$ac_cv_prog_WINDRES
7304 if test -n "$ac_cv_prog_WINDRES"; then
7305 for ncn_progname in windres; do
7306 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7307 set dummy ${ncn_progname}; ac_word=$2
7308 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7309 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7310 if test "${ac_cv_prog_WINDRES+set}" = set; then
7311 echo $ECHO_N "(cached
) $ECHO_C" >&6
7313 if test -n "$WINDRES"; then
7314 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
7316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7320 test -z "$as_dir" && as_dir=.
7321 for ac_exec_ext in '' $ac_executable_extensions; do
7322 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7323 ac_cv_prog_WINDRES="${ncn_progname}"
7324 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7332 WINDRES=$ac_cv_prog_WINDRES
7333 if test -n "$WINDRES"; then
7334 echo "$as_me:$LINENO: result
: $WINDRES" >&5
7335 echo "${ECHO_T}$WINDRES" >&6
7337 echo "$as_me:$LINENO: result
: no
" >&5
7338 echo "${ECHO_T}no
" >&6
7344 for ncn_progname in windres; do
7345 if test -n "$ncn_tool_prefix"; then
7346 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7347 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7348 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7349 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7350 if test "${ac_cv_prog_WINDRES+set}" = set; then
7351 echo $ECHO_N "(cached
) $ECHO_C" >&6
7353 if test -n "$WINDRES"; then
7354 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
7356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7360 test -z "$as_dir" && as_dir=.
7361 for ac_exec_ext in '' $ac_executable_extensions; do
7362 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7363 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
7364 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7372 WINDRES=$ac_cv_prog_WINDRES
7373 if test -n "$WINDRES"; then
7374 echo "$as_me:$LINENO: result
: $WINDRES" >&5
7375 echo "${ECHO_T}$WINDRES" >&6
7377 echo "$as_me:$LINENO: result
: no
" >&5
7378 echo "${ECHO_T}no
" >&6
7382 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
7383 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7384 set dummy ${ncn_progname}; ac_word=$2
7385 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7386 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7387 if test "${ac_cv_prog_WINDRES+set}" = set; then
7388 echo $ECHO_N "(cached
) $ECHO_C" >&6
7390 if test -n "$WINDRES"; then
7391 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
7393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7397 test -z "$as_dir" && as_dir=.
7398 for ac_exec_ext in '' $ac_executable_extensions; do
7399 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7400 ac_cv_prog_WINDRES="${ncn_progname}"
7401 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7409 WINDRES=$ac_cv_prog_WINDRES
7410 if test -n "$WINDRES"; then
7411 echo "$as_me:$LINENO: result
: $WINDRES" >&5
7412 echo "${ECHO_T}$WINDRES" >&6
7414 echo "$as_me:$LINENO: result
: no
" >&5
7415 echo "${ECHO_T}no
" >&6
7419 test -n "$ac_cv_prog_WINDRES" && break
7422 if test -z "$ac_cv_prog_WINDRES" ; then
7424 if test $build = $host ; then
7427 WINDRES="${ncn_tool_prefix}$2"
7433 if test -n "$OBJCOPY"; then
7434 ac_cv_prog_OBJCOPY=$OBJCOPY
7435 elif test -n "$ac_cv_prog_OBJCOPY"; then
7436 OBJCOPY=$ac_cv_prog_OBJCOPY
7439 if test -n "$ac_cv_prog_OBJCOPY"; then
7440 for ncn_progname in objcopy; do
7441 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7442 set dummy ${ncn_progname}; ac_word=$2
7443 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7444 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7445 if test "${ac_cv_prog_OBJCOPY+set}" = set; then
7446 echo $ECHO_N "(cached
) $ECHO_C" >&6
7448 if test -n "$OBJCOPY"; then
7449 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
7451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7455 test -z "$as_dir" && as_dir=.
7456 for ac_exec_ext in '' $ac_executable_extensions; do
7457 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7458 ac_cv_prog_OBJCOPY="${ncn_progname}"
7459 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7467 OBJCOPY=$ac_cv_prog_OBJCOPY
7468 if test -n "$OBJCOPY"; then
7469 echo "$as_me:$LINENO: result
: $OBJCOPY" >&5
7470 echo "${ECHO_T}$OBJCOPY" >&6
7472 echo "$as_me:$LINENO: result
: no
" >&5
7473 echo "${ECHO_T}no
" >&6
7479 for ncn_progname in objcopy; do
7480 if test -n "$ncn_tool_prefix"; then
7481 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7482 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7483 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7484 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7485 if test "${ac_cv_prog_OBJCOPY+set}" = set; then
7486 echo $ECHO_N "(cached
) $ECHO_C" >&6
7488 if test -n "$OBJCOPY"; then
7489 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
7491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7495 test -z "$as_dir" && as_dir=.
7496 for ac_exec_ext in '' $ac_executable_extensions; do
7497 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7498 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
7499 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7507 OBJCOPY=$ac_cv_prog_OBJCOPY
7508 if test -n "$OBJCOPY"; then
7509 echo "$as_me:$LINENO: result
: $OBJCOPY" >&5
7510 echo "${ECHO_T}$OBJCOPY" >&6
7512 echo "$as_me:$LINENO: result
: no
" >&5
7513 echo "${ECHO_T}no
" >&6
7517 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
7518 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7519 set dummy ${ncn_progname}; ac_word=$2
7520 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7521 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7522 if test "${ac_cv_prog_OBJCOPY+set}" = set; then
7523 echo $ECHO_N "(cached
) $ECHO_C" >&6
7525 if test -n "$OBJCOPY"; then
7526 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
7528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7532 test -z "$as_dir" && as_dir=.
7533 for ac_exec_ext in '' $ac_executable_extensions; do
7534 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7535 ac_cv_prog_OBJCOPY="${ncn_progname}"
7536 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7544 OBJCOPY=$ac_cv_prog_OBJCOPY
7545 if test -n "$OBJCOPY"; then
7546 echo "$as_me:$LINENO: result
: $OBJCOPY" >&5
7547 echo "${ECHO_T}$OBJCOPY" >&6
7549 echo "$as_me:$LINENO: result
: no
" >&5
7550 echo "${ECHO_T}no
" >&6
7554 test -n "$ac_cv_prog_OBJCOPY" && break
7557 if test -z "$ac_cv_prog_OBJCOPY" ; then
7559 if test $build = $host ; then
7562 OBJCOPY="${ncn_tool_prefix}$2"
7568 if test -n "$OBJDUMP"; then
7569 ac_cv_prog_OBJDUMP=$OBJDUMP
7570 elif test -n "$ac_cv_prog_OBJDUMP"; then
7571 OBJDUMP=$ac_cv_prog_OBJDUMP
7574 if test -n "$ac_cv_prog_OBJDUMP"; then
7575 for ncn_progname in objdump; do
7576 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7577 set dummy ${ncn_progname}; ac_word=$2
7578 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7579 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7580 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
7581 echo $ECHO_N "(cached
) $ECHO_C" >&6
7583 if test -n "$OBJDUMP"; then
7584 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7590 test -z "$as_dir" && as_dir=.
7591 for ac_exec_ext in '' $ac_executable_extensions; do
7592 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7593 ac_cv_prog_OBJDUMP="${ncn_progname}"
7594 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7602 OBJDUMP=$ac_cv_prog_OBJDUMP
7603 if test -n "$OBJDUMP"; then
7604 echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
7605 echo "${ECHO_T}$OBJDUMP" >&6
7607 echo "$as_me:$LINENO: result
: no
" >&5
7608 echo "${ECHO_T}no
" >&6
7614 for ncn_progname in objdump; do
7615 if test -n "$ncn_tool_prefix"; then
7616 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7617 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7618 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7619 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7620 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
7621 echo $ECHO_N "(cached
) $ECHO_C" >&6
7623 if test -n "$OBJDUMP"; then
7624 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7630 test -z "$as_dir" && as_dir=.
7631 for ac_exec_ext in '' $ac_executable_extensions; do
7632 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7633 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
7634 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7642 OBJDUMP=$ac_cv_prog_OBJDUMP
7643 if test -n "$OBJDUMP"; then
7644 echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
7645 echo "${ECHO_T}$OBJDUMP" >&6
7647 echo "$as_me:$LINENO: result
: no
" >&5
7648 echo "${ECHO_T}no
" >&6
7652 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
7653 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7654 set dummy ${ncn_progname}; ac_word=$2
7655 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7656 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7657 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
7658 echo $ECHO_N "(cached
) $ECHO_C" >&6
7660 if test -n "$OBJDUMP"; then
7661 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7667 test -z "$as_dir" && as_dir=.
7668 for ac_exec_ext in '' $ac_executable_extensions; do
7669 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7670 ac_cv_prog_OBJDUMP="${ncn_progname}"
7671 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7679 OBJDUMP=$ac_cv_prog_OBJDUMP
7680 if test -n "$OBJDUMP"; then
7681 echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
7682 echo "${ECHO_T}$OBJDUMP" >&6
7684 echo "$as_me:$LINENO: result
: no
" >&5
7685 echo "${ECHO_T}no
" >&6
7689 test -n "$ac_cv_prog_OBJDUMP" && break
7692 if test -z "$ac_cv_prog_OBJDUMP" ; then
7694 if test $build = $host ; then
7697 OBJDUMP="${ncn_tool_prefix}$2"
7709 # Check whether --with-build-time-tools or --without-build-time-tools was given.
7710 if test "${with_build_time_tools+set}" = set; then
7711 withval="$with_build_time_tools"
7715 with_build_time_tools=
7716 { echo "$as_me:$LINENO: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
7717 echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
7721 with_build_time_tools=
7726 if test -n "$CC_FOR_TARGET"; then
7727 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
7728 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
7729 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
7732 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
7733 for ncn_progname in cc gcc; do
7734 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7735 set dummy ${ncn_progname}; ac_word=$2
7736 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7737 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7738 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then
7739 echo $ECHO_N "(cached
) $ECHO_C" >&6
7741 if test -n "$CC_FOR_TARGET"; then
7742 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
7744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7748 test -z "$as_dir" && as_dir=.
7749 for ac_exec_ext in '' $ac_executable_extensions; do
7750 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7751 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
7752 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7760 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
7761 if test -n "$CC_FOR_TARGET"; then
7762 echo "$as_me:$LINENO: result
: $CC_FOR_TARGET" >&5
7763 echo "${ECHO_T}$CC_FOR_TARGET" >&6
7765 echo "$as_me:$LINENO: result
: no
" >&5
7766 echo "${ECHO_T}no
" >&6
7772 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
7773 for ncn_progname in cc gcc; do
7774 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
7775 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
7776 if test -x $with_build_time_tools/${ncn_progname}; then
7777 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
7778 echo "$as_me:$LINENO: result
: yes" >&5
7779 echo "${ECHO_T}yes" >&6
7782 echo "$as_me:$LINENO: result
: no
" >&5
7783 echo "${ECHO_T}no
" >&6
7788 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
7789 for ncn_progname in cc gcc; do
7790 if test -n "$ncn_target_tool_prefix"; then
7791 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
7792 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
7793 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7794 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7795 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then
7796 echo $ECHO_N "(cached
) $ECHO_C" >&6
7798 if test -n "$CC_FOR_TARGET"; then
7799 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
7801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7805 test -z "$as_dir" && as_dir=.
7806 for ac_exec_ext in '' $ac_executable_extensions; do
7807 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7808 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
7809 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7817 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
7818 if test -n "$CC_FOR_TARGET"; then
7819 echo "$as_me:$LINENO: result
: $CC_FOR_TARGET" >&5
7820 echo "${ECHO_T}$CC_FOR_TARGET" >&6
7822 echo "$as_me:$LINENO: result
: no
" >&5
7823 echo "${ECHO_T}no
" >&6
7827 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
7828 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7829 set dummy ${ncn_progname}; ac_word=$2
7830 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7831 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7832 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then
7833 echo $ECHO_N "(cached
) $ECHO_C" >&6
7835 if test -n "$CC_FOR_TARGET"; then
7836 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
7838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7842 test -z "$as_dir" && as_dir=.
7843 for ac_exec_ext in '' $ac_executable_extensions; do
7844 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7845 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
7846 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7854 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
7855 if test -n "$CC_FOR_TARGET"; then
7856 echo "$as_me:$LINENO: result
: $CC_FOR_TARGET" >&5
7857 echo "${ECHO_T}$CC_FOR_TARGET" >&6
7859 echo "$as_me:$LINENO: result
: no
" >&5
7860 echo "${ECHO_T}no
" >&6
7864 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
7868 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
7870 if test $build = $target ; then
7873 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
7879 if test -n "$CXX_FOR_TARGET"; then
7880 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
7881 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
7882 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
7885 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
7886 for ncn_progname in c++ g++ cxx gxx; do
7887 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7888 set dummy ${ncn_progname}; ac_word=$2
7889 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7890 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7891 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then
7892 echo $ECHO_N "(cached
) $ECHO_C" >&6
7894 if test -n "$CXX_FOR_TARGET"; then
7895 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
7897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7901 test -z "$as_dir" && as_dir=.
7902 for ac_exec_ext in '' $ac_executable_extensions; do
7903 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7904 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
7905 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7913 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
7914 if test -n "$CXX_FOR_TARGET"; then
7915 echo "$as_me:$LINENO: result
: $CXX_FOR_TARGET" >&5
7916 echo "${ECHO_T}$CXX_FOR_TARGET" >&6
7918 echo "$as_me:$LINENO: result
: no
" >&5
7919 echo "${ECHO_T}no
" >&6
7925 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
7926 for ncn_progname in c++ g++ cxx gxx; do
7927 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
7928 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
7929 if test -x $with_build_time_tools/${ncn_progname}; then
7930 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
7931 echo "$as_me:$LINENO: result
: yes" >&5
7932 echo "${ECHO_T}yes" >&6
7935 echo "$as_me:$LINENO: result
: no
" >&5
7936 echo "${ECHO_T}no
" >&6
7941 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
7942 for ncn_progname in c++ g++ cxx gxx; do
7943 if test -n "$ncn_target_tool_prefix"; then
7944 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
7945 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
7946 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7947 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7948 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then
7949 echo $ECHO_N "(cached
) $ECHO_C" >&6
7951 if test -n "$CXX_FOR_TARGET"; then
7952 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
7954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7958 test -z "$as_dir" && as_dir=.
7959 for ac_exec_ext in '' $ac_executable_extensions; do
7960 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7961 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
7962 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7970 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
7971 if test -n "$CXX_FOR_TARGET"; then
7972 echo "$as_me:$LINENO: result
: $CXX_FOR_TARGET" >&5
7973 echo "${ECHO_T}$CXX_FOR_TARGET" >&6
7975 echo "$as_me:$LINENO: result
: no
" >&5
7976 echo "${ECHO_T}no
" >&6
7980 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
7981 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7982 set dummy ${ncn_progname}; ac_word=$2
7983 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7984 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7985 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then
7986 echo $ECHO_N "(cached
) $ECHO_C" >&6
7988 if test -n "$CXX_FOR_TARGET"; then
7989 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
7991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7995 test -z "$as_dir" && as_dir=.
7996 for ac_exec_ext in '' $ac_executable_extensions; do
7997 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7998 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
7999 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8007 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
8008 if test -n "$CXX_FOR_TARGET"; then
8009 echo "$as_me:$LINENO: result
: $CXX_FOR_TARGET" >&5
8010 echo "${ECHO_T}$CXX_FOR_TARGET" >&6
8012 echo "$as_me:$LINENO: result
: no
" >&5
8013 echo "${ECHO_T}no
" >&6
8017 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
8021 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
8022 set dummy c++ g++ cxx gxx
8023 if test $build = $target ; then
8026 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
8032 if test -n "$GCC_FOR_TARGET"; then
8033 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
8034 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
8035 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
8038 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
8039 for ncn_progname in gcc; do
8040 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8041 set dummy ${ncn_progname}; ac_word=$2
8042 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8043 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8044 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then
8045 echo $ECHO_N "(cached
) $ECHO_C" >&6
8047 if test -n "$GCC_FOR_TARGET"; then
8048 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
8050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8054 test -z "$as_dir" && as_dir=.
8055 for ac_exec_ext in '' $ac_executable_extensions; do
8056 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8057 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
8058 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8066 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
8067 if test -n "$GCC_FOR_TARGET"; then
8068 echo "$as_me:$LINENO: result
: $GCC_FOR_TARGET" >&5
8069 echo "${ECHO_T}$GCC_FOR_TARGET" >&6
8071 echo "$as_me:$LINENO: result
: no
" >&5
8072 echo "${ECHO_T}no
" >&6
8078 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
8079 for ncn_progname in gcc; do
8080 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
8081 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
8082 if test -x $with_build_time_tools/${ncn_progname}; then
8083 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8084 echo "$as_me:$LINENO: result
: yes" >&5
8085 echo "${ECHO_T}yes" >&6
8088 echo "$as_me:$LINENO: result
: no
" >&5
8089 echo "${ECHO_T}no
" >&6
8094 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
8095 for ncn_progname in gcc; do
8096 if test -n "$ncn_target_tool_prefix"; then
8097 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8098 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
8099 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8100 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8101 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then
8102 echo $ECHO_N "(cached
) $ECHO_C" >&6
8104 if test -n "$GCC_FOR_TARGET"; then
8105 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
8107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8111 test -z "$as_dir" && as_dir=.
8112 for ac_exec_ext in '' $ac_executable_extensions; do
8113 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8114 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
8115 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8123 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
8124 if test -n "$GCC_FOR_TARGET"; then
8125 echo "$as_me:$LINENO: result
: $GCC_FOR_TARGET" >&5
8126 echo "${ECHO_T}$GCC_FOR_TARGET" >&6
8128 echo "$as_me:$LINENO: result
: no
" >&5
8129 echo "${ECHO_T}no
" >&6
8133 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
8134 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8135 set dummy ${ncn_progname}; ac_word=$2
8136 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8137 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8138 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then
8139 echo $ECHO_N "(cached
) $ECHO_C" >&6
8141 if test -n "$GCC_FOR_TARGET"; then
8142 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
8144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8148 test -z "$as_dir" && as_dir=.
8149 for ac_exec_ext in '' $ac_executable_extensions; do
8150 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8151 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
8152 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8160 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
8161 if test -n "$GCC_FOR_TARGET"; then
8162 echo "$as_me:$LINENO: result
: $GCC_FOR_TARGET" >&5
8163 echo "${ECHO_T}$GCC_FOR_TARGET" >&6
8165 echo "$as_me:$LINENO: result
: no
" >&5
8166 echo "${ECHO_T}no
" >&6
8170 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
8174 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
8175 GCC_FOR_TARGET="${CC_FOR_TARGET}"
8180 if test -n "$GCJ_FOR_TARGET"; then
8181 ac_cv_prog_GCJ_FOR_TARGET=$GCJ_FOR_TARGET
8182 elif test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
8183 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
8186 if test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
8187 for ncn_progname in gcj; do
8188 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8189 set dummy ${ncn_progname}; ac_word=$2
8190 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8191 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8192 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then
8193 echo $ECHO_N "(cached
) $ECHO_C" >&6
8195 if test -n "$GCJ_FOR_TARGET"; then
8196 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
8198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8202 test -z "$as_dir" && as_dir=.
8203 for ac_exec_ext in '' $ac_executable_extensions; do
8204 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8205 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
8206 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8214 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
8215 if test -n "$GCJ_FOR_TARGET"; then
8216 echo "$as_me:$LINENO: result
: $GCJ_FOR_TARGET" >&5
8217 echo "${ECHO_T}$GCJ_FOR_TARGET" >&6
8219 echo "$as_me:$LINENO: result
: no
" >&5
8220 echo "${ECHO_T}no
" >&6
8226 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test -n "$with_build_time_tools"; then
8227 for ncn_progname in gcj; do
8228 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
8229 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
8230 if test -x $with_build_time_tools/${ncn_progname}; then
8231 ac_cv_prog_GCJ_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8232 echo "$as_me:$LINENO: result
: yes" >&5
8233 echo "${ECHO_T}yes" >&6
8236 echo "$as_me:$LINENO: result
: no
" >&5
8237 echo "${ECHO_T}no
" >&6
8242 if test -z "$ac_cv_prog_GCJ_FOR_TARGET"; then
8243 for ncn_progname in gcj; do
8244 if test -n "$ncn_target_tool_prefix"; then
8245 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8246 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
8247 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8248 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8249 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then
8250 echo $ECHO_N "(cached
) $ECHO_C" >&6
8252 if test -n "$GCJ_FOR_TARGET"; then
8253 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
8255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8259 test -z "$as_dir" && as_dir=.
8260 for ac_exec_ext in '' $ac_executable_extensions; do
8261 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8262 ac_cv_prog_GCJ_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
8263 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8271 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
8272 if test -n "$GCJ_FOR_TARGET"; then
8273 echo "$as_me:$LINENO: result
: $GCJ_FOR_TARGET" >&5
8274 echo "${ECHO_T}$GCJ_FOR_TARGET" >&6
8276 echo "$as_me:$LINENO: result
: no
" >&5
8277 echo "${ECHO_T}no
" >&6
8281 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test $build = $target ; then
8282 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8283 set dummy ${ncn_progname}; ac_word=$2
8284 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8285 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8286 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then
8287 echo $ECHO_N "(cached
) $ECHO_C" >&6
8289 if test -n "$GCJ_FOR_TARGET"; then
8290 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
8292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8296 test -z "$as_dir" && as_dir=.
8297 for ac_exec_ext in '' $ac_executable_extensions; do
8298 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8299 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
8300 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8308 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
8309 if test -n "$GCJ_FOR_TARGET"; then
8310 echo "$as_me:$LINENO: result
: $GCJ_FOR_TARGET" >&5
8311 echo "${ECHO_T}$GCJ_FOR_TARGET" >&6
8313 echo "$as_me:$LINENO: result
: no
" >&5
8314 echo "${ECHO_T}no
" >&6
8318 test -n "$ac_cv_prog_GCJ_FOR_TARGET" && break
8322 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" ; then
8324 if test $build = $target ; then
8327 GCJ_FOR_TARGET="${ncn_target_tool_prefix}$2"
8333 if test -n "$GFORTRAN_FOR_TARGET"; then
8334 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
8335 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
8336 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
8339 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
8340 for ncn_progname in gfortran; do
8341 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8342 set dummy ${ncn_progname}; ac_word=$2
8343 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8344 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8345 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then
8346 echo $ECHO_N "(cached
) $ECHO_C" >&6
8348 if test -n "$GFORTRAN_FOR_TARGET"; then
8349 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
8351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8355 test -z "$as_dir" && as_dir=.
8356 for ac_exec_ext in '' $ac_executable_extensions; do
8357 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8358 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
8359 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8367 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
8368 if test -n "$GFORTRAN_FOR_TARGET"; then
8369 echo "$as_me:$LINENO: result
: $GFORTRAN_FOR_TARGET" >&5
8370 echo "${ECHO_T}$GFORTRAN_FOR_TARGET" >&6
8372 echo "$as_me:$LINENO: result
: no
" >&5
8373 echo "${ECHO_T}no
" >&6
8379 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
8380 for ncn_progname in gfortran; do
8381 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
8382 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
8383 if test -x $with_build_time_tools/${ncn_progname}; then
8384 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8385 echo "$as_me:$LINENO: result
: yes" >&5
8386 echo "${ECHO_T}yes" >&6
8389 echo "$as_me:$LINENO: result
: no
" >&5
8390 echo "${ECHO_T}no
" >&6
8395 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
8396 for ncn_progname in gfortran; do
8397 if test -n "$ncn_target_tool_prefix"; then
8398 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8399 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
8400 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8401 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8402 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then
8403 echo $ECHO_N "(cached
) $ECHO_C" >&6
8405 if test -n "$GFORTRAN_FOR_TARGET"; then
8406 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
8408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8412 test -z "$as_dir" && as_dir=.
8413 for ac_exec_ext in '' $ac_executable_extensions; do
8414 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8415 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
8416 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8424 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
8425 if test -n "$GFORTRAN_FOR_TARGET"; then
8426 echo "$as_me:$LINENO: result
: $GFORTRAN_FOR_TARGET" >&5
8427 echo "${ECHO_T}$GFORTRAN_FOR_TARGET" >&6
8429 echo "$as_me:$LINENO: result
: no
" >&5
8430 echo "${ECHO_T}no
" >&6
8434 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
8435 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8436 set dummy ${ncn_progname}; ac_word=$2
8437 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8438 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8439 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then
8440 echo $ECHO_N "(cached
) $ECHO_C" >&6
8442 if test -n "$GFORTRAN_FOR_TARGET"; then
8443 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
8445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8449 test -z "$as_dir" && as_dir=.
8450 for ac_exec_ext in '' $ac_executable_extensions; do
8451 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8452 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
8453 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8461 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
8462 if test -n "$GFORTRAN_FOR_TARGET"; then
8463 echo "$as_me:$LINENO: result
: $GFORTRAN_FOR_TARGET" >&5
8464 echo "${ECHO_T}$GFORTRAN_FOR_TARGET" >&6
8466 echo "$as_me:$LINENO: result
: no
" >&5
8467 echo "${ECHO_T}no
" >&6
8471 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
8475 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
8477 if test $build = $target ; then
8478 GFORTRAN_FOR_TARGET="$2"
8480 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
8486 cat > conftest.c << \EOF
8491 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
8492 have_gcc_for_target=yes
8494 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
8495 have_gcc_for_target=no
8502 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
8503 if test -n "$with_build_time_tools"; then
8504 echo "$as_me:$LINENO: checking
for ar in $with_build_time_tools" >&5
8505 echo $ECHO_N "checking
for ar in $with_build_time_tools...
$ECHO_C" >&6
8506 if test -x $with_build_time_tools/ar; then
8507 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
8508 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
8509 echo "$as_me:$LINENO: result
: $ac_cv_path_AR_FOR_TARGET" >&5
8510 echo "${ECHO_T}$ac_cv_path_AR_FOR_TARGET" >&6
8512 echo "$as_me:$LINENO: result
: no
" >&5
8513 echo "${ECHO_T}no
" >&6
8515 elif test $build != $host && test $have_gcc_for_target = yes; then
8516 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
8517 test $AR_FOR_TARGET=ar && AR_FOR_TARGET=
8518 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
8521 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
8522 # Extract the first word of "ar", so it can be a program name with args.
8523 set dummy ar; ac_word=$2
8524 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8525 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8526 if test "${ac_cv_path_AR_FOR_TARGET+set}" = set; then
8527 echo $ECHO_N "(cached
) $ECHO_C" >&6
8529 case $AR_FOR_TARGET in
8531 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
8534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8535 for as_dir in $gcc_cv_tool_dirs
8538 test -z "$as_dir" && as_dir=.
8539 for ac_exec_ext in '' $ac_executable_extensions; do
8540 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8541 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
8542 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8551 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
8553 if test -n "$AR_FOR_TARGET"; then
8554 echo "$as_me:$LINENO: result
: $AR_FOR_TARGET" >&5
8555 echo "${ECHO_T}$AR_FOR_TARGET" >&6
8557 echo "$as_me:$LINENO: result
: no
" >&5
8558 echo "${ECHO_T}no
" >&6
8562 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
8565 if test -n "$AR_FOR_TARGET"; then
8566 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
8567 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
8568 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
8571 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
8572 for ncn_progname in ar; do
8573 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8574 set dummy ${ncn_progname}; ac_word=$2
8575 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8576 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8577 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then
8578 echo $ECHO_N "(cached
) $ECHO_C" >&6
8580 if test -n "$AR_FOR_TARGET"; then
8581 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
8583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8587 test -z "$as_dir" && as_dir=.
8588 for ac_exec_ext in '' $ac_executable_extensions; do
8589 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8590 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
8591 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8599 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
8600 if test -n "$AR_FOR_TARGET"; then
8601 echo "$as_me:$LINENO: result
: $AR_FOR_TARGET" >&5
8602 echo "${ECHO_T}$AR_FOR_TARGET" >&6
8604 echo "$as_me:$LINENO: result
: no
" >&5
8605 echo "${ECHO_T}no
" >&6
8611 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
8612 for ncn_progname in ar; do
8613 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
8614 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
8615 if test -x $with_build_time_tools/${ncn_progname}; then
8616 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8617 echo "$as_me:$LINENO: result
: yes" >&5
8618 echo "${ECHO_T}yes" >&6
8621 echo "$as_me:$LINENO: result
: no
" >&5
8622 echo "${ECHO_T}no
" >&6
8627 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
8628 for ncn_progname in ar; do
8629 if test -n "$ncn_target_tool_prefix"; then
8630 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8631 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
8632 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8633 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8634 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then
8635 echo $ECHO_N "(cached
) $ECHO_C" >&6
8637 if test -n "$AR_FOR_TARGET"; then
8638 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
8640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8644 test -z "$as_dir" && as_dir=.
8645 for ac_exec_ext in '' $ac_executable_extensions; do
8646 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8647 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
8648 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8656 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
8657 if test -n "$AR_FOR_TARGET"; then
8658 echo "$as_me:$LINENO: result
: $AR_FOR_TARGET" >&5
8659 echo "${ECHO_T}$AR_FOR_TARGET" >&6
8661 echo "$as_me:$LINENO: result
: no
" >&5
8662 echo "${ECHO_T}no
" >&6
8666 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
8667 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8668 set dummy ${ncn_progname}; ac_word=$2
8669 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8670 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8671 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then
8672 echo $ECHO_N "(cached
) $ECHO_C" >&6
8674 if test -n "$AR_FOR_TARGET"; then
8675 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
8677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8681 test -z "$as_dir" && as_dir=.
8682 for ac_exec_ext in '' $ac_executable_extensions; do
8683 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8684 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
8685 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8693 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
8694 if test -n "$AR_FOR_TARGET"; then
8695 echo "$as_me:$LINENO: result
: $AR_FOR_TARGET" >&5
8696 echo "${ECHO_T}$AR_FOR_TARGET" >&6
8698 echo "$as_me:$LINENO: result
: no
" >&5
8699 echo "${ECHO_T}no
" >&6
8703 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
8707 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
8709 if test $build = $target ; then
8712 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
8717 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
8723 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
8724 if test -n "$with_build_time_tools"; then
8725 echo "$as_me:$LINENO: checking
for as
in $with_build_time_tools" >&5
8726 echo $ECHO_N "checking
for as
in $with_build_time_tools...
$ECHO_C" >&6
8727 if test -x $with_build_time_tools/as; then
8728 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
8729 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
8730 echo "$as_me:$LINENO: result
: $ac_cv_path_AS_FOR_TARGET" >&5
8731 echo "${ECHO_T}$ac_cv_path_AS_FOR_TARGET" >&6
8733 echo "$as_me:$LINENO: result
: no
" >&5
8734 echo "${ECHO_T}no
" >&6
8736 elif test $build != $host && test $have_gcc_for_target = yes; then
8737 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
8738 test $AS_FOR_TARGET=as && AS_FOR_TARGET=
8739 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
8742 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
8743 # Extract the first word of "as
", so it can be a program name with args.
8744 set dummy as; ac_word=$2
8745 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8746 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8747 if test "${ac_cv_path_AS_FOR_TARGET+set}" = set; then
8748 echo $ECHO_N "(cached
) $ECHO_C" >&6
8750 case $AS_FOR_TARGET in
8752 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
8755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8756 for as_dir in $gcc_cv_tool_dirs
8759 test -z "$as_dir" && as_dir=.
8760 for ac_exec_ext in '' $ac_executable_extensions; do
8761 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8762 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
8763 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8772 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
8774 if test -n "$AS_FOR_TARGET"; then
8775 echo "$as_me:$LINENO: result
: $AS_FOR_TARGET" >&5
8776 echo "${ECHO_T}$AS_FOR_TARGET" >&6
8778 echo "$as_me:$LINENO: result
: no
" >&5
8779 echo "${ECHO_T}no
" >&6
8783 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
8786 if test -n "$AS_FOR_TARGET"; then
8787 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
8788 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
8789 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
8792 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
8793 for ncn_progname in as; do
8794 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8795 set dummy ${ncn_progname}; ac_word=$2
8796 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8797 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8798 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then
8799 echo $ECHO_N "(cached
) $ECHO_C" >&6
8801 if test -n "$AS_FOR_TARGET"; then
8802 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
8804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8808 test -z "$as_dir" && as_dir=.
8809 for ac_exec_ext in '' $ac_executable_extensions; do
8810 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8811 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
8812 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8820 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
8821 if test -n "$AS_FOR_TARGET"; then
8822 echo "$as_me:$LINENO: result
: $AS_FOR_TARGET" >&5
8823 echo "${ECHO_T}$AS_FOR_TARGET" >&6
8825 echo "$as_me:$LINENO: result
: no
" >&5
8826 echo "${ECHO_T}no
" >&6
8832 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
8833 for ncn_progname in as; do
8834 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
8835 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
8836 if test -x $with_build_time_tools/${ncn_progname}; then
8837 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8838 echo "$as_me:$LINENO: result
: yes" >&5
8839 echo "${ECHO_T}yes" >&6
8842 echo "$as_me:$LINENO: result
: no
" >&5
8843 echo "${ECHO_T}no
" >&6
8848 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
8849 for ncn_progname in as; do
8850 if test -n "$ncn_target_tool_prefix"; then
8851 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8852 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
8853 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8854 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8855 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then
8856 echo $ECHO_N "(cached
) $ECHO_C" >&6
8858 if test -n "$AS_FOR_TARGET"; then
8859 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
8861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8865 test -z "$as_dir" && as_dir=.
8866 for ac_exec_ext in '' $ac_executable_extensions; do
8867 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8868 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
8869 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8877 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
8878 if test -n "$AS_FOR_TARGET"; then
8879 echo "$as_me:$LINENO: result
: $AS_FOR_TARGET" >&5
8880 echo "${ECHO_T}$AS_FOR_TARGET" >&6
8882 echo "$as_me:$LINENO: result
: no
" >&5
8883 echo "${ECHO_T}no
" >&6
8887 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
8888 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8889 set dummy ${ncn_progname}; ac_word=$2
8890 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8891 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8892 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then
8893 echo $ECHO_N "(cached
) $ECHO_C" >&6
8895 if test -n "$AS_FOR_TARGET"; then
8896 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
8898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8902 test -z "$as_dir" && as_dir=.
8903 for ac_exec_ext in '' $ac_executable_extensions; do
8904 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8905 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
8906 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8914 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
8915 if test -n "$AS_FOR_TARGET"; then
8916 echo "$as_me:$LINENO: result
: $AS_FOR_TARGET" >&5
8917 echo "${ECHO_T}$AS_FOR_TARGET" >&6
8919 echo "$as_me:$LINENO: result
: no
" >&5
8920 echo "${ECHO_T}no
" >&6
8924 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
8928 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
8930 if test $build = $target ; then
8933 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
8938 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
8944 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
8945 if test -n "$with_build_time_tools"; then
8946 echo "$as_me:$LINENO: checking
for dlltool
in $with_build_time_tools" >&5
8947 echo $ECHO_N "checking
for dlltool
in $with_build_time_tools...
$ECHO_C" >&6
8948 if test -x $with_build_time_tools/dlltool; then
8949 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
8950 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
8951 echo "$as_me:$LINENO: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
8952 echo "${ECHO_T}$ac_cv_path_DLLTOOL_FOR_TARGET" >&6
8954 echo "$as_me:$LINENO: result
: no
" >&5
8955 echo "${ECHO_T}no
" >&6
8957 elif test $build != $host && test $have_gcc_for_target = yes; then
8958 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
8959 test $DLLTOOL_FOR_TARGET=dlltool && DLLTOOL_FOR_TARGET=
8960 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
8963 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
8964 # Extract the first word of "dlltool
", so it can be a program name with args.
8965 set dummy dlltool; ac_word=$2
8966 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8967 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8968 if test "${ac_cv_path_DLLTOOL_FOR_TARGET+set}" = set; then
8969 echo $ECHO_N "(cached
) $ECHO_C" >&6
8971 case $DLLTOOL_FOR_TARGET in
8973 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
8976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8977 for as_dir in $gcc_cv_tool_dirs
8980 test -z "$as_dir" && as_dir=.
8981 for ac_exec_ext in '' $ac_executable_extensions; do
8982 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8983 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
8984 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8993 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
8995 if test -n "$DLLTOOL_FOR_TARGET"; then
8996 echo "$as_me:$LINENO: result
: $DLLTOOL_FOR_TARGET" >&5
8997 echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6
8999 echo "$as_me:$LINENO: result
: no
" >&5
9000 echo "${ECHO_T}no
" >&6
9004 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
9007 if test -n "$DLLTOOL_FOR_TARGET"; then
9008 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
9009 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
9010 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
9013 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
9014 for ncn_progname in dlltool; do
9015 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9016 set dummy ${ncn_progname}; ac_word=$2
9017 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9018 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9019 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then
9020 echo $ECHO_N "(cached
) $ECHO_C" >&6
9022 if test -n "$DLLTOOL_FOR_TARGET"; then
9023 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
9025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9029 test -z "$as_dir" && as_dir=.
9030 for ac_exec_ext in '' $ac_executable_extensions; do
9031 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9032 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
9033 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9041 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
9042 if test -n "$DLLTOOL_FOR_TARGET"; then
9043 echo "$as_me:$LINENO: result
: $DLLTOOL_FOR_TARGET" >&5
9044 echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6
9046 echo "$as_me:$LINENO: result
: no
" >&5
9047 echo "${ECHO_T}no
" >&6
9053 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
9054 for ncn_progname in dlltool; do
9055 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9056 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
9057 if test -x $with_build_time_tools/${ncn_progname}; then
9058 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9059 echo "$as_me:$LINENO: result
: yes" >&5
9060 echo "${ECHO_T}yes" >&6
9063 echo "$as_me:$LINENO: result
: no
" >&5
9064 echo "${ECHO_T}no
" >&6
9069 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
9070 for ncn_progname in dlltool; do
9071 if test -n "$ncn_target_tool_prefix"; then
9072 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9073 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9074 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9075 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9076 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then
9077 echo $ECHO_N "(cached
) $ECHO_C" >&6
9079 if test -n "$DLLTOOL_FOR_TARGET"; then
9080 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
9082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9086 test -z "$as_dir" && as_dir=.
9087 for ac_exec_ext in '' $ac_executable_extensions; do
9088 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9089 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9090 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9098 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
9099 if test -n "$DLLTOOL_FOR_TARGET"; then
9100 echo "$as_me:$LINENO: result
: $DLLTOOL_FOR_TARGET" >&5
9101 echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6
9103 echo "$as_me:$LINENO: result
: no
" >&5
9104 echo "${ECHO_T}no
" >&6
9108 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
9109 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9110 set dummy ${ncn_progname}; ac_word=$2
9111 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9112 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9113 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then
9114 echo $ECHO_N "(cached
) $ECHO_C" >&6
9116 if test -n "$DLLTOOL_FOR_TARGET"; then
9117 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
9119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9123 test -z "$as_dir" && as_dir=.
9124 for ac_exec_ext in '' $ac_executable_extensions; do
9125 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9126 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
9127 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9135 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
9136 if test -n "$DLLTOOL_FOR_TARGET"; then
9137 echo "$as_me:$LINENO: result
: $DLLTOOL_FOR_TARGET" >&5
9138 echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6
9140 echo "$as_me:$LINENO: result
: no
" >&5
9141 echo "${ECHO_T}no
" >&6
9145 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
9149 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
9151 if test $build = $target ; then
9152 DLLTOOL_FOR_TARGET="$2"
9154 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
9159 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
9165 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
9166 if test -n "$with_build_time_tools"; then
9167 echo "$as_me:$LINENO: checking
for ld
in $with_build_time_tools" >&5
9168 echo $ECHO_N "checking
for ld
in $with_build_time_tools...
$ECHO_C" >&6
9169 if test -x $with_build_time_tools/ld; then
9170 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
9171 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
9172 echo "$as_me:$LINENO: result
: $ac_cv_path_LD_FOR_TARGET" >&5
9173 echo "${ECHO_T}$ac_cv_path_LD_FOR_TARGET" >&6
9175 echo "$as_me:$LINENO: result
: no
" >&5
9176 echo "${ECHO_T}no
" >&6
9178 elif test $build != $host && test $have_gcc_for_target = yes; then
9179 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
9180 test $LD_FOR_TARGET=ld && LD_FOR_TARGET=
9181 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
9184 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
9185 # Extract the first word of "ld
", so it can be a program name with args.
9186 set dummy ld; ac_word=$2
9187 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9188 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9189 if test "${ac_cv_path_LD_FOR_TARGET+set}" = set; then
9190 echo $ECHO_N "(cached
) $ECHO_C" >&6
9192 case $LD_FOR_TARGET in
9194 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
9197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9198 for as_dir in $gcc_cv_tool_dirs
9201 test -z "$as_dir" && as_dir=.
9202 for ac_exec_ext in '' $ac_executable_extensions; do
9203 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9204 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
9205 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9214 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
9216 if test -n "$LD_FOR_TARGET"; then
9217 echo "$as_me:$LINENO: result
: $LD_FOR_TARGET" >&5
9218 echo "${ECHO_T}$LD_FOR_TARGET" >&6
9220 echo "$as_me:$LINENO: result
: no
" >&5
9221 echo "${ECHO_T}no
" >&6
9225 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
9228 if test -n "$LD_FOR_TARGET"; then
9229 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
9230 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
9231 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
9234 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
9235 for ncn_progname in ld; do
9236 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9237 set dummy ${ncn_progname}; ac_word=$2
9238 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9239 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9240 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then
9241 echo $ECHO_N "(cached
) $ECHO_C" >&6
9243 if test -n "$LD_FOR_TARGET"; then
9244 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
9246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9250 test -z "$as_dir" && as_dir=.
9251 for ac_exec_ext in '' $ac_executable_extensions; do
9252 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9253 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
9254 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9262 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
9263 if test -n "$LD_FOR_TARGET"; then
9264 echo "$as_me:$LINENO: result
: $LD_FOR_TARGET" >&5
9265 echo "${ECHO_T}$LD_FOR_TARGET" >&6
9267 echo "$as_me:$LINENO: result
: no
" >&5
9268 echo "${ECHO_T}no
" >&6
9274 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
9275 for ncn_progname in ld; do
9276 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9277 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
9278 if test -x $with_build_time_tools/${ncn_progname}; then
9279 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9280 echo "$as_me:$LINENO: result
: yes" >&5
9281 echo "${ECHO_T}yes" >&6
9284 echo "$as_me:$LINENO: result
: no
" >&5
9285 echo "${ECHO_T}no
" >&6
9290 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
9291 for ncn_progname in ld; do
9292 if test -n "$ncn_target_tool_prefix"; then
9293 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9294 set dummy ${ncn_target_tool_prefix}${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_LD_FOR_TARGET+set}" = set; then
9298 echo $ECHO_N "(cached
) $ECHO_C" >&6
9300 if test -n "$LD_FOR_TARGET"; then
9301 ac_cv_prog_LD_FOR_TARGET="$LD_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_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9311 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9319 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
9320 if test -n "$LD_FOR_TARGET"; then
9321 echo "$as_me:$LINENO: result
: $LD_FOR_TARGET" >&5
9322 echo "${ECHO_T}$LD_FOR_TARGET" >&6
9324 echo "$as_me:$LINENO: result
: no
" >&5
9325 echo "${ECHO_T}no
" >&6
9329 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
9330 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9331 set dummy ${ncn_progname}; ac_word=$2
9332 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9333 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9334 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then
9335 echo $ECHO_N "(cached
) $ECHO_C" >&6
9337 if test -n "$LD_FOR_TARGET"; then
9338 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
9340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9344 test -z "$as_dir" && as_dir=.
9345 for ac_exec_ext in '' $ac_executable_extensions; do
9346 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9347 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
9348 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9356 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
9357 if test -n "$LD_FOR_TARGET"; then
9358 echo "$as_me:$LINENO: result
: $LD_FOR_TARGET" >&5
9359 echo "${ECHO_T}$LD_FOR_TARGET" >&6
9361 echo "$as_me:$LINENO: result
: no
" >&5
9362 echo "${ECHO_T}no
" >&6
9366 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
9370 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
9372 if test $build = $target ; then
9375 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
9380 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
9386 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
9387 if test -n "$with_build_time_tools"; then
9388 echo "$as_me:$LINENO: checking
for lipo
in $with_build_time_tools" >&5
9389 echo $ECHO_N "checking
for lipo
in $with_build_time_tools...
$ECHO_C" >&6
9390 if test -x $with_build_time_tools/lipo; then
9391 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
9392 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
9393 echo "$as_me:$LINENO: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
9394 echo "${ECHO_T}$ac_cv_path_LIPO_FOR_TARGET" >&6
9396 echo "$as_me:$LINENO: result
: no
" >&5
9397 echo "${ECHO_T}no
" >&6
9399 elif test $build != $host && test $have_gcc_for_target = yes; then
9400 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
9401 test $LIPO_FOR_TARGET=lipo && LIPO_FOR_TARGET=
9402 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
9405 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
9406 # Extract the first word of "lipo
", so it can be a program name with args.
9407 set dummy lipo; ac_word=$2
9408 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9409 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9410 if test "${ac_cv_path_LIPO_FOR_TARGET+set}" = set; then
9411 echo $ECHO_N "(cached
) $ECHO_C" >&6
9413 case $LIPO_FOR_TARGET in
9415 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
9418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9419 for as_dir in $gcc_cv_tool_dirs
9422 test -z "$as_dir" && as_dir=.
9423 for ac_exec_ext in '' $ac_executable_extensions; do
9424 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9425 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
9426 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9435 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
9437 if test -n "$LIPO_FOR_TARGET"; then
9438 echo "$as_me:$LINENO: result
: $LIPO_FOR_TARGET" >&5
9439 echo "${ECHO_T}$LIPO_FOR_TARGET" >&6
9441 echo "$as_me:$LINENO: result
: no
" >&5
9442 echo "${ECHO_T}no
" >&6
9446 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
9449 if test -n "$LIPO_FOR_TARGET"; then
9450 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
9451 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
9452 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
9455 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
9456 for ncn_progname in lipo; do
9457 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9458 set dummy ${ncn_progname}; ac_word=$2
9459 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9460 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9461 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then
9462 echo $ECHO_N "(cached
) $ECHO_C" >&6
9464 if test -n "$LIPO_FOR_TARGET"; then
9465 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
9467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9471 test -z "$as_dir" && as_dir=.
9472 for ac_exec_ext in '' $ac_executable_extensions; do
9473 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9474 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
9475 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9483 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
9484 if test -n "$LIPO_FOR_TARGET"; then
9485 echo "$as_me:$LINENO: result
: $LIPO_FOR_TARGET" >&5
9486 echo "${ECHO_T}$LIPO_FOR_TARGET" >&6
9488 echo "$as_me:$LINENO: result
: no
" >&5
9489 echo "${ECHO_T}no
" >&6
9495 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
9496 for ncn_progname in lipo; do
9497 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9498 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
9499 if test -x $with_build_time_tools/${ncn_progname}; then
9500 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9501 echo "$as_me:$LINENO: result
: yes" >&5
9502 echo "${ECHO_T}yes" >&6
9505 echo "$as_me:$LINENO: result
: no
" >&5
9506 echo "${ECHO_T}no
" >&6
9511 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
9512 for ncn_progname in lipo; do
9513 if test -n "$ncn_target_tool_prefix"; then
9514 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9515 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9516 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9517 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9518 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then
9519 echo $ECHO_N "(cached
) $ECHO_C" >&6
9521 if test -n "$LIPO_FOR_TARGET"; then
9522 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
9524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9528 test -z "$as_dir" && as_dir=.
9529 for ac_exec_ext in '' $ac_executable_extensions; do
9530 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9531 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9532 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9540 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
9541 if test -n "$LIPO_FOR_TARGET"; then
9542 echo "$as_me:$LINENO: result
: $LIPO_FOR_TARGET" >&5
9543 echo "${ECHO_T}$LIPO_FOR_TARGET" >&6
9545 echo "$as_me:$LINENO: result
: no
" >&5
9546 echo "${ECHO_T}no
" >&6
9550 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
9551 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9552 set dummy ${ncn_progname}; ac_word=$2
9553 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9554 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9555 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then
9556 echo $ECHO_N "(cached
) $ECHO_C" >&6
9558 if test -n "$LIPO_FOR_TARGET"; then
9559 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
9561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9565 test -z "$as_dir" && as_dir=.
9566 for ac_exec_ext in '' $ac_executable_extensions; do
9567 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9568 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
9569 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9577 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
9578 if test -n "$LIPO_FOR_TARGET"; then
9579 echo "$as_me:$LINENO: result
: $LIPO_FOR_TARGET" >&5
9580 echo "${ECHO_T}$LIPO_FOR_TARGET" >&6
9582 echo "$as_me:$LINENO: result
: no
" >&5
9583 echo "${ECHO_T}no
" >&6
9587 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
9591 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
9593 if test $build = $target ; then
9594 LIPO_FOR_TARGET="$2"
9596 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
9601 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
9607 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
9608 if test -n "$with_build_time_tools"; then
9609 echo "$as_me:$LINENO: checking
for nm
in $with_build_time_tools" >&5
9610 echo $ECHO_N "checking
for nm
in $with_build_time_tools...
$ECHO_C" >&6
9611 if test -x $with_build_time_tools/nm; then
9612 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
9613 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
9614 echo "$as_me:$LINENO: result
: $ac_cv_path_NM_FOR_TARGET" >&5
9615 echo "${ECHO_T}$ac_cv_path_NM_FOR_TARGET" >&6
9617 echo "$as_me:$LINENO: result
: no
" >&5
9618 echo "${ECHO_T}no
" >&6
9620 elif test $build != $host && test $have_gcc_for_target = yes; then
9621 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
9622 test $NM_FOR_TARGET=nm && NM_FOR_TARGET=
9623 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
9626 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
9627 # Extract the first word of "nm
", so it can be a program name with args.
9628 set dummy nm; ac_word=$2
9629 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9630 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9631 if test "${ac_cv_path_NM_FOR_TARGET+set}" = set; then
9632 echo $ECHO_N "(cached
) $ECHO_C" >&6
9634 case $NM_FOR_TARGET in
9636 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
9639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9640 for as_dir in $gcc_cv_tool_dirs
9643 test -z "$as_dir" && as_dir=.
9644 for ac_exec_ext in '' $ac_executable_extensions; do
9645 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9646 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
9647 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9656 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
9658 if test -n "$NM_FOR_TARGET"; then
9659 echo "$as_me:$LINENO: result
: $NM_FOR_TARGET" >&5
9660 echo "${ECHO_T}$NM_FOR_TARGET" >&6
9662 echo "$as_me:$LINENO: result
: no
" >&5
9663 echo "${ECHO_T}no
" >&6
9667 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
9670 if test -n "$NM_FOR_TARGET"; then
9671 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
9672 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
9673 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
9676 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
9677 for ncn_progname in nm; do
9678 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9679 set dummy ${ncn_progname}; ac_word=$2
9680 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9681 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9682 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then
9683 echo $ECHO_N "(cached
) $ECHO_C" >&6
9685 if test -n "$NM_FOR_TARGET"; then
9686 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
9688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9692 test -z "$as_dir" && as_dir=.
9693 for ac_exec_ext in '' $ac_executable_extensions; do
9694 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9695 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
9696 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9704 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
9705 if test -n "$NM_FOR_TARGET"; then
9706 echo "$as_me:$LINENO: result
: $NM_FOR_TARGET" >&5
9707 echo "${ECHO_T}$NM_FOR_TARGET" >&6
9709 echo "$as_me:$LINENO: result
: no
" >&5
9710 echo "${ECHO_T}no
" >&6
9716 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
9717 for ncn_progname in nm; do
9718 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9719 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
9720 if test -x $with_build_time_tools/${ncn_progname}; then
9721 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9722 echo "$as_me:$LINENO: result
: yes" >&5
9723 echo "${ECHO_T}yes" >&6
9726 echo "$as_me:$LINENO: result
: no
" >&5
9727 echo "${ECHO_T}no
" >&6
9732 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
9733 for ncn_progname in nm; do
9734 if test -n "$ncn_target_tool_prefix"; then
9735 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9736 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9737 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9738 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9739 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then
9740 echo $ECHO_N "(cached
) $ECHO_C" >&6
9742 if test -n "$NM_FOR_TARGET"; then
9743 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
9745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9749 test -z "$as_dir" && as_dir=.
9750 for ac_exec_ext in '' $ac_executable_extensions; do
9751 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9752 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9753 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9761 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
9762 if test -n "$NM_FOR_TARGET"; then
9763 echo "$as_me:$LINENO: result
: $NM_FOR_TARGET" >&5
9764 echo "${ECHO_T}$NM_FOR_TARGET" >&6
9766 echo "$as_me:$LINENO: result
: no
" >&5
9767 echo "${ECHO_T}no
" >&6
9771 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
9772 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9773 set dummy ${ncn_progname}; ac_word=$2
9774 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9775 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9776 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then
9777 echo $ECHO_N "(cached
) $ECHO_C" >&6
9779 if test -n "$NM_FOR_TARGET"; then
9780 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
9782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9786 test -z "$as_dir" && as_dir=.
9787 for ac_exec_ext in '' $ac_executable_extensions; do
9788 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9789 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
9790 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9798 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
9799 if test -n "$NM_FOR_TARGET"; then
9800 echo "$as_me:$LINENO: result
: $NM_FOR_TARGET" >&5
9801 echo "${ECHO_T}$NM_FOR_TARGET" >&6
9803 echo "$as_me:$LINENO: result
: no
" >&5
9804 echo "${ECHO_T}no
" >&6
9808 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
9812 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
9814 if test $build = $target ; then
9817 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
9822 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
9828 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
9829 if test -n "$with_build_time_tools"; then
9830 echo "$as_me:$LINENO: checking
for objdump
in $with_build_time_tools" >&5
9831 echo $ECHO_N "checking
for objdump
in $with_build_time_tools...
$ECHO_C" >&6
9832 if test -x $with_build_time_tools/objdump; then
9833 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
9834 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
9835 echo "$as_me:$LINENO: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
9836 echo "${ECHO_T}$ac_cv_path_OBJDUMP_FOR_TARGET" >&6
9838 echo "$as_me:$LINENO: result
: no
" >&5
9839 echo "${ECHO_T}no
" >&6
9841 elif test $build != $host && test $have_gcc_for_target = yes; then
9842 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
9843 test $OBJDUMP_FOR_TARGET=objdump && OBJDUMP_FOR_TARGET=
9844 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
9847 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
9848 # Extract the first word of "objdump
", so it can be a program name with args.
9849 set dummy objdump; ac_word=$2
9850 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9851 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9852 if test "${ac_cv_path_OBJDUMP_FOR_TARGET+set}" = set; then
9853 echo $ECHO_N "(cached
) $ECHO_C" >&6
9855 case $OBJDUMP_FOR_TARGET in
9857 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
9860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9861 for as_dir in $gcc_cv_tool_dirs
9864 test -z "$as_dir" && as_dir=.
9865 for ac_exec_ext in '' $ac_executable_extensions; do
9866 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9867 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
9868 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9877 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
9879 if test -n "$OBJDUMP_FOR_TARGET"; then
9880 echo "$as_me:$LINENO: result
: $OBJDUMP_FOR_TARGET" >&5
9881 echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6
9883 echo "$as_me:$LINENO: result
: no
" >&5
9884 echo "${ECHO_T}no
" >&6
9888 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
9891 if test -n "$OBJDUMP_FOR_TARGET"; then
9892 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
9893 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
9894 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
9897 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
9898 for ncn_progname in objdump; do
9899 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9900 set dummy ${ncn_progname}; ac_word=$2
9901 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9902 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9903 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then
9904 echo $ECHO_N "(cached
) $ECHO_C" >&6
9906 if test -n "$OBJDUMP_FOR_TARGET"; then
9907 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
9909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9913 test -z "$as_dir" && as_dir=.
9914 for ac_exec_ext in '' $ac_executable_extensions; do
9915 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9916 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
9917 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9925 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
9926 if test -n "$OBJDUMP_FOR_TARGET"; then
9927 echo "$as_me:$LINENO: result
: $OBJDUMP_FOR_TARGET" >&5
9928 echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6
9930 echo "$as_me:$LINENO: result
: no
" >&5
9931 echo "${ECHO_T}no
" >&6
9937 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
9938 for ncn_progname in objdump; do
9939 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9940 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
9941 if test -x $with_build_time_tools/${ncn_progname}; then
9942 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9943 echo "$as_me:$LINENO: result
: yes" >&5
9944 echo "${ECHO_T}yes" >&6
9947 echo "$as_me:$LINENO: result
: no
" >&5
9948 echo "${ECHO_T}no
" >&6
9953 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
9954 for ncn_progname in objdump; do
9955 if test -n "$ncn_target_tool_prefix"; then
9956 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9957 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9958 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9959 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9960 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then
9961 echo $ECHO_N "(cached
) $ECHO_C" >&6
9963 if test -n "$OBJDUMP_FOR_TARGET"; then
9964 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
9966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9970 test -z "$as_dir" && as_dir=.
9971 for ac_exec_ext in '' $ac_executable_extensions; do
9972 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9973 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9974 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9982 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
9983 if test -n "$OBJDUMP_FOR_TARGET"; then
9984 echo "$as_me:$LINENO: result
: $OBJDUMP_FOR_TARGET" >&5
9985 echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6
9987 echo "$as_me:$LINENO: result
: no
" >&5
9988 echo "${ECHO_T}no
" >&6
9992 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
9993 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9994 set dummy ${ncn_progname}; ac_word=$2
9995 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9996 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9997 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then
9998 echo $ECHO_N "(cached
) $ECHO_C" >&6
10000 if test -n "$OBJDUMP_FOR_TARGET"; then
10001 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
10003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10004 for as_dir in $PATH
10007 test -z "$as_dir" && as_dir=.
10008 for ac_exec_ext in '' $ac_executable_extensions; do
10009 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10010 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
10011 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10019 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
10020 if test -n "$OBJDUMP_FOR_TARGET"; then
10021 echo "$as_me:$LINENO: result
: $OBJDUMP_FOR_TARGET" >&5
10022 echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6
10024 echo "$as_me:$LINENO: result
: no
" >&5
10025 echo "${ECHO_T}no
" >&6
10029 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
10033 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
10035 if test $build = $target ; then
10036 OBJDUMP_FOR_TARGET="$2"
10038 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
10043 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
10049 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
10050 if test -n "$with_build_time_tools"; then
10051 echo "$as_me:$LINENO: checking
for ranlib
in $with_build_time_tools" >&5
10052 echo $ECHO_N "checking
for ranlib
in $with_build_time_tools...
$ECHO_C" >&6
10053 if test -x $with_build_time_tools/ranlib; then
10054 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
10055 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
10056 echo "$as_me:$LINENO: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
10057 echo "${ECHO_T}$ac_cv_path_RANLIB_FOR_TARGET" >&6
10059 echo "$as_me:$LINENO: result
: no
" >&5
10060 echo "${ECHO_T}no
" >&6
10062 elif test $build != $host && test $have_gcc_for_target = yes; then
10063 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
10064 test $RANLIB_FOR_TARGET=ranlib && RANLIB_FOR_TARGET=
10065 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
10068 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10069 # Extract the first word of "ranlib
", so it can be a program name with args.
10070 set dummy ranlib; ac_word=$2
10071 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10072 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10073 if test "${ac_cv_path_RANLIB_FOR_TARGET+set}" = set; then
10074 echo $ECHO_N "(cached
) $ECHO_C" >&6
10076 case $RANLIB_FOR_TARGET in
10078 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
10081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10082 for as_dir in $gcc_cv_tool_dirs
10085 test -z "$as_dir" && as_dir=.
10086 for ac_exec_ext in '' $ac_executable_extensions; do
10087 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10088 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10089 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10098 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
10100 if test -n "$RANLIB_FOR_TARGET"; then
10101 echo "$as_me:$LINENO: result
: $RANLIB_FOR_TARGET" >&5
10102 echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6
10104 echo "$as_me:$LINENO: result
: no
" >&5
10105 echo "${ECHO_T}no
" >&6
10109 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
10112 if test -n "$RANLIB_FOR_TARGET"; then
10113 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
10114 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
10115 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
10118 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
10119 for ncn_progname in ranlib; do
10120 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10121 set dummy ${ncn_progname}; ac_word=$2
10122 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10123 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10124 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then
10125 echo $ECHO_N "(cached
) $ECHO_C" >&6
10127 if test -n "$RANLIB_FOR_TARGET"; then
10128 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
10130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10131 for as_dir in $PATH
10134 test -z "$as_dir" && as_dir=.
10135 for ac_exec_ext in '' $ac_executable_extensions; do
10136 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10137 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
10138 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10146 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
10147 if test -n "$RANLIB_FOR_TARGET"; then
10148 echo "$as_me:$LINENO: result
: $RANLIB_FOR_TARGET" >&5
10149 echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6
10151 echo "$as_me:$LINENO: result
: no
" >&5
10152 echo "${ECHO_T}no
" >&6
10158 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
10159 for ncn_progname in ranlib; do
10160 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10161 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
10162 if test -x $with_build_time_tools/${ncn_progname}; then
10163 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10164 echo "$as_me:$LINENO: result
: yes" >&5
10165 echo "${ECHO_T}yes" >&6
10168 echo "$as_me:$LINENO: result
: no
" >&5
10169 echo "${ECHO_T}no
" >&6
10174 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
10175 for ncn_progname in ranlib; do
10176 if test -n "$ncn_target_tool_prefix"; then
10177 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10178 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10179 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10180 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10181 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then
10182 echo $ECHO_N "(cached
) $ECHO_C" >&6
10184 if test -n "$RANLIB_FOR_TARGET"; then
10185 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
10187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10188 for as_dir in $PATH
10191 test -z "$as_dir" && as_dir=.
10192 for ac_exec_ext in '' $ac_executable_extensions; do
10193 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10194 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10195 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10203 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
10204 if test -n "$RANLIB_FOR_TARGET"; then
10205 echo "$as_me:$LINENO: result
: $RANLIB_FOR_TARGET" >&5
10206 echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6
10208 echo "$as_me:$LINENO: result
: no
" >&5
10209 echo "${ECHO_T}no
" >&6
10213 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
10214 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10215 set dummy ${ncn_progname}; ac_word=$2
10216 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10217 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10218 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then
10219 echo $ECHO_N "(cached
) $ECHO_C" >&6
10221 if test -n "$RANLIB_FOR_TARGET"; then
10222 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
10224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10225 for as_dir in $PATH
10228 test -z "$as_dir" && as_dir=.
10229 for ac_exec_ext in '' $ac_executable_extensions; do
10230 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10231 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
10232 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10240 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
10241 if test -n "$RANLIB_FOR_TARGET"; then
10242 echo "$as_me:$LINENO: result
: $RANLIB_FOR_TARGET" >&5
10243 echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6
10245 echo "$as_me:$LINENO: result
: no
" >&5
10246 echo "${ECHO_T}no
" >&6
10250 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
10254 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
10256 if test $build = $target ; then
10257 RANLIB_FOR_TARGET="$2"
10259 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
10264 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
10270 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
10271 if test -n "$with_build_time_tools"; then
10272 echo "$as_me:$LINENO: checking
for strip
in $with_build_time_tools" >&5
10273 echo $ECHO_N "checking
for strip
in $with_build_time_tools...
$ECHO_C" >&6
10274 if test -x $with_build_time_tools/strip; then
10275 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
10276 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
10277 echo "$as_me:$LINENO: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
10278 echo "${ECHO_T}$ac_cv_path_STRIP_FOR_TARGET" >&6
10280 echo "$as_me:$LINENO: result
: no
" >&5
10281 echo "${ECHO_T}no
" >&6
10283 elif test $build != $host && test $have_gcc_for_target = yes; then
10284 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
10285 test $STRIP_FOR_TARGET=strip && STRIP_FOR_TARGET=
10286 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
10289 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10290 # Extract the first word of "strip
", so it can be a program name with args.
10291 set dummy strip; 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_path_STRIP_FOR_TARGET+set}" = set; then
10295 echo $ECHO_N "(cached
) $ECHO_C" >&6
10297 case $STRIP_FOR_TARGET in
10299 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
10302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10303 for as_dir in $gcc_cv_tool_dirs
10306 test -z "$as_dir" && as_dir=.
10307 for ac_exec_ext in '' $ac_executable_extensions; do
10308 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10309 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10310 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10319 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
10321 if test -n "$STRIP_FOR_TARGET"; then
10322 echo "$as_me:$LINENO: result
: $STRIP_FOR_TARGET" >&5
10323 echo "${ECHO_T}$STRIP_FOR_TARGET" >&6
10325 echo "$as_me:$LINENO: result
: no
" >&5
10326 echo "${ECHO_T}no
" >&6
10330 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
10333 if test -n "$STRIP_FOR_TARGET"; then
10334 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
10335 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
10336 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
10339 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
10340 for ncn_progname in strip; do
10341 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10342 set dummy ${ncn_progname}; ac_word=$2
10343 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10344 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10345 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then
10346 echo $ECHO_N "(cached
) $ECHO_C" >&6
10348 if test -n "$STRIP_FOR_TARGET"; then
10349 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
10351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10352 for as_dir in $PATH
10355 test -z "$as_dir" && as_dir=.
10356 for ac_exec_ext in '' $ac_executable_extensions; do
10357 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10358 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
10359 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10367 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
10368 if test -n "$STRIP_FOR_TARGET"; then
10369 echo "$as_me:$LINENO: result
: $STRIP_FOR_TARGET" >&5
10370 echo "${ECHO_T}$STRIP_FOR_TARGET" >&6
10372 echo "$as_me:$LINENO: result
: no
" >&5
10373 echo "${ECHO_T}no
" >&6
10379 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
10380 for ncn_progname in strip; do
10381 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10382 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
10383 if test -x $with_build_time_tools/${ncn_progname}; then
10384 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10385 echo "$as_me:$LINENO: result
: yes" >&5
10386 echo "${ECHO_T}yes" >&6
10389 echo "$as_me:$LINENO: result
: no
" >&5
10390 echo "${ECHO_T}no
" >&6
10395 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
10396 for ncn_progname in strip; do
10397 if test -n "$ncn_target_tool_prefix"; then
10398 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10399 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10400 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10401 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10402 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then
10403 echo $ECHO_N "(cached
) $ECHO_C" >&6
10405 if test -n "$STRIP_FOR_TARGET"; then
10406 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
10408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10409 for as_dir in $PATH
10412 test -z "$as_dir" && as_dir=.
10413 for ac_exec_ext in '' $ac_executable_extensions; do
10414 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10415 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10416 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10424 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
10425 if test -n "$STRIP_FOR_TARGET"; then
10426 echo "$as_me:$LINENO: result
: $STRIP_FOR_TARGET" >&5
10427 echo "${ECHO_T}$STRIP_FOR_TARGET" >&6
10429 echo "$as_me:$LINENO: result
: no
" >&5
10430 echo "${ECHO_T}no
" >&6
10434 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
10435 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10436 set dummy ${ncn_progname}; ac_word=$2
10437 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10438 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10439 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then
10440 echo $ECHO_N "(cached
) $ECHO_C" >&6
10442 if test -n "$STRIP_FOR_TARGET"; then
10443 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
10445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10446 for as_dir in $PATH
10449 test -z "$as_dir" && as_dir=.
10450 for ac_exec_ext in '' $ac_executable_extensions; do
10451 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10452 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
10453 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10461 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
10462 if test -n "$STRIP_FOR_TARGET"; then
10463 echo "$as_me:$LINENO: result
: $STRIP_FOR_TARGET" >&5
10464 echo "${ECHO_T}$STRIP_FOR_TARGET" >&6
10466 echo "$as_me:$LINENO: result
: no
" >&5
10467 echo "${ECHO_T}no
" >&6
10471 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
10475 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
10477 if test $build = $target ; then
10478 STRIP_FOR_TARGET="$2"
10480 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
10485 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
10491 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
10492 if test -n "$with_build_time_tools"; then
10493 echo "$as_me:$LINENO: checking
for windres
in $with_build_time_tools" >&5
10494 echo $ECHO_N "checking
for windres
in $with_build_time_tools...
$ECHO_C" >&6
10495 if test -x $with_build_time_tools/windres; then
10496 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
10497 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
10498 echo "$as_me:$LINENO: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
10499 echo "${ECHO_T}$ac_cv_path_WINDRES_FOR_TARGET" >&6
10501 echo "$as_me:$LINENO: result
: no
" >&5
10502 echo "${ECHO_T}no
" >&6
10504 elif test $build != $host && test $have_gcc_for_target = yes; then
10505 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
10506 test $WINDRES_FOR_TARGET=windres && WINDRES_FOR_TARGET=
10507 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
10510 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10511 # Extract the first word of "windres
", so it can be a program name with args.
10512 set dummy windres; ac_word=$2
10513 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10514 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10515 if test "${ac_cv_path_WINDRES_FOR_TARGET+set}" = set; then
10516 echo $ECHO_N "(cached
) $ECHO_C" >&6
10518 case $WINDRES_FOR_TARGET in
10520 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
10523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10524 for as_dir in $gcc_cv_tool_dirs
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_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10531 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10540 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
10542 if test -n "$WINDRES_FOR_TARGET"; then
10543 echo "$as_me:$LINENO: result
: $WINDRES_FOR_TARGET" >&5
10544 echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6
10546 echo "$as_me:$LINENO: result
: no
" >&5
10547 echo "${ECHO_T}no
" >&6
10551 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
10554 if test -n "$WINDRES_FOR_TARGET"; then
10555 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
10556 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
10557 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
10560 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
10561 for ncn_progname in windres; do
10562 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10563 set dummy ${ncn_progname}; ac_word=$2
10564 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10565 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10566 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then
10567 echo $ECHO_N "(cached
) $ECHO_C" >&6
10569 if test -n "$WINDRES_FOR_TARGET"; then
10570 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
10572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10573 for as_dir in $PATH
10576 test -z "$as_dir" && as_dir=.
10577 for ac_exec_ext in '' $ac_executable_extensions; do
10578 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10579 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
10580 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10588 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
10589 if test -n "$WINDRES_FOR_TARGET"; then
10590 echo "$as_me:$LINENO: result
: $WINDRES_FOR_TARGET" >&5
10591 echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6
10593 echo "$as_me:$LINENO: result
: no
" >&5
10594 echo "${ECHO_T}no
" >&6
10600 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
10601 for ncn_progname in windres; do
10602 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10603 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
10604 if test -x $with_build_time_tools/${ncn_progname}; then
10605 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10606 echo "$as_me:$LINENO: result
: yes" >&5
10607 echo "${ECHO_T}yes" >&6
10610 echo "$as_me:$LINENO: result
: no
" >&5
10611 echo "${ECHO_T}no
" >&6
10616 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
10617 for ncn_progname in windres; do
10618 if test -n "$ncn_target_tool_prefix"; then
10619 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10620 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10621 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10622 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10623 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then
10624 echo $ECHO_N "(cached
) $ECHO_C" >&6
10626 if test -n "$WINDRES_FOR_TARGET"; then
10627 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
10629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10630 for as_dir in $PATH
10633 test -z "$as_dir" && as_dir=.
10634 for ac_exec_ext in '' $ac_executable_extensions; do
10635 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10636 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10637 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10645 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
10646 if test -n "$WINDRES_FOR_TARGET"; then
10647 echo "$as_me:$LINENO: result
: $WINDRES_FOR_TARGET" >&5
10648 echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6
10650 echo "$as_me:$LINENO: result
: no
" >&5
10651 echo "${ECHO_T}no
" >&6
10655 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
10656 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10657 set dummy ${ncn_progname}; ac_word=$2
10658 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10659 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10660 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then
10661 echo $ECHO_N "(cached
) $ECHO_C" >&6
10663 if test -n "$WINDRES_FOR_TARGET"; then
10664 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
10666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10667 for as_dir in $PATH
10670 test -z "$as_dir" && as_dir=.
10671 for ac_exec_ext in '' $ac_executable_extensions; do
10672 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10673 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
10674 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10682 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
10683 if test -n "$WINDRES_FOR_TARGET"; then
10684 echo "$as_me:$LINENO: result
: $WINDRES_FOR_TARGET" >&5
10685 echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6
10687 echo "$as_me:$LINENO: result
: no
" >&5
10688 echo "${ECHO_T}no
" >&6
10692 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
10696 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
10698 if test $build = $target ; then
10699 WINDRES_FOR_TARGET="$2"
10701 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
10706 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
10710 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
10712 echo "$as_me:$LINENO: checking where to
find the target
ar" >&5
10713 echo $ECHO_N "checking where to
find the target
ar...
$ECHO_C" >&6
10714 if test "x
${build}" != "x
${host}" ; then
10715 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
10716 # We already found the complete path
10717 echo "$as_me:$LINENO: result
: pre-installed
in \
`dirname $AR_FOR_TARGET\`" >&5
10718 echo "${ECHO_T}pre-installed
in \
`dirname $AR_FOR_TARGET\`" >&6
10720 # Canadian cross, just use what we found
10721 echo "$as_me:$LINENO: result
: pre-installed
" >&5
10722 echo "${ECHO_T}pre-installed
" >&6
10726 case " ${configdirs} " in
10731 if test $ok = yes; then
10732 # An in-tree tool is available and we can use it
10733 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
10734 echo "$as_me:$LINENO: result
: just compiled
" >&5
10735 echo "${ECHO_T}just compiled
" >&6
10736 elif expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
10737 # We already found the complete path
10738 echo "$as_me:$LINENO: result
: pre-installed
in \
`dirname $AR_FOR_TARGET\`" >&5
10739 echo "${ECHO_T}pre-installed
in \
`dirname $AR_FOR_TARGET\`" >&6
10740 elif test "x
$target" = "x
$host"; then
10741 # We can use an host tool
10742 AR_FOR_TARGET='$(AR)'
10743 echo "$as_me:$LINENO: result
: host tool
" >&5
10744 echo "${ECHO_T}host tool
" >&6
10746 # We need a cross tool
10747 echo "$as_me:$LINENO: result
: pre-installed
" >&5
10748 echo "${ECHO_T}pre-installed
" >&6
10752 echo "$as_me:$LINENO: checking where to
find the target as
" >&5
10753 echo $ECHO_N "checking where to
find the target as...
$ECHO_C" >&6
10754 if test "x
${build}" != "x
${host}" ; then
10755 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
10756 # We already found the complete path
10757 echo "$as_me:$LINENO: result
: pre-installed
in \
`dirname $AS_FOR_TARGET\`" >&5
10758 echo "${ECHO_T}pre-installed
in \
`dirname $AS_FOR_TARGET\`" >&6
10760 # Canadian cross, just use what we found
10761 echo "$as_me:$LINENO: result
: pre-installed
" >&5
10762 echo "${ECHO_T}pre-installed
" >&6
10766 case " ${configdirs} " in
10771 if test $ok = yes; then
10772 # An in-tree tool is available and we can use it
10773 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
10774 echo "$as_me:$LINENO: result
: just compiled
" >&5
10775 echo "${ECHO_T}just compiled
" >&6
10776 elif expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
10777 # We already found the complete path
10778 echo "$as_me:$LINENO: result
: pre-installed
in \
`dirname $AS_FOR_TARGET\`" >&5
10779 echo "${ECHO_T}pre-installed
in \
`dirname $AS_FOR_TARGET\`" >&6
10780 elif test "x
$target" = "x
$host"; then
10781 # We can use an host tool
10782 AS_FOR_TARGET='$(AS)'
10783 echo "$as_me:$LINENO: result
: host tool
" >&5
10784 echo "${ECHO_T}host tool
" >&6
10786 # We need a cross tool
10787 echo "$as_me:$LINENO: result
: pre-installed
" >&5
10788 echo "${ECHO_T}pre-installed
" >&6
10792 echo "$as_me:$LINENO: checking where to
find the target cc
" >&5
10793 echo $ECHO_N "checking where to
find the target cc...
$ECHO_C" >&6
10794 if test "x
${build}" != "x
${host}" ; then
10795 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
10796 # We already found the complete path
10797 echo "$as_me:$LINENO: result
: pre-installed
in \
`dirname $CC_FOR_TARGET\`" >&5
10798 echo "${ECHO_T}pre-installed
in \
`dirname $CC_FOR_TARGET\`" >&6
10800 # Canadian cross, just use what we found
10801 echo "$as_me:$LINENO: result
: pre-installed
" >&5
10802 echo "${ECHO_T}pre-installed
" >&6
10806 case " ${configdirs} " in
10811 if test $ok = yes; then
10812 # An in-tree tool is available and we can use it
10813 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
10814 echo "$as_me:$LINENO: result
: just compiled
" >&5
10815 echo "${ECHO_T}just compiled
" >&6
10816 elif expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
10817 # We already found the complete path
10818 echo "$as_me:$LINENO: result
: pre-installed
in \
`dirname $CC_FOR_TARGET\`" >&5
10819 echo "${ECHO_T}pre-installed
in \
`dirname $CC_FOR_TARGET\`" >&6
10820 elif test "x
$target" = "x
$host"; then
10821 # We can use an host tool
10822 CC_FOR_TARGET='$(CC)'
10823 echo "$as_me:$LINENO: result
: host tool
" >&5
10824 echo "${ECHO_T}host tool
" >&6
10826 # We need a cross tool
10827 echo "$as_me:$LINENO: result
: pre-installed
" >&5
10828 echo "${ECHO_T}pre-installed
" >&6
10832 echo "$as_me:$LINENO: checking where to
find the target c
++" >&5
10833 echo $ECHO_N "checking where to
find the target c
++...
$ECHO_C" >&6
10834 if test "x
${build}" != "x
${host}" ; then
10835 if expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
10836 # We already found the complete path
10837 echo "$as_me:$LINENO: result
: pre-installed
in \
`dirname $CXX_FOR_TARGET\`" >&5
10838 echo "${ECHO_T}pre-installed
in \
`dirname $CXX_FOR_TARGET\`" >&6
10840 # Canadian cross, just use what we found
10841 echo "$as_me:$LINENO: result
: pre-installed
" >&5
10842 echo "${ECHO_T}pre-installed
" >&6
10846 case " ${configdirs} " in
10850 case ,${enable_languages}, in
10854 if test $ok = yes; then
10855 # An in-tree tool is available and we can use it
10856 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'
10857 echo "$as_me:$LINENO: result
: just compiled
" >&5
10858 echo "${ECHO_T}just compiled
" >&6
10859 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
10860 # We already found the complete path
10861 echo "$as_me:$LINENO: result
: pre-installed
in \
`dirname $CXX_FOR_TARGET\`" >&5
10862 echo "${ECHO_T}pre-installed
in \
`dirname $CXX_FOR_TARGET\`" >&6
10863 elif test "x
$target" = "x
$host"; then
10864 # We can use an host tool
10865 CXX_FOR_TARGET='$(CXX)'
10866 echo "$as_me:$LINENO: result
: host tool
" >&5
10867 echo "${ECHO_T}host tool
" >&6
10869 # We need a cross tool
10870 echo "$as_me:$LINENO: result
: pre-installed
" >&5
10871 echo "${ECHO_T}pre-installed
" >&6
10875 echo "$as_me:$LINENO: checking where to
find the target c
++ for libstdc
++" >&5
10876 echo $ECHO_N "checking where to
find the target c
++ for libstdc
++...
$ECHO_C" >&6
10877 if test "x
${build}" != "x
${host}" ; then
10878 if expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
10879 # We already found the complete path
10880 echo "$as_me:$LINENO: result
: pre-installed
in \
`dirname $RAW_CXX_FOR_TARGET\`" >&5
10881 echo "${ECHO_T}pre-installed
in \
`dirname $RAW_CXX_FOR_TARGET\`" >&6
10883 # Canadian cross, just use what we found
10884 echo "$as_me:$LINENO: result
: pre-installed
" >&5
10885 echo "${ECHO_T}pre-installed
" >&6
10889 case " ${configdirs} " in
10893 case ,${enable_languages}, in
10897 if test $ok = yes; then
10898 # An in-tree tool is available and we can use it
10899 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'
10900 echo "$as_me:$LINENO: result
: just compiled
" >&5
10901 echo "${ECHO_T}just compiled
" >&6
10902 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
10903 # We already found the complete path
10904 echo "$as_me:$LINENO: result
: pre-installed
in \
`dirname $RAW_CXX_FOR_TARGET\`" >&5
10905 echo "${ECHO_T}pre-installed
in \
`dirname $RAW_CXX_FOR_TARGET\`" >&6
10906 elif test "x
$target" = "x
$host"; then
10907 # We can use an host tool
10908 RAW_CXX_FOR_TARGET='$(CXX)'
10909 echo "$as_me:$LINENO: result
: host tool
" >&5
10910 echo "${ECHO_T}host tool
" >&6
10912 # We need a cross tool
10913 echo "$as_me:$LINENO: result
: pre-installed
" >&5
10914 echo "${ECHO_T}pre-installed
" >&6
10918 echo "$as_me:$LINENO: checking where to
find the target dlltool
" >&5
10919 echo $ECHO_N "checking where to
find the target dlltool...
$ECHO_C" >&6
10920 if test "x
${build}" != "x
${host}" ; then
10921 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
10922 # We already found the complete path
10923 echo "$as_me:$LINENO: result
: pre-installed
in \
`dirname $DLLTOOL_FOR_TARGET\`" >&5
10924 echo "${ECHO_T}pre-installed
in \
`dirname $DLLTOOL_FOR_TARGET\`" >&6
10926 # Canadian cross, just use what we found
10927 echo "$as_me:$LINENO: result
: pre-installed
" >&5
10928 echo "${ECHO_T}pre-installed
" >&6
10932 case " ${configdirs} " in
10937 if test $ok = yes; then
10938 # An in-tree tool is available and we can use it
10939 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
10940 echo "$as_me:$LINENO: result
: just compiled
" >&5
10941 echo "${ECHO_T}just compiled
" >&6
10942 elif expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
10943 # We already found the complete path
10944 echo "$as_me:$LINENO: result
: pre-installed
in \
`dirname $DLLTOOL_FOR_TARGET\`" >&5
10945 echo "${ECHO_T}pre-installed
in \
`dirname $DLLTOOL_FOR_TARGET\`" >&6
10946 elif test "x
$target" = "x
$host"; then
10947 # We can use an host tool
10948 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
10949 echo "$as_me:$LINENO: result
: host tool
" >&5
10950 echo "${ECHO_T}host tool
" >&6
10952 # We need a cross tool
10953 echo "$as_me:$LINENO: result
: pre-installed
" >&5
10954 echo "${ECHO_T}pre-installed
" >&6
10958 echo "$as_me:$LINENO: checking where to
find the target gcc
" >&5
10959 echo $ECHO_N "checking where to
find the target gcc...
$ECHO_C" >&6
10960 if test "x
${build}" != "x
${host}" ; then
10961 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
10962 # We already found the complete path
10963 echo "$as_me:$LINENO: result
: pre-installed
in \
`dirname $GCC_FOR_TARGET\`" >&5
10964 echo "${ECHO_T}pre-installed
in \
`dirname $GCC_FOR_TARGET\`" >&6
10966 # Canadian cross, just use what we found
10967 echo "$as_me:$LINENO: result
: pre-installed
" >&5
10968 echo "${ECHO_T}pre-installed
" >&6
10972 case " ${configdirs} " in
10977 if test $ok = yes; then
10978 # An in-tree tool is available and we can use it
10979 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
10980 echo "$as_me:$LINENO: result
: just compiled
" >&5
10981 echo "${ECHO_T}just compiled
" >&6
10982 elif expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
10983 # We already found the complete path
10984 echo "$as_me:$LINENO: result
: pre-installed
in \
`dirname $GCC_FOR_TARGET\`" >&5
10985 echo "${ECHO_T}pre-installed
in \
`dirname $GCC_FOR_TARGET\`" >&6
10986 elif test "x
$target" = "x
$host"; then
10987 # We can use an host tool
10988 GCC_FOR_TARGET='$()'
10989 echo "$as_me:$LINENO: result
: host tool
" >&5
10990 echo "${ECHO_T}host tool
" >&6
10992 # We need a cross tool
10993 echo "$as_me:$LINENO: result
: pre-installed
" >&5
10994 echo "${ECHO_T}pre-installed
" >&6
10998 echo "$as_me:$LINENO: checking where to
find the target gcj
" >&5
10999 echo $ECHO_N "checking where to
find the target gcj...
$ECHO_C" >&6
11000 if test "x
${build}" != "x
${host}" ; then
11001 if expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
11002 # We already found the complete path
11003 echo "$as_me:$LINENO: result
: pre-installed
in \
`dirname $GCJ_FOR_TARGET\`" >&5
11004 echo "${ECHO_T}pre-installed
in \
`dirname $GCJ_FOR_TARGET\`" >&6
11006 # Canadian cross, just use what we found
11007 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11008 echo "${ECHO_T}pre-installed
" >&6
11012 case " ${configdirs} " in
11016 case ,${enable_languages}, in
11020 if test $ok = yes; then
11021 # An in-tree tool is available and we can use it
11022 GCJ_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc/'
11023 echo "$as_me:$LINENO: result
: just compiled
" >&5
11024 echo "${ECHO_T}just compiled
" >&6
11025 elif expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
11026 # We already found the complete path
11027 echo "$as_me:$LINENO: result
: pre-installed
in \
`dirname $GCJ_FOR_TARGET\`" >&5
11028 echo "${ECHO_T}pre-installed
in \
`dirname $GCJ_FOR_TARGET\`" >&6
11029 elif test "x
$target" = "x
$host"; then
11030 # We can use an host tool
11031 GCJ_FOR_TARGET='$(GCJ)'
11032 echo "$as_me:$LINENO: result
: host tool
" >&5
11033 echo "${ECHO_T}host tool
" >&6
11035 # We need a cross tool
11036 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11037 echo "${ECHO_T}pre-installed
" >&6
11041 echo "$as_me:$LINENO: checking where to
find the target gfortran
" >&5
11042 echo $ECHO_N "checking where to
find the target gfortran...
$ECHO_C" >&6
11043 if test "x
${build}" != "x
${host}" ; then
11044 if expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
11045 # We already found the complete path
11046 echo "$as_me:$LINENO: result
: pre-installed
in \
`dirname $GFORTRAN_FOR_TARGET\`" >&5
11047 echo "${ECHO_T}pre-installed
in \
`dirname $GFORTRAN_FOR_TARGET\`" >&6
11049 # Canadian cross, just use what we found
11050 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11051 echo "${ECHO_T}pre-installed
" >&6
11055 case " ${configdirs} " in
11059 case ,${enable_languages}, in
11063 if test $ok = yes; then
11064 # An in-tree tool is available and we can use it
11065 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
11066 echo "$as_me:$LINENO: result
: just compiled
" >&5
11067 echo "${ECHO_T}just compiled
" >&6
11068 elif expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
11069 # We already found the complete path
11070 echo "$as_me:$LINENO: result
: pre-installed
in \
`dirname $GFORTRAN_FOR_TARGET\`" >&5
11071 echo "${ECHO_T}pre-installed
in \
`dirname $GFORTRAN_FOR_TARGET\`" >&6
11072 elif test "x
$target" = "x
$host"; then
11073 # We can use an host tool
11074 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
11075 echo "$as_me:$LINENO: result
: host tool
" >&5
11076 echo "${ECHO_T}host tool
" >&6
11078 # We need a cross tool
11079 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11080 echo "${ECHO_T}pre-installed
" >&6
11084 echo "$as_me:$LINENO: checking where to
find the target ld
" >&5
11085 echo $ECHO_N "checking where to
find the target ld...
$ECHO_C" >&6
11086 if test "x
${build}" != "x
${host}" ; then
11087 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
11088 # We already found the complete path
11089 echo "$as_me:$LINENO: result
: pre-installed
in \
`dirname $LD_FOR_TARGET\`" >&5
11090 echo "${ECHO_T}pre-installed
in \
`dirname $LD_FOR_TARGET\`" >&6
11092 # Canadian cross, just use what we found
11093 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11094 echo "${ECHO_T}pre-installed
" >&6
11098 case " ${configdirs} " in
11103 if test $ok = yes; then
11104 # An in-tree tool is available and we can use it
11105 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
11106 echo "$as_me:$LINENO: result
: just compiled
" >&5
11107 echo "${ECHO_T}just compiled
" >&6
11108 elif expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
11109 # We already found the complete path
11110 echo "$as_me:$LINENO: result
: pre-installed
in \
`dirname $LD_FOR_TARGET\`" >&5
11111 echo "${ECHO_T}pre-installed
in \
`dirname $LD_FOR_TARGET\`" >&6
11112 elif test "x
$target" = "x
$host"; then
11113 # We can use an host tool
11114 LD_FOR_TARGET='$(LD)'
11115 echo "$as_me:$LINENO: result
: host tool
" >&5
11116 echo "${ECHO_T}host tool
" >&6
11118 # We need a cross tool
11119 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11120 echo "${ECHO_T}pre-installed
" >&6
11124 echo "$as_me:$LINENO: checking where to
find the target lipo
" >&5
11125 echo $ECHO_N "checking where to
find the target lipo...
$ECHO_C" >&6
11126 if test "x
${build}" != "x
${host}" ; then
11127 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
11128 # We already found the complete path
11129 echo "$as_me:$LINENO: result
: pre-installed
in \
`dirname $LIPO_FOR_TARGET\`" >&5
11130 echo "${ECHO_T}pre-installed
in \
`dirname $LIPO_FOR_TARGET\`" >&6
11132 # Canadian cross, just use what we found
11133 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11134 echo "${ECHO_T}pre-installed
" >&6
11137 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
11138 # We already found the complete path
11139 echo "$as_me:$LINENO: result
: pre-installed
in \
`dirname $LIPO_FOR_TARGET\`" >&5
11140 echo "${ECHO_T}pre-installed
in \
`dirname $LIPO_FOR_TARGET\`" >&6
11141 elif test "x
$target" = "x
$host"; then
11142 # We can use an host tool
11143 LIPO_FOR_TARGET='$(LIPO)'
11144 echo "$as_me:$LINENO: result
: host tool
" >&5
11145 echo "${ECHO_T}host tool
" >&6
11147 # We need a cross tool
11148 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11149 echo "${ECHO_T}pre-installed
" >&6
11153 echo "$as_me:$LINENO: checking where to
find the target nm
" >&5
11154 echo $ECHO_N "checking where to
find the target nm...
$ECHO_C" >&6
11155 if test "x
${build}" != "x
${host}" ; then
11156 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
11157 # We already found the complete path
11158 echo "$as_me:$LINENO: result
: pre-installed
in \
`dirname $NM_FOR_TARGET\`" >&5
11159 echo "${ECHO_T}pre-installed
in \
`dirname $NM_FOR_TARGET\`" >&6
11161 # Canadian cross, just use what we found
11162 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11163 echo "${ECHO_T}pre-installed
" >&6
11167 case " ${configdirs} " in
11172 if test $ok = yes; then
11173 # An in-tree tool is available and we can use it
11174 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
11175 echo "$as_me:$LINENO: result
: just compiled
" >&5
11176 echo "${ECHO_T}just compiled
" >&6
11177 elif expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
11178 # We already found the complete path
11179 echo "$as_me:$LINENO: result
: pre-installed
in \
`dirname $NM_FOR_TARGET\`" >&5
11180 echo "${ECHO_T}pre-installed
in \
`dirname $NM_FOR_TARGET\`" >&6
11181 elif test "x
$target" = "x
$host"; then
11182 # We can use an host tool
11183 NM_FOR_TARGET='$(NM)'
11184 echo "$as_me:$LINENO: result
: host tool
" >&5
11185 echo "${ECHO_T}host tool
" >&6
11187 # We need a cross tool
11188 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11189 echo "${ECHO_T}pre-installed
" >&6
11193 echo "$as_me:$LINENO: checking where to
find the target objdump
" >&5
11194 echo $ECHO_N "checking where to
find the target objdump...
$ECHO_C" >&6
11195 if test "x
${build}" != "x
${host}" ; then
11196 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
11197 # We already found the complete path
11198 echo "$as_me:$LINENO: result
: pre-installed
in \
`dirname $OBJDUMP_FOR_TARGET\`" >&5
11199 echo "${ECHO_T}pre-installed
in \
`dirname $OBJDUMP_FOR_TARGET\`" >&6
11201 # Canadian cross, just use what we found
11202 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11203 echo "${ECHO_T}pre-installed
" >&6
11207 case " ${configdirs} " in
11212 if test $ok = yes; then
11213 # An in-tree tool is available and we can use it
11214 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
11215 echo "$as_me:$LINENO: result
: just compiled
" >&5
11216 echo "${ECHO_T}just compiled
" >&6
11217 elif expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
11218 # We already found the complete path
11219 echo "$as_me:$LINENO: result
: pre-installed
in \
`dirname $OBJDUMP_FOR_TARGET\`" >&5
11220 echo "${ECHO_T}pre-installed
in \
`dirname $OBJDUMP_FOR_TARGET\`" >&6
11221 elif test "x
$target" = "x
$host"; then
11222 # We can use an host tool
11223 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
11224 echo "$as_me:$LINENO: result
: host tool
" >&5
11225 echo "${ECHO_T}host tool
" >&6
11227 # We need a cross tool
11228 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11229 echo "${ECHO_T}pre-installed
" >&6
11233 echo "$as_me:$LINENO: checking where to
find the target ranlib
" >&5
11234 echo $ECHO_N "checking where to
find the target ranlib...
$ECHO_C" >&6
11235 if test "x
${build}" != "x
${host}" ; then
11236 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
11237 # We already found the complete path
11238 echo "$as_me:$LINENO: result
: pre-installed
in \
`dirname $RANLIB_FOR_TARGET\`" >&5
11239 echo "${ECHO_T}pre-installed
in \
`dirname $RANLIB_FOR_TARGET\`" >&6
11241 # Canadian cross, just use what we found
11242 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11243 echo "${ECHO_T}pre-installed
" >&6
11247 case " ${configdirs} " in
11252 if test $ok = yes; then
11253 # An in-tree tool is available and we can use it
11254 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
11255 echo "$as_me:$LINENO: result
: just compiled
" >&5
11256 echo "${ECHO_T}just compiled
" >&6
11257 elif expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
11258 # We already found the complete path
11259 echo "$as_me:$LINENO: result
: pre-installed
in \
`dirname $RANLIB_FOR_TARGET\`" >&5
11260 echo "${ECHO_T}pre-installed
in \
`dirname $RANLIB_FOR_TARGET\`" >&6
11261 elif test "x
$target" = "x
$host"; then
11262 # We can use an host tool
11263 RANLIB_FOR_TARGET='$(RANLIB)'
11264 echo "$as_me:$LINENO: result
: host tool
" >&5
11265 echo "${ECHO_T}host tool
" >&6
11267 # We need a cross tool
11268 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11269 echo "${ECHO_T}pre-installed
" >&6
11273 echo "$as_me:$LINENO: checking where to
find the target strip
" >&5
11274 echo $ECHO_N "checking where to
find the target strip...
$ECHO_C" >&6
11275 if test "x
${build}" != "x
${host}" ; then
11276 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
11277 # We already found the complete path
11278 echo "$as_me:$LINENO: result
: pre-installed
in \
`dirname $STRIP_FOR_TARGET\`" >&5
11279 echo "${ECHO_T}pre-installed
in \
`dirname $STRIP_FOR_TARGET\`" >&6
11281 # Canadian cross, just use what we found
11282 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11283 echo "${ECHO_T}pre-installed
" >&6
11287 case " ${configdirs} " in
11292 if test $ok = yes; then
11293 # An in-tree tool is available and we can use it
11294 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip'
11295 echo "$as_me:$LINENO: result
: just compiled
" >&5
11296 echo "${ECHO_T}just compiled
" >&6
11297 elif expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
11298 # We already found the complete path
11299 echo "$as_me:$LINENO: result
: pre-installed
in \
`dirname $STRIP_FOR_TARGET\`" >&5
11300 echo "${ECHO_T}pre-installed
in \
`dirname $STRIP_FOR_TARGET\`" >&6
11301 elif test "x
$target" = "x
$host"; then
11302 # We can use an host tool
11303 STRIP_FOR_TARGET='$(STRIP)'
11304 echo "$as_me:$LINENO: result
: host tool
" >&5
11305 echo "${ECHO_T}host tool
" >&6
11307 # We need a cross tool
11308 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11309 echo "${ECHO_T}pre-installed
" >&6
11313 echo "$as_me:$LINENO: checking where to
find the target windres
" >&5
11314 echo $ECHO_N "checking where to
find the target windres...
$ECHO_C" >&6
11315 if test "x
${build}" != "x
${host}" ; then
11316 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
11317 # We already found the complete path
11318 echo "$as_me:$LINENO: result
: pre-installed
in \
`dirname $WINDRES_FOR_TARGET\`" >&5
11319 echo "${ECHO_T}pre-installed
in \
`dirname $WINDRES_FOR_TARGET\`" >&6
11321 # Canadian cross, just use what we found
11322 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11323 echo "${ECHO_T}pre-installed
" >&6
11327 case " ${configdirs} " in
11332 if test $ok = yes; then
11333 # An in-tree tool is available and we can use it
11334 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
11335 echo "$as_me:$LINENO: result
: just compiled
" >&5
11336 echo "${ECHO_T}just compiled
" >&6
11337 elif expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
11338 # We already found the complete path
11339 echo "$as_me:$LINENO: result
: pre-installed
in \
`dirname $WINDRES_FOR_TARGET\`" >&5
11340 echo "${ECHO_T}pre-installed
in \
`dirname $WINDRES_FOR_TARGET\`" >&6
11341 elif test "x
$target" = "x
$host"; then
11342 # We can use an host tool
11343 WINDRES_FOR_TARGET='$(WINDRES)'
11344 echo "$as_me:$LINENO: result
: host tool
" >&5
11345 echo "${ECHO_T}host tool
" >&6
11347 # We need a cross tool
11348 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11349 echo "${ECHO_T}pre-installed
" >&6
11357 # Certain tools may need extra flags.
11358 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
11359 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
11360 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
11362 # When building target libraries, except in a Canadian cross, we use
11363 # the same toolchain as the compiler we just built.
11364 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
11365 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
11366 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
11367 if test $host = $build; then
11368 case " $configdirs " in
11370 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
11371 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
11372 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
11381 echo "$as_me:$LINENO: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
11382 echo $ECHO_N "checking whether to
enable maintainer-specific portions of Makefiles...
$ECHO_C" >&6
11383 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
11384 if test "${enable_maintainer_mode+set}" = set; then
11385 enableval="$enable_maintainer_mode"
11386 USE_MAINTAINER_MODE=$enableval
11388 USE_MAINTAINER_MODE=no
11390 echo "$as_me:$LINENO: result
: $USE_MAINTAINER_MODE" >&5
11391 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
11394 if test "$USE_MAINTAINER_MODE" = yes; then
11395 MAINTAINER_MODE_TRUE=
11396 MAINTAINER_MODE_FALSE='#'
11398 MAINTAINER_MODE_TRUE='#'
11399 MAINTAINER_MODE_FALSE=
11401 MAINT=$MAINTAINER_MODE_TRUE
11403 # ---------------------
11404 # GCC bootstrap support
11405 # ---------------------
11407 # Stage specific cflags for build.
11412 yes) stage1_cflags="-g -Wa,-J" ;;
11413 *) stage1_cflags="-g -J" ;;
11417 # This is aimed to mimic bootstrap with a non-GCC compiler to catch problems.
11418 if test "$GCC" = yes; then
11419 saved_CFLAGS="$CFLAGS"
11421 # Pass -fkeep-inline-functions for stage 1 if the GCC version supports it.
11422 CFLAGS="$CFLAGS -fkeep-inline-functions"
11423 echo "$as_me:$LINENO: checking whether
-fkeep-inline-functions is supported
" >&5
11424 echo $ECHO_N "checking whether
-fkeep-inline-functions is supported...
$ECHO_C" >&6
11425 cat >conftest.$ac_ext <<_ACEOF
11428 cat confdefs.h >>conftest.$ac_ext
11429 cat >>conftest.$ac_ext <<_ACEOF
11430 /* end confdefs.h. */
11440 rm -f conftest.$ac_objext
11441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11442 (eval $ac_compile) 2>conftest.er1
11444 grep -v '^ *+' conftest.er1 >conftest.err
11446 cat conftest.err >&5
11447 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11448 (exit $ac_status); } &&
11449 { ac_try='test -z "$ac_c_werror_flag"
11450 || test ! -s conftest.err'
11451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11452 (eval $ac_try) 2>&5
11454 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11455 (exit $ac_status); }; } &&
11456 { ac_try='test -s conftest.$ac_objext'
11457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11458 (eval $ac_try) 2>&5
11460 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11461 (exit $ac_status); }; }; then
11462 echo "$as_me:$LINENO: result
: yes" >&5
11463 echo "${ECHO_T}yes" >&6; stage1_cflags="$stage1_cflags -fkeep-inline-functions"
11465 echo "$as_me: failed program was
:" >&5
11466 sed 's/^/| /' conftest.$ac_ext >&5
11468 echo "$as_me:$LINENO: result
: no
" >&5
11469 echo "${ECHO_T}no
" >&6
11471 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11473 CFLAGS="$saved_CFLAGS"
11478 # Enable --enable-checking in stage1 of the compiler.
11479 # Check whether --enable-stage1-checking or --disable-stage1-checking was given.
11480 if test "${enable_stage1_checking+set}" = set; then
11481 enableval="$enable_stage1_checking"
11482 stage1_checking=--enable-checking=${enable_stage1_checking}
11484 if test "x
$enable_checking" = xno; then
11485 stage1_checking=--enable-checking
11487 stage1_checking=--enable-checking${enable_checking+=}$enable_checking
11492 # Enable -Werror in bootstrap stage2 and later.
11493 # Check whether --enable-werror or --disable-werror was given.
11494 if test "${enable_werror+set}" = set; then
11495 enableval="$enable_werror"
11498 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
11504 case ${enable_werror} in
11505 yes) stage2_werror_flag="--enable-werror-always" ;;
11506 *) stage2_werror_flag="" ;;
11510 # Flags needed to enable html installing and building
11512 # Check whether --with-datarootdir or --without-datarootdir was given.
11513 if test "${with_datarootdir+set}" = set; then
11514 withval="$with_datarootdir"
11515 datarootdir="\
${prefix}/${withval}"
11517 datarootdir="\
${prefix}/share
"
11521 # Check whether --with-docdir or --without-docdir was given.
11522 if test "${with_docdir+set}" = set; then
11523 withval="$with_docdir"
11524 docdir="\
${prefix}/${withval}"
11526 docdir="\
${datarootdir}/doc
"
11530 # Check whether --with-htmldir or --without-htmldir was given.
11531 if test "${with_htmldir+set}" = set; then
11532 withval="$with_htmldir"
11533 htmldir="\
${prefix}/${withval}"
11535 htmldir="\
${docdir}"
11542 ac_config_files="$ac_config_files Makefile
"
11543 cat >confcache <<\_ACEOF
11544 # This file is a shell script that caches the results of configure
11545 # tests run on this system so they can be shared between configure
11546 # scripts and configure runs, see configure's option --config-cache.
11547 # It is not useful on other systems. If it contains results you don't
11548 # want to keep, you may remove or edit it.
11550 # config.status only pays attention to the cache file if you give it
11551 # the --recheck option to rerun configure.
11553 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11554 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11555 # following values.
11559 # The following way of writing the cache mishandles newlines in values,
11560 # but we know of no workaround that is simple, portable, and efficient.
11561 # So, don't put newlines in cache variables' values.
11562 # Ultrix sh set writes to stderr and can't be redirected directly,
11563 # and sets the high bit in the cache file unless we assign to the vars.
11566 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11568 # `set' does not quote correctly, so add quotes (double-quote
11569 # substitution turns \\\\ into \\, and sed turns \\ into \).
11572 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
11575 # `set' quotes correctly as required by POSIX, so do not add quotes.
11577 "s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1=\\2/p
"
11584 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11586 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11588 if diff $cache_file confcache >/dev/null 2>&1; then :; else
11589 if test -w $cache_file; then
11590 test "x
$cache_file" != "x
/dev
/null
" && echo "updating cache
$cache_file"
11591 cat confcache >$cache_file
11593 echo "not updating unwritable cache
$cache_file"
11598 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
11599 # Let make expand exec_prefix.
11600 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
11602 # VPATH may cause trouble with some makes, so we remove $(srcdir),
11603 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
11604 # trailing colons and then remove the whole line if VPATH becomes empty
11605 # (actually we leave an empty line to preserve line numbers).
11606 if test "x
$srcdir" = x.; then
11607 ac_vpsub='/^[ ]*VPATH[ ]*=/{
11608 s/:*\$(srcdir):*/:/;
11609 s/:*\${srcdir}:*/:/;
11611 s/^\([^=]*=[ ]*\):*/\1/;
11617 # Transform confdefs.h into DEFS.
11618 # Protect against shell expansion while executing Makefile rules.
11619 # Protect against Makefile macro expansion.
11621 # If the first sed substitution is executed (which looks for macros that
11622 # take arguments), then we branch to the quote section. Otherwise,
11623 # look for a macro that doesn't take arguments.
11624 cat >confdef2opt.sed <<\_ACEOF
11627 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
11629 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
11633 s,[ `~#$^&*(){}\\|;'"<>?
],\\&,g
11639 # We use echo to avoid assuming a particular line-breaking character.
11640 # The extra dot is to prevent the shell from consuming trailing
11641 # line-breaks from the sub-command output. A line-break within
11642 # single-quotes doesn't work because, if this script is created in a
11643 # platform that uses two characters for line-breaks (e.g., DOS), tr
11645 ac_LF_and_DOT
=`echo; echo .`
11646 DEFS
=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
11647 rm -f confdef2opt.
sed
11652 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
11653 # 1. Remove the extension, and $U if already installed.
11654 ac_i
=`echo "$ac_i" |
11655 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
11657 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
11658 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
11660 LIBOBJS
=$ac_libobjs
11662 LTLIBOBJS
=$ac_ltlibobjs
11666 : ${CONFIG_STATUS=./config.status}
11667 ac_clean_files_save
=$ac_clean_files
11668 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
11669 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
11670 echo "$as_me: creating $CONFIG_STATUS" >&6;}
11671 cat >$CONFIG_STATUS <<_ACEOF
11673 # Generated by $as_me.
11674 # Run this file to recreate the current configuration.
11675 # Compiler output produced by configure, useful for debugging
11676 # configure, is in config.log if it exists.
11679 ac_cs_recheck=false
11681 SHELL=\${CONFIG_SHELL-$SHELL}
11684 cat >>$CONFIG_STATUS <<\_ACEOF
11685 ## --------------------- ##
11686 ## M4sh Initialization. ##
11687 ## --------------------- ##
11689 # Be Bourne compatible
11690 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
11693 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
11694 # is contrary to our usage. Disable this feature.
11695 alias -g '${1+"$@"}'='"$@"'
11696 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
11699 DUALCASE
=1; export DUALCASE
# for MKS sh
11701 # Support unset when possible.
11702 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
11709 # Work around bugs in pre-3.0 UWIN ksh.
11710 $as_unset ENV MAIL MAILPATH
11717 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
11718 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
11719 LC_TELEPHONE LC_TIME
11721 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
11722 eval $as_var=C
; export $as_var
11728 # Required to use basename.
11729 if expr a
: '\(a\)' >/dev
/null
2>&1; then
11735 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
11736 as_basename
=basename
11742 # Name of the executable.
11743 as_me
=`$as_basename "$0" ||
11744 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11745 X"$0" : 'X\(//\)$' \| \
11746 X"$0" : 'X\(/\)$' \| \
11747 . : '\(.\)' 2>/dev/null ||
11749 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
11750 /^X\/\(\/\/\)$/{ s//\1/; q; }
11751 /^X\/\(\/\).*/{ s//\1/; q; }
11755 # PATH needs CR, and LINENO needs CR and PATH.
11756 # Avoid depending upon Character Ranges.
11757 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
11758 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11759 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
11760 as_cr_digits
='0123456789'
11761 as_cr_alnum
=$as_cr_Letters$as_cr_digits
11763 # The user is always right.
11764 if test "${PATH_SEPARATOR+set}" != set; then
11765 echo "#! /bin/sh" >conf$$.sh
11766 echo "exit 0" >>conf$$.sh
11768 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
11777 as_lineno_1
=$LINENO
11778 as_lineno_2
=$LINENO
11779 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
11780 test "x$as_lineno_1" != "x$as_lineno_2" &&
11781 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
11782 # Find who we are. Look in the path if we contain no path at all
11785 *[\\/]* ) as_myself
=$0 ;;
11786 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11787 for as_dir
in $PATH
11790 test -z "$as_dir" && as_dir
=.
11791 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
11796 # We did not find ourselves, most probably we were run as `sh COMMAND'
11797 # in which case we are not to be found in the path.
11798 if test "x$as_myself" = x
; then
11801 if test ! -f "$as_myself"; then
11802 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
11803 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
11804 { (exit 1); exit 1; }; }
11806 case $CONFIG_SHELL in
11808 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11809 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
11812 test -z "$as_dir" && as_dir
=.
11813 for as_base
in sh bash ksh sh5
; do
11816 if ("$as_dir/$as_base" -c '
11817 as_lineno_1=$LINENO
11818 as_lineno_2=$LINENO
11819 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
11820 test "x$as_lineno_1" != "x$as_lineno_2" &&
11821 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
11822 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
11823 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
11824 CONFIG_SHELL
=$as_dir/$as_base
11825 export CONFIG_SHELL
11826 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
11834 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
11835 # uniformly replaced by the line number. The first 'sed' inserts a
11836 # line-number line before each line; the second 'sed' does the real
11837 # work. The second script uses 'N' to pair each line-number line
11838 # with the numbered line, and appends trailing '-' during
11839 # substitution so that $LINENO is not a special case at line end.
11840 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
11841 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
11842 sed '=' <$as_myself |
11847 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
11850 s,^['$as_cr_digits']*\n,,
11851 ' >$as_me.lineno
&&
11852 chmod +x
$as_me.lineno ||
11853 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
11854 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
11855 { (exit 1); exit 1; }; }
11857 # Don't try to exec as it changes $[0], causing all sort of problems
11858 # (the dirname of $[0] is not the place where we might find the
11859 # original and so on. Autoconf is especially sensible to this).
11861 # Exit status is that of the last command.
11866 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
11867 *c
*,-n*) ECHO_N
= ECHO_C
='
11869 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
11870 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
11873 if expr a
: '\(a\)' >/dev
/null
2>&1; then
11879 rm -f conf$$ conf$$.exe conf$$.
file
11881 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
11882 # We could just check for DJGPP; but this test a) works b) is more generic
11883 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
11884 if test -f conf$$.exe
; then
11885 # Don't use ln at all; we don't have any links
11890 elif ln conf$$.
file conf$$
2>/dev
/null
; then
11895 rm -f conf$$ conf$$.exe conf$$.
file
11897 if mkdir
-p .
2>/dev
/null
; then
11900 test -d .
/-p && rmdir .
/-p
11904 as_executable_p
="test -f"
11906 # Sed expression to map a string onto a valid CPP name.
11907 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11909 # Sed expression to map a string onto a valid variable name.
11910 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11914 # We need space, tab and new line, in precisely that order.
11924 # Open the log real soon, to keep \$[0] and so on meaningful, and to
11925 # report actual input values of CONFIG_FILES etc. instead of their
11926 # values after options handling. Logging --version etc. is OK.
11930 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
11931 ## Running $as_me. ##
11936 This file was extended by $as_me, which was
11937 generated by GNU Autoconf 2.59. Invocation command line was
11939 CONFIG_FILES = $CONFIG_FILES
11940 CONFIG_HEADERS = $CONFIG_HEADERS
11941 CONFIG_LINKS = $CONFIG_LINKS
11942 CONFIG_COMMANDS = $CONFIG_COMMANDS
11946 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
11950 # Files that config.status was made for.
11951 if test -n "$ac_config_files"; then
11952 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
11955 if test -n "$ac_config_headers"; then
11956 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
11959 if test -n "$ac_config_links"; then
11960 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
11963 if test -n "$ac_config_commands"; then
11964 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
11967 cat >>$CONFIG_STATUS <<\_ACEOF
11970 \`$as_me' instantiates files from templates according to the
11971 current configuration.
11973 Usage: $0 [OPTIONS] [FILE]...
11975 -h, --help print this help, then exit
11976 -V, --version print version number, then exit
11977 -q, --quiet do not print progress messages
11978 -d, --debug don't remove temporary files
11979 --recheck update $as_me by reconfiguring in the same conditions
11980 --file=FILE[:TEMPLATE]
11981 instantiate the configuration file FILE
11983 Configuration files:
11986 Report bugs to <bug-autoconf@gnu.org>."
11989 cat >>$CONFIG_STATUS <<_ACEOF
11992 configured by $0, generated by GNU Autoconf 2.59,
11993 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
11995 Copyright (C) 2003 Free Software Foundation, Inc.
11996 This config.status script is free software; the Free Software Foundation
11997 gives unlimited permission to copy, distribute and modify it."
12002 cat >>$CONFIG_STATUS <<\_ACEOF
12003 # If no file are specified by the user, then we need to provide default
12004 # value. By we need to know if files were specified by the user.
12010 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
12011 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
12019 *) # This is not an option, so the user has probably given explicit
12022 ac_need_defaults
=false
;;
12026 # Handling of the options.
12028 cat >>$CONFIG_STATUS <<\_ACEOF
12029 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
12031 --version |
--vers* |
-V )
12032 echo "$ac_cs_version"; exit 0 ;;
12034 # Conflict between --help and --header
12035 { { echo "$as_me:$LINENO: error: ambiguous option: $1
12036 Try \`$0 --help' for more information." >&5
12037 echo "$as_me: error: ambiguous option: $1
12038 Try \`$0 --help' for more information." >&2;}
12039 { (exit 1); exit 1; }; };;
12040 --help |
--hel |
-h )
12041 echo "$ac_cs_usage"; exit 0 ;;
12042 --debug |
--d* |
-d )
12044 --file |
--fil |
--fi |
--f )
12046 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
12047 ac_need_defaults
=false
;;
12048 --header |
--heade |
--head |
--hea )
12050 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
12051 ac_need_defaults
=false
;;
12052 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
12053 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
12056 # This is an error.
12057 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
12058 Try \`$0 --help' for more information." >&5
12059 echo "$as_me: error: unrecognized option: $1
12060 Try \`$0 --help' for more information." >&2;}
12061 { (exit 1); exit 1; }; } ;;
12063 *) ac_config_targets
="$ac_config_targets $1" ;;
12069 ac_configure_extra_args
=
12071 if $ac_cs_silent; then
12073 ac_configure_extra_args
="$ac_configure_extra_args --silent"
12077 cat >>$CONFIG_STATUS <<_ACEOF
12078 if \$ac_cs_recheck; then
12079 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
12080 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12089 cat >>$CONFIG_STATUS <<\_ACEOF
12090 for ac_config_target
in $ac_config_targets
12092 case "$ac_config_target" in
12093 # Handling of arguments.
12094 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
12095 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
12096 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
12097 { (exit 1); exit 1; }; };;
12101 # If the user did not use the arguments to specify the items to instantiate,
12102 # then the envvar interface is used. Set only those that are not.
12103 # We use the long form for the default assignment because of an extremely
12104 # bizarre bug on SunOS 4.1.3.
12105 if $ac_need_defaults; then
12106 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
12109 # Have a temporary directory for convenience. Make it in the build tree
12110 # simply because there is no reason to put it here, and in addition,
12111 # creating and moving files from /tmp can sometimes cause problems.
12112 # Create a temporary directory, and hook for its removal unless debugging.
12115 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
12116 trap '{ (exit 1); exit 1; }' 1 2 13 15
12119 # Create a (secure) tmp directory for tmp files.
12122 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
12123 test -n "$tmp" && test -d "$tmp"
12126 tmp
=.
/confstat$$
-$RANDOM
12127 (umask 077 && mkdir
$tmp)
12130 echo "$me: cannot create a temporary directory in ." >&2
12131 { (exit 1); exit 1; }
12136 cat >>$CONFIG_STATUS <<_ACEOF
12139 # CONFIG_FILES section.
12142 # No need to generate the scripts if there are no CONFIG_FILES.
12143 # This happens for instance when ./config.status config.h
12144 if test -n "\$CONFIG_FILES"; then
12145 # Protect against being on the right side of a sed subst in config.status.
12146 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
12147 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
12148 s,@SHELL@,$SHELL,;t t
12149 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
12150 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
12151 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
12152 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
12153 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
12154 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
12155 s,@exec_prefix@,$exec_prefix,;t t
12156 s,@prefix@,$prefix,;t t
12157 s,@program_transform_name@,$program_transform_name,;t t
12158 s,@bindir@,$bindir,;t t
12159 s,@sbindir@,$sbindir,;t t
12160 s,@libexecdir@,$libexecdir,;t t
12161 s,@datadir@,$datadir,;t t
12162 s,@sysconfdir@,$sysconfdir,;t t
12163 s,@sharedstatedir@,$sharedstatedir,;t t
12164 s,@localstatedir@,$localstatedir,;t t
12165 s,@libdir@,$libdir,;t t
12166 s,@includedir@,$includedir,;t t
12167 s,@oldincludedir@,$oldincludedir,;t t
12168 s,@infodir@,$infodir,;t t
12169 s,@mandir@,$mandir,;t t
12170 s,@build_alias@,$build_alias,;t t
12171 s,@host_alias@,$host_alias,;t t
12172 s,@target_alias@,$target_alias,;t t
12173 s,@DEFS@,$DEFS,;t t
12174 s,@ECHO_C@,$ECHO_C,;t t
12175 s,@ECHO_N@,$ECHO_N,;t t
12176 s,@ECHO_T@,$ECHO_T,;t t
12177 s,@LIBS@,$LIBS,;t t
12178 s,@build@,$build,;t t
12179 s,@build_cpu@,$build_cpu,;t t
12180 s,@build_vendor@,$build_vendor,;t t
12181 s,@build_os@,$build_os,;t t
12182 s,@build_noncanonical@,$build_noncanonical,;t t
12183 s,@host_noncanonical@,$host_noncanonical,;t t
12184 s,@target_noncanonical@,$target_noncanonical,;t t
12185 s,@host@,$host,;t t
12186 s,@host_cpu@,$host_cpu,;t t
12187 s,@host_vendor@,$host_vendor,;t t
12188 s,@host_os@,$host_os,;t t
12189 s,@target@,$target,;t t
12190 s,@target_cpu@,$target_cpu,;t t
12191 s,@target_vendor@,$target_vendor,;t t
12192 s,@target_os@,$target_os,;t t
12193 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
12194 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
12195 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
12197 s,@LN_S@,$LN_S,;t t
12198 s,@TOPLEVEL_CONFIGURE_ARGUMENTS@,$TOPLEVEL_CONFIGURE_ARGUMENTS,;t t
12199 s,@build_libsubdir@,$build_libsubdir,;t t
12200 s,@build_subdir@,$build_subdir,;t t
12201 s,@host_subdir@,$host_subdir,;t t
12202 s,@target_subdir@,$target_subdir,;t t
12204 s,@CFLAGS@,$CFLAGS,;t t
12205 s,@LDFLAGS@,$LDFLAGS,;t t
12206 s,@CPPFLAGS@,$CPPFLAGS,;t t
12207 s,@ac_ct_CC@,$ac_ct_CC,;t t
12208 s,@EXEEXT@,$EXEEXT,;t t
12209 s,@OBJEXT@,$OBJEXT,;t t
12211 s,@CXXFLAGS@,$CXXFLAGS,;t t
12212 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
12213 s,@GNATBIND@,$GNATBIND,;t t
12214 s,@ac_ct_GNATBIND@,$ac_ct_GNATBIND,;t t
12215 s,@GNATMAKE@,$GNATMAKE,;t t
12216 s,@ac_ct_GNATMAKE@,$ac_ct_GNATMAKE,;t t
12217 s,@do_compare@,$do_compare,;t t
12218 s,@gmplibs@,$gmplibs,;t t
12219 s,@gmpinc@,$gmpinc,;t t
12220 s,@stage1_languages@,$stage1_languages,;t t
12221 s,@SYSROOT_CFLAGS_FOR_TARGET@,$SYSROOT_CFLAGS_FOR_TARGET,;t t
12222 s,@RPATH_ENVVAR@,$RPATH_ENVVAR,;t t
12223 s,@tooldir@,$tooldir,;t t
12224 s,@build_tooldir@,$build_tooldir,;t t
12225 s,@CONFIGURE_GDB_TK@,$CONFIGURE_GDB_TK,;t t
12226 s,@GDB_TK@,$GDB_TK,;t t
12227 s,@INSTALL_GDB_TK@,$INSTALL_GDB_TK,;t t
12228 s,@build_configargs@,$build_configargs,;t t
12229 s,@build_configdirs@,$build_configdirs,;t t
12230 s,@host_configargs@,$host_configargs,;t t
12231 s,@configdirs@,$configdirs,;t t
12232 s,@target_configargs@,$target_configargs,;t t
12233 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
12234 s,@config_shell@,$config_shell,;t t
12235 s,@YACC@,$YACC,;t t
12236 s,@BISON@,$BISON,;t t
12239 s,@FLEX@,$FLEX,;t t
12240 s,@MAKEINFO@,$MAKEINFO,;t t
12241 s,@EXPECT@,$EXPECT,;t t
12242 s,@RUNTEST@,$RUNTEST,;t t
12245 s,@DLLTOOL@,$DLLTOOL,;t t
12247 s,@LIPO@,$LIPO,;t t
12249 s,@RANLIB@,$RANLIB,;t t
12250 s,@STRIP@,$STRIP,;t t
12251 s,@WINDRES@,$WINDRES,;t t
12252 s,@OBJCOPY@,$OBJCOPY,;t t
12253 s,@OBJDUMP@,$OBJDUMP,;t t
12254 s,@CFLAGS_FOR_BUILD@,$CFLAGS_FOR_BUILD,;t t
12255 s,@CC_FOR_TARGET@,$CC_FOR_TARGET,;t t
12256 s,@CXX_FOR_TARGET@,$CXX_FOR_TARGET,;t t
12257 s,@GCC_FOR_TARGET@,$GCC_FOR_TARGET,;t t
12258 s,@GCJ_FOR_TARGET@,$GCJ_FOR_TARGET,;t t
12259 s,@GFORTRAN_FOR_TARGET@,$GFORTRAN_FOR_TARGET,;t t
12260 s,@AR_FOR_TARGET@,$AR_FOR_TARGET,;t t
12261 s,@AS_FOR_TARGET@,$AS_FOR_TARGET,;t t
12262 s,@DLLTOOL_FOR_TARGET@,$DLLTOOL_FOR_TARGET,;t t
12263 s,@LD_FOR_TARGET@,$LD_FOR_TARGET,;t t
12264 s,@LIPO_FOR_TARGET@,$LIPO_FOR_TARGET,;t t
12265 s,@NM_FOR_TARGET@,$NM_FOR_TARGET,;t t
12266 s,@OBJDUMP_FOR_TARGET@,$OBJDUMP_FOR_TARGET,;t t
12267 s,@RANLIB_FOR_TARGET@,$RANLIB_FOR_TARGET,;t t
12268 s,@STRIP_FOR_TARGET@,$STRIP_FOR_TARGET,;t t
12269 s,@WINDRES_FOR_TARGET@,$WINDRES_FOR_TARGET,;t t
12270 s,@RAW_CXX_FOR_TARGET@,$RAW_CXX_FOR_TARGET,;t t
12271 s,@FLAGS_FOR_TARGET@,$FLAGS_FOR_TARGET,;t t
12272 s,@COMPILER_AS_FOR_TARGET@,$COMPILER_AS_FOR_TARGET,;t t
12273 s,@COMPILER_LD_FOR_TARGET@,$COMPILER_LD_FOR_TARGET,;t t
12274 s,@COMPILER_NM_FOR_TARGET@,$COMPILER_NM_FOR_TARGET,;t t
12275 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
12276 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
12277 s,@MAINT@,$MAINT,;t t
12278 s,@stage1_cflags@,$stage1_cflags,;t t
12279 s,@stage1_checking@,$stage1_checking,;t t
12280 s,@stage2_werror_flag@,$stage2_werror_flag,;t t
12281 s,@datarootdir@,$datarootdir,;t t
12282 s,@docdir@,$docdir,;t t
12283 s,@htmldir@,$htmldir,;t t
12284 s,@LIBOBJS@,$LIBOBJS,;t t
12285 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
12286 /@serialization_dependencies@/r $serialization_dependencies
12287 s,@serialization_dependencies@,,;t t
12288 /@host_makefile_frag@/r $host_makefile_frag
12289 s,@host_makefile_frag@,,;t t
12290 /@target_makefile_frag@/r $target_makefile_frag
12291 s,@target_makefile_frag@,,;t t
12292 /@alphaieee_frag@/r $alphaieee_frag
12293 s,@alphaieee_frag@,,;t t
12294 /@ospace_frag@/r $ospace_frag
12295 s,@ospace_frag@,,;t t
12300 cat >>$CONFIG_STATUS <<\_ACEOF
12301 # Split the substitutions into bite-sized pieces for seds with
12302 # small command number limits, like on Digital OSF/1 and HP-UX.
12303 ac_max_sed_lines
=48
12304 ac_sed_frag
=1 # Number of current file.
12305 ac_beg
=1 # First line for current file.
12306 ac_end
=$ac_max_sed_lines # Line after last line for current file.
12309 while $ac_more_lines; do
12310 if test $ac_beg -gt 1; then
12311 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
12313 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
12315 if test ! -s $tmp/subs.frag
; then
12316 ac_more_lines
=false
12318 # The purpose of the label and of the branching condition is to
12319 # speed up the sed processing (if there are no `@' at all, there
12320 # is no need to browse any of the substitutions).
12321 # These are the two extra sed commands mentioned above.
12323 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
12324 if test -z "$ac_sed_cmds"; then
12325 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
12327 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
12329 ac_sed_frag
=`expr $ac_sed_frag + 1`
12331 ac_end
=`expr $ac_end + $ac_max_sed_lines`
12334 if test -z "$ac_sed_cmds"; then
12337 fi # test -n "$CONFIG_FILES"
12340 cat >>$CONFIG_STATUS <<\_ACEOF
12341 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
12342 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12344 - |
*:- |
*:-:* ) # input from stdin
12346 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
12347 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
12348 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
12349 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
12350 * ) ac_file_in
=$ac_file.
in ;;
12353 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
12354 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
12355 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12356 X"$ac_file" : 'X\(//\)[^/]' \| \
12357 X"$ac_file" : 'X\(//\)$' \| \
12358 X"$ac_file" : 'X\(/\)' \| \
12359 . : '\(.\)' 2>/dev/null ||
12361 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12362 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12363 /^X\(\/\/\)$/{ s//\1/; q; }
12364 /^X\(\/\).*/{ s//\1/; q; }
12366 { if $as_mkdir_p; then
12371 while test ! -d "$as_dir"; do
12372 as_dirs
="$as_dir $as_dirs"
12373 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
12374 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12375 X"$as_dir" : 'X\(//\)[^/]' \| \
12376 X"$as_dir" : 'X\(//\)$' \| \
12377 X"$as_dir" : 'X\(/\)' \| \
12378 . : '\(.\)' 2>/dev/null ||
12380 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12381 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12382 /^X\(\/\/\)$/{ s//\1/; q; }
12383 /^X\(\/\).*/{ s//\1/; q; }
12386 test ! -n "$as_dirs" || mkdir
$as_dirs
12387 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12388 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12389 { (exit 1); exit 1; }; }; }
12393 if test "$ac_dir" != .
; then
12394 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
12395 # A "../" for each directory in $ac_dir_suffix.
12396 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
12398 ac_dir_suffix
= ac_top_builddir
=
12402 .
) # No --srcdir option. We are building in place.
12404 if test -z "$ac_top_builddir"; then
12407 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
12409 [\\/]* | ?
:[\\/]* ) # Absolute path.
12410 ac_srcdir
=$srcdir$ac_dir_suffix;
12411 ac_top_srcdir
=$srcdir ;;
12412 *) # Relative path.
12413 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
12414 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
12417 # Do not use `cd foo && pwd` to compute absolute paths, because
12418 # the directories may not exist.
12420 .
) ac_abs_builddir
="$ac_dir";;
12423 .
) ac_abs_builddir
=`pwd`;;
12424 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
12425 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
12428 case $ac_abs_builddir in
12429 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
12431 case ${ac_top_builddir}.
in
12432 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
12433 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
12434 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
12437 case $ac_abs_builddir in
12438 .
) ac_abs_srcdir
=$ac_srcdir;;
12441 .
) ac_abs_srcdir
=$ac_abs_builddir;;
12442 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
12443 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
12446 case $ac_abs_builddir in
12447 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
12449 case $ac_top_srcdir in
12450 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
12451 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
12452 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
12458 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
12459 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
12462 if test x
"$ac_file" != x-
; then
12463 { echo "$as_me:$LINENO: creating $ac_file" >&5
12464 echo "$as_me: creating $ac_file" >&6;}
12467 # Let's still pretend it is `configure' which instantiates (i.e., don't
12468 # use $as_me), people would be surprised to read:
12469 # /* config.h. Generated by config.status. */
12470 if test x
"$ac_file" = x-
; then
12473 configure_input
="$ac_file. "
12475 configure_input
=$configure_input"Generated from `echo $ac_file_in |
12476 sed 's,.*/,,'` by configure."
12478 # First look for the input files in the build tree, otherwise in the
12480 ac_file_inputs
=`IFS=:
12481 for f in $ac_file_in; do
12483 -) echo $tmp/stdin ;;
12485 # Absolute (can't be DOS-style, as IFS=:)
12486 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12487 echo "$as_me: error: cannot find input file: $f" >&2;}
12488 { (exit 1); exit 1; }; }
12491 if test -f "$f"; then
12494 elif test -f "$srcdir/$f"; then
12499 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12500 echo "$as_me: error: cannot find input file: $f" >&2;}
12501 { (exit 1); exit 1; }; }
12504 done` ||
{ (exit 1); exit 1; }
12506 cat >>$CONFIG_STATUS <<_ACEOF
12510 cat >>$CONFIG_STATUS <<\_ACEOF
12512 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
12513 s
,@configure_input@
,$configure_input,;t t
12514 s
,@srcdir@
,$ac_srcdir,;t t
12515 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
12516 s
,@top_srcdir@
,$ac_top_srcdir,;t t
12517 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
12518 s
,@builddir@
,$ac_builddir,;t t
12519 s
,@abs_builddir@
,$ac_abs_builddir,;t t
12520 s
,@top_builddir@
,$ac_top_builddir,;t t
12521 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
12522 s
,@INSTALL@
,$ac_INSTALL,;t t
12523 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
12525 if test x"$ac_file" != x-; then
12526 mv $tmp/out $ac_file
12535 cat >>$CONFIG_STATUS <<\_ACEOF
12537 { (exit 0); exit 0; }
12539 chmod +x $CONFIG_STATUS
12540 ac_clean_files=$ac_clean_files_save
12543 # configure is writing to config.log, and then calls config.status.
12544 # config.status does its own redirection, appending to config.log.
12545 # Unfortunately, on DOS this fails, as config.log is still kept open
12546 # by configure, so config.status won't be able to write to it; its
12547 # output is simply discarded. So we exec the FD to /dev/null,
12548 # effectively closing config.log, so it can be properly (re)opened and
12549 # appended to by config.status. When coming back to configure, we
12550 # need to make the FD available again.
12551 if test "$no_create" != yes; then
12553 ac_config_status_args=
12554 test "$silent" = yes &&
12555 ac_config_status_args="$ac_config_status_args --quiet"
12557 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
12559 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
12560 # would make configure fail if this is the last instruction.
12561 $ac_cs_success || { (exit 1); exit 1; }