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)
4484 mpfr_atan2 (n, n, x, GMP_RNDN);
4485 mpfr_erfc (n, x, GMP_RNDN);
4486 mpfr_subnormalize (x, t, GMP_RNDN);
4492 rm -f conftest.
$ac_objext conftest
$ac_exeext
4493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4494 (eval $ac_link) 2>conftest.er1
4496 grep -v '^ *+' conftest.er1
>conftest.err
4498 cat conftest.err
>&5
4499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4500 (exit $ac_status); } &&
4501 { ac_try
='test -z "$ac_c_werror_flag"
4502 || test ! -s conftest.err'
4503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4507 (exit $ac_status); }; } &&
4508 { ac_try
='test -s conftest$ac_exeext'
4509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4513 (exit $ac_status); }; }; then
4514 cat >conftest.
$ac_ext <<_ACEOF
4517 cat confdefs.h
>>conftest.
$ac_ext
4518 cat >>conftest.
$ac_ext <<_ACEOF
4519 /* end confdefs.h. */
4526 #if MPFR_VERSION < MPFR_VERSION_NUM(2,2,1)
4529 mpfr_t n; mpfr_init(n);
4535 rm -f conftest.
$ac_objext conftest
$ac_exeext
4536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4537 (eval $ac_link) 2>conftest.er1
4539 grep -v '^ *+' conftest.er1
>conftest.err
4541 cat conftest.err
>&5
4542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4543 (exit $ac_status); } &&
4544 { ac_try
='test -z "$ac_c_werror_flag"
4545 || test ! -s conftest.err'
4546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4550 (exit $ac_status); }; } &&
4551 { ac_try
='test -s conftest$ac_exeext'
4552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4556 (exit $ac_status); }; }; then
4557 echo "$as_me:$LINENO: result: yes" >&5
4558 echo "${ECHO_T}yes" >&6
4560 echo "$as_me: failed program was:" >&5
4561 sed 's/^/| /' conftest.
$ac_ext >&5
4563 echo "$as_me:$LINENO: result: buggy but acceptable" >&5
4564 echo "${ECHO_T}buggy but acceptable" >&6
4566 rm -f conftest.err conftest.
$ac_objext \
4567 conftest
$ac_exeext conftest.
$ac_ext
4569 echo "$as_me: failed program was:" >&5
4570 sed 's/^/| /' conftest.
$ac_ext >&5
4572 echo "$as_me:$LINENO: result: no" >&5
4573 echo "${ECHO_T}no" >&6; have_gmp
=no
4575 rm -f conftest.err conftest.
$ac_objext \
4576 conftest
$ac_exeext conftest.
$ac_ext
4579 CFLAGS
="$saved_CFLAGS"
4581 if test x
$have_gmp != xyes
; then
4582 { { echo "$as_me:$LINENO: error: Building GCC requires GMP 4.1+ and MPFR 2.2.1+.
4583 Try the --with-gmp and/or --with-mpfr options to specify their locations.
4584 Copies of these libraries' source code can be found at their respective
4585 hosting sites as well as at ftp://gcc.gnu.org/pub/gcc/infrastructure/.
4586 See also http://gcc.gnu.org/install/prerequisites.html for additional info.
4587 If you obtained GMP and/or MPFR from a vendor distribution package, make
4588 sure that you have installed both the libraries and the header files.
4589 They may be located in separate packages." >&5
4590 echo "$as_me: error: Building GCC requires GMP 4.1+ and MPFR 2.2.1+.
4591 Try the --with-gmp and/or --with-mpfr options to specify their locations.
4592 Copies of these libraries' source code can be found at their respective
4593 hosting sites as well as at ftp://gcc.gnu.org/pub/gcc/infrastructure/.
4594 See also http://gcc.gnu.org/install/prerequisites.html for additional info.
4595 If you obtained GMP and/or MPFR from a vendor distribution package, make
4596 sure that you have installed both the libraries and the header files.
4597 They may be located in separate packages." >&2;}
4598 { (exit 1); exit 1; }; }
4602 # Flags needed for both GMP and/or MPFR
4606 # By default, C is the only stage 1 language.
4607 stage1_languages
=,c
,
4609 # Figure out what language subdirectories are present.
4610 # Look if the user specified --enable-languages="..."; if not, use
4611 # the environment variable $LANGUAGES if defined. $LANGUAGES might
4613 # NB: embedded tabs in this IF block -- do not untabify
4614 if test -d ${srcdir}/gcc
; then
4615 if test x
"${enable_languages+set}" != xset
; then
4616 if test x
"${LANGUAGES+set}" = xset
; then
4617 enable_languages
="${LANGUAGES}"
4618 echo configure.
in: warning
: setting LANGUAGES is deprecated
, use
--enable-languages instead
1>&2
4620 enable_languages
=all
4623 if test x
"${enable_languages}" = x ||
4624 test x
"${enable_languages}" = xyes
;
4626 echo configure.
in: --enable-languages needs
at least one language argument
1>&2
4630 enable_languages
=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
4632 # 'f95' is the old name for the 'fortran' language. We issue a warning
4633 # and make the substitution.
4634 case ,${enable_languages}, in
4636 echo configure.
in: warning
: 'f95' as language name is deprecated
, use
'fortran' instead
1>&2
4637 enable_languages
=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
4641 # First scan to see if an enabled language requires some other language.
4642 # We assume that a given config-lang.in will list all the language
4643 # front ends it requires, even if some are required indirectly.
4644 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
4645 case ${lang_frag} in
4647 # The odd quoting in the next line works around
4648 # an apparent bug in bash 1.12 on linux.
4649 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
4651 # From the config-lang.in, get $language, $lang_requires
4655 for other
in ${lang_requires} ; do
4656 case ,${enable_languages}, in
4660 echo " \`$other' language required by \`$language'; enabling" 1>&2
4661 enable_languages
="${enable_languages},${other}"
4669 new_enable_languages
=,c
,
4670 missing_languages
=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
4671 potential_languages
=,c
,
4673 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
4674 case ${lang_frag} in
4676 # The odd quoting in the next line works around
4677 # an apparent bug in bash 1.12 on linux.
4678 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
4680 # From the config-lang.in, get $language, $target_libs,
4681 # $lang_dirs, $boot_language, and $build_by_default
4687 build_by_default
=yes
4689 if test x
${language} = x
; then
4690 echo "${lang_frag} doesn't set \$language." 1>&2
4694 case ,${enable_languages}, in
4696 # Language was explicitly selected; include it.
4700 # 'all' was selected, select it if it is a default language
4701 add_this_lang
=${build_by_default}
4708 # Disable languages that need other directories if these aren't available.
4709 for i
in $subdir_requires; do
4710 test -f "$srcdir/gcc/$i/config-lang.in" && continue
4711 case ,${enable_languages}, in
4713 # Specifically requested language; tell them.
4714 { { echo "$as_me:$LINENO: error: The gcc/$i directory contains parts of $language but is missing" >&5
4715 echo "$as_me: error: The gcc/$i directory contains parts of $language but is missing" >&2;}
4716 { (exit 1); exit 1; }; }
4720 add_this_lang
=unsupported
4725 # Disable Ada if no preexisting GNAT is available.
4726 case ,${enable_languages},:${language}:${have_gnat} in
4727 *,${language},*:ada
:no
)
4728 # Specifically requested language; tell them.
4729 { { echo "$as_me:$LINENO: error: GNAT is required to build $language" >&5
4730 echo "$as_me: error: GNAT is required to build $language" >&2;}
4731 { (exit 1); exit 1; }; }
4735 add_this_lang
=unsupported
4739 # Disable a language that is unsupported by the target.
4740 case " $unsupported_languages " in
4742 add_this_lang
=unsupported
4746 case $add_this_lang in
4748 # Remove language-dependent dirs.
4749 eval noconfigdirs
='"$noconfigdirs "'\"$target_libs $lang_dirs\"
4752 # Remove language-dependent dirs; still show language as supported.
4753 eval noconfigdirs
='"$noconfigdirs "'\"$target_libs $lang_dirs\"
4754 potential_languages
="${potential_languages}${language},"
4757 new_enable_languages
="${new_enable_languages}${language},"
4758 potential_languages
="${potential_languages}${language},"
4759 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
4760 case ${boot_language} in
4762 # Add to (comma-separated) list of stage 1 languages.
4763 stage1_languages
="${stage1_languages}${language},"
4772 # Check whether --enable-stage1-languages or --disable-stage1-languages was given.
4773 if test "${enable_stage1_languages+set}" = set; then
4774 enableval
="$enable_stage1_languages"
4775 case ,${enable_stage1_languages}, in
4777 # Set it to something that will have no effect in the loop below
4778 enable_stage1_languages
=c
;;
4780 enable_stage1_languages
=`echo $new_enable_languages | \
4781 sed -e "s/^,//" -e "s/,$//" ` ;;
4783 enable_stage1_languages
=`echo ,$enable_stage1_languages, | \
4784 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
4787 # Add "good" languages from enable_stage1_languages to stage1_languages,
4788 # while "bad" languages go in missing_languages. Leave no duplicates.
4789 for i
in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
4790 case $potential_languages in
4792 case $stage1_languages in
4794 *) stage1_languages
="$stage1_languages$i," ;;
4797 case $missing_languages in
4799 *) missing_languages
="$missing_languages$i," ;;
4805 # Remove leading/trailing commas that were added for simplicity
4806 potential_languages
=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
4807 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
4808 stage1_languages
=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
4809 new_enable_languages
=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
4811 if test "x$missing_languages" != x
; then
4812 { { echo "$as_me:$LINENO: error:
4813 The following requested languages could not be built: ${missing_languages}
4814 Supported languages are: ${potential_languages}" >&5
4815 echo "$as_me: error:
4816 The following requested languages could not be built: ${missing_languages}
4817 Supported languages are: ${potential_languages}" >&2;}
4818 { (exit 1); exit 1; }; }
4820 if test "x$new_enable_languages" != "x$enable_languages"; then
4821 echo The following languages will be built
: ${new_enable_languages}
4822 enable_languages
="$new_enable_languages"
4826 ac_configure_args
=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
4829 # Handle --disable-<component> generically.
4830 for dir
in $configdirs $build_configdirs $target_configdirs ; do
4831 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
4832 if eval test x\
${enable_${dirname}} "=" xno
; then
4833 noconfigdirs
="$noconfigdirs $dir"
4837 # Check for Boehm's garbage collector
4838 # Check whether --enable-objc-gc or --disable-objc-gc was given.
4839 if test "${enable_objc_gc+set}" = set; then
4840 enableval
="$enable_objc_gc"
4841 case ,${enable_languages},:${enable_objc_gc}:${noconfigdirs} in
4842 *,objc
,*:*:yes:*target-boehm-gc
*)
4843 { { echo "$as_me:$LINENO: error: Boehm's garbage collector was requested yet not supported in this configuration" >&5
4844 echo "$as_me: error: Boehm's garbage collector was requested yet not supported in this configuration" >&2;}
4845 { (exit 1); exit 1; }; }
4850 # Make sure we only build Boehm's garbage collector if required.
4851 case ,${enable_languages},:${enable_objc_gc} in
4853 # Keep target-boehm-gc if requested for Objective-C.
4856 # Otherwise remove target-boehm-gc depending on target-libjava.
4857 if echo " ${noconfigdirs} " |
grep "target-libjava" >/dev
/null
2>&1; then
4858 noconfigdirs
="$noconfigdirs target-boehm-gc"
4863 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
4864 # $build_configdirs and $target_configdirs.
4865 # If we have the source for $noconfigdirs entries, add them to $notsupp.
4868 for dir
in .
$skipdirs $noconfigdirs ; do
4869 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
4870 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
4871 configdirs
=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
4872 if test -r $srcdir/$dirname/configure
; then
4873 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
4876 notsupp
="$notsupp $dir"
4880 if test $dir != .
&& echo " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
4881 build_configdirs
=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
4882 if test -r $srcdir/$dirname/configure
; then
4883 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
4886 notsupp
="$notsupp $dir"
4890 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
4891 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
4892 if test -r $srcdir/$dirname/configure
; then
4893 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
4896 notsupp
="$notsupp $dir"
4902 # Sometimes the tools are distributed with libiberty but with no other
4903 # libraries. In that case, we don't want to build target-libiberty.
4904 # Don't let libgcc imply libiberty either.
4905 if test -n "${target_configdirs}" ; then
4908 for i
in `echo ${target_configdirs} | sed -e s/target-//g` ; do
4909 if test "$i" = "libgcc"; then
4910 libgcc
=target-libgcc
4911 elif test "$i" != "libiberty" ; then
4912 if test -r $srcdir/$i/configure
; then
4918 if test -z "${others}" ; then
4919 target_configdirs
=$libgcc
4923 # Quietly strip out all directories which aren't configurable in this tree.
4924 # This relies on all configurable subdirectories being autoconfiscated, which
4926 build_configdirs_all
="$build_configdirs"
4928 for i
in ${build_configdirs_all} ; do
4929 j
=`echo $i | sed -e s/build-//g`
4930 if test -f ${srcdir}/$j/configure
; then
4931 build_configdirs
="${build_configdirs} $i"
4935 configdirs_all
="$configdirs"
4937 for i
in ${configdirs_all} ; do
4938 if test -f ${srcdir}/$i/configure
; then
4939 configdirs
="${configdirs} $i"
4943 target_configdirs_all
="$target_configdirs"
4945 for i
in ${target_configdirs_all} ; do
4946 j
=`echo $i | sed -e s/target-//g`
4947 if test -f ${srcdir}/$j/configure
; then
4948 target_configdirs
="${target_configdirs} $i"
4952 # Produce a warning message for the subdirs we can't configure.
4953 # This isn't especially interesting in the Cygnus tree, but in the individual
4954 # FSF releases, it's important to let people know when their machine isn't
4955 # supported by the one or two programs in a package.
4957 if test -n "${notsupp}" && test -z "${norecursion}" ; then
4958 # If $appdirs is non-empty, at least one of those directories must still
4959 # be configured, or we error out. (E.g., if the gas release supports a
4960 # specified target in some subdirs but not the gas subdir, we shouldn't
4961 # pretend that all is well.)
4962 if test -n "$appdirs" ; then
4963 for dir
in $appdirs ; do
4964 if test -r $dir/Makefile.
in ; then
4965 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
4969 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
4975 if test -n "$appdirs" ; then
4976 echo "*** This configuration is not supported by this package." 1>&2
4980 # Okay, some application will build, or we don't care to check. Still
4981 # notify of subdirs not getting built.
4982 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
4983 echo " ${notsupp}" 1>&2
4984 echo " (Any other directories should still work fine.)" 1>&2
4992 # To find our prefix, in gcc_cv_tool_prefix.
4994 # The user is always right.
4995 if test "${PATH_SEPARATOR+set}" != set; then
4996 echo "#! /bin/sh" >conf$$.sh
4997 echo "exit 0" >>conf$$.sh
4999 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5009 if test "x$exec_prefix" = xNONE
; then
5010 if test "x$prefix" = xNONE
; then
5011 gcc_cv_tool_prefix
=$ac_default_prefix
5013 gcc_cv_tool_prefix
=$prefix
5016 gcc_cv_tool_prefix
=$exec_prefix
5019 # If there is no compiler in the tree, use the PATH only. In any
5020 # case, if there is no compiler in the tree nobody should use
5021 # AS_FOR_TARGET and LD_FOR_TARGET.
5022 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
5023 gcc_version
=`cat $srcdir/gcc/BASE-VER`
5024 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
5025 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
5026 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
5027 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
5028 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
5029 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
5034 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
5035 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
5043 # Check whether --with-build-sysroot or --without-build-sysroot was given.
5044 if test "${with_build_sysroot+set}" = set; then
5045 withval
="$with_build_sysroot"
5046 if test x
"$withval" != x
; then
5047 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
5050 SYSROOT_CFLAGS_FOR_TARGET
=
5054 # Handle --with-headers=XXX. If the value is not "yes", the contents of
5055 # the named directory are copied to $(tooldir)/sys-include.
5056 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
5057 if test x
${is_cross_compiler} = xno
; then
5058 echo 1>&2 '***' --with-headers is only supported when cross compiling
5061 if test x
"${with_headers}" != xyes
; then
5062 x
=${gcc_cv_tool_prefix}
5063 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
5067 # Handle --with-libs=XXX. If the value is not "yes", the contents of
5068 # the name directories are copied to $(tooldir)/lib. Multiple directories
5070 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
5071 if test x
${is_cross_compiler} = xno
; then
5072 echo 1>&2 '***' --with-libs is only supported when cross compiling
5075 if test x
"${with_libs}" != xyes
; then
5076 # Copy the libraries in reverse order, so that files in the first named
5077 # library override files in subsequent libraries.
5078 x
=${gcc_cv_tool_prefix}
5079 for l
in ${with_libs}; do
5080 copy_dirs
="$l $x/${target_noncanonical}/lib ${copy_dirs}"
5085 # Set with_gnu_as and with_gnu_ld as appropriate.
5087 # This is done by determining whether or not the appropriate directory
5088 # is available, and by checking whether or not specific configurations
5089 # have requested that this magic not happen.
5091 # The command line options always override the explicit settings in
5092 # configure.in, and the settings in configure.in override this magic.
5094 # If the default for a toolchain is to use GNU as and ld, and you don't
5095 # want to do that, then you should use the --without-gnu-as and
5096 # --without-gnu-ld options for the configure script.
5098 if test x
${use_gnu_as} = x
&&
5099 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
5101 extra_host_args
="$extra_host_args --with-gnu-as"
5104 if test x
${use_gnu_ld} = x
&&
5105 echo " ${configdirs} " |
grep " ld " > /dev
/null
2>&1 ; then
5107 extra_host_args
="$extra_host_args --with-gnu-ld"
5110 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
5111 # can detect this case.
5113 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
5115 extra_host_args
="$extra_host_args --with-newlib"
5118 # Handle ${copy_dirs}
5119 set fnord
${copy_dirs}
5121 while test $# != 0 ; do
5122 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
5125 echo Copying
$1 to
$2
5127 # Use the install script to create the directory and all required
5128 # parent directories.
5129 if test -d $2 ; then
5133 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
5136 # Copy the directory, assuming we have tar.
5137 # FIXME: Should we use B in the second tar? Not all systems support it.
5138 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
5140 # It is the responsibility of the user to correctly adjust all
5141 # symlinks. If somebody can figure out how to handle them correctly
5142 # here, feel free to add the code.
5149 # Determine a target-dependent exec_prefix that the installed
5150 # gcc will search in. Keep this list sorted by triplet, with
5151 # the *-*-osname triplets last.
5155 md_exec_prefix
=/gnu
/lib
/gcc-lib
5157 i3456786-pc-msdosdjgpp
*)
5158 md_exec_prefix
=/dev
/env
/DJDIR
/bin
5160 i3456786-
*-sco3.2v5
*)
5161 if test $with_gnu_as = yes; then
5162 md_exec_prefix
=/usr
/gnu
/bin
5164 md_exec_prefix
=/usr
/ccs
/bin
/elf
5169 powerpc-
*-chorusos* | \
5170 powerpc
*-*-eabi* | \
5171 powerpc
*-*-sysv* | \
5172 powerpc
*-*-kaos* | \
5174 md_exec_prefix
=/usr
/ccs
/bin
5179 md_exec_prefix
=/usr
/ccs
/bin
5194 md_exec_prefix
=/usr
/ccs
/bin
5198 extra_arflags_for_target
=
5199 extra_nmflags_for_target
=
5200 extra_ranlibflags_for_target
=
5201 target_makefile_frag
=/dev
/null
5204 target_makefile_frag
="config/mt-mep"
5207 target_makefile_frag
="config/mt-spu"
5210 target_makefile_frag
="config/mt-netware"
5212 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu)
5213 target_makefile_frag
="config/mt-gnu"
5215 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
5216 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
5217 # commands to handle both 32-bit and 64-bit objects. These flags are
5218 # harmless if we're using GNU nm or ar.
5219 extra_arflags_for_target
=" -X32_64"
5220 extra_nmflags_for_target
=" -B -X32_64"
5223 # ranlib from Darwin requires the -c flag to look at common symbols.
5224 extra_ranlibflags_for_target
=" -c"
5226 mips
*-*-pe | sh
*-*-pe |
*arm-wince-pe
)
5227 target_makefile_frag
="config/mt-wince"
5231 alphaieee_frag
=/dev
/null
5234 # This just makes sure to use the -mieee option to build target libs.
5235 # This should probably be set individually by each library.
5236 alphaieee_frag
="config/mt-alphaieee"
5240 # If --enable-target-optspace always use -Os instead of -O2 to build
5241 # the target libraries, similarly if it is not specified, use -Os
5242 # on selected platforms.
5243 ospace_frag
=/dev
/null
5244 case "${enable_target_optspace}:${target}" in
5246 ospace_frag
="config/mt-ospace"
5249 ospace_frag
="config/mt-d30v"
5251 :m32r-
* |
:d10v-
* |
:fr30-
*)
5252 ospace_frag
="config/mt-ospace"
5257 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
5261 # Default to using --with-stabs for certain targets.
5262 if test x
${with_stabs} = x
; then
5266 mips
*-*-* | alpha
*-*-osf*)
5268 extra_host_args
="${extra_host_args} --with-stabs"
5273 # hpux11 in 64bit mode has libraries in a weird place. Arrange to find
5274 # them automatically.
5277 extra_host_args
="$extra_host_args -x-libraries=/usr/lib/pa20_64 -x-includes=/usr/X11R6/include"
5281 # Some systems (e.g., one of the i386-aix systems the gas testers are
5282 # using) don't handle "\$" correctly, so don't use it here.
5283 tooldir
='${exec_prefix}'/${target_noncanonical}
5284 build_tooldir
=${tooldir}
5286 # Create a .gdbinit file which runs the one in srcdir
5287 # and tells GDB to look there for source files.
5289 if test -r ${srcdir}/.gdbinit
; then
5292 *) cat > .
/.gdbinit
<<EOF
5296 source ${srcdir}/.gdbinit
5302 # Make sure that the compiler is able to generate an executable. If it
5303 # can't, we are probably in trouble. We don't care whether we can run the
5304 # executable--we might be using a cross compiler--we only care whether it
5305 # can be created. At this point the main configure script has set CC.
5307 echo "int main () { return 0; }" > conftest.c
5308 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
5309 if test $?
= 0 ; then
5310 if test -s conftest ||
test -s conftest.exe
; then
5316 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
5317 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
5324 # The Solaris /usr/ucb/cc compiler does not appear to work.
5326 sparc-sun-solaris2
*)
5327 CCBASE
="`echo ${CC-cc} | sed 's/ .*$//'`"
5328 if test "`type $CCBASE | sed 's/^[^/]*//'`" = "/usr/ucb/cc" ; then
5330 test -d /opt
/SUNWspro
/bin
&& could_use
="/opt/SUNWspro/bin"
5331 if test -d /opt
/cygnus
/bin
; then
5332 if test "$could_use" = "" ; then
5333 could_use
="/opt/cygnus/bin"
5335 could_use
="$could_use or /opt/cygnus/bin"
5338 if test "$could_use" = "" ; then
5339 echo "Warning: compilation may fail because you're using"
5340 echo "/usr/ucb/cc. You should change your PATH or CC "
5341 echo "variable and rerun configure."
5343 echo "Warning: compilation may fail because you're using"
5344 echo "/usr/ucb/cc, when you should use the C compiler from"
5345 echo "$could_use. You should change your"
5346 echo "PATH or CC variable and rerun configure."
5353 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
5354 *-*-darwin* |
*-*-rhapsody* ) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
5355 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
5358 # Record target_configdirs and the configure arguments for target and
5359 # build configuration in Makefile.
5360 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
5361 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
5363 # Determine whether gdb needs tk/tcl or not.
5364 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
5365 # and in that case we want gdb to be built without tk. Ugh!
5366 # In fact I believe gdb is the *only* package directly dependent on tk,
5367 # so we should be able to put the 'maybe's in unconditionally and
5368 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
5369 # 100% sure that that's safe though.
5371 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
5372 case "$enable_gdbtk" in
5376 GDB_TK
="${gdb_tk}" ;;
5378 # Only add the dependency on gdbtk when GDBtk is part of the gdb
5379 # distro. Eventually someone will fix this and move Insight, nee
5380 # gdbtk to a separate directory.
5381 if test -d ${srcdir}/gdb
/gdbtk
; then
5388 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
5389 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
5391 # Strip out unwanted targets.
5393 # While at that, we remove Makefiles if we were started for recursive
5394 # configuration, so that the top-level Makefile reconfigures them,
5395 # like we used to do when configure itself was recursive.
5397 # Loop over modules. $extrasub must be used with care, limiting as
5398 # much as possible the usage of range addresses. That's because autoconf
5399 # splits the sed script to overcome limits in the number of commands,
5400 # and relying on carefully-timed sed passes may turn out to be very hard
5401 # to maintain later. In this particular case, you just have to be careful
5402 # not to nest @if/@endif pairs, because configure will not warn you at all.
5404 # Check whether --enable-bootstrap or --disable-bootstrap was given.
5405 if test "${enable_bootstrap+set}" = set; then
5406 enableval
="$enable_bootstrap"
5409 enable_bootstrap
=default
5412 # Issue errors and warnings for invalid/strange bootstrap combinations.
5413 case "$configdirs" in
5414 *gcc
*) have_compiler
=yes ;;
5415 *) have_compiler
=no
;;
5418 case "$have_compiler:$host:$target:$enable_bootstrap" in
5421 # Default behavior. Enable bootstrap if we have a compiler
5422 # and we are in a native configuration.
5423 yes:$build:$build:default
)
5424 enable_bootstrap
=yes ;;
5427 enable_bootstrap
=no
;;
5429 # We have a compiler and we are in a native configuration, bootstrap is ok
5430 yes:$build:$build:yes)
5433 # Other configurations, but we have a compiler. Assume the user knows
5436 { echo "$as_me:$LINENO: WARNING: trying to bootstrap a cross compiler" >&5
5437 echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
5440 # No compiler: if they passed --enable-bootstrap explicitly, fail
5442 { { echo "$as_me:$LINENO: error: cannot bootstrap without a compiler" >&5
5443 echo "$as_me: error: cannot bootstrap without a compiler" >&2;}
5444 { (exit 1); exit 1; }; } ;;
5446 # Fail if wrong command line
5448 { { echo "$as_me:$LINENO: error: invalid option for --enable-bootstrap" >&5
5449 echo "$as_me: error: invalid option for --enable-bootstrap" >&2;}
5450 { (exit 1); exit 1; }; }
5454 # Adjust the toplevel makefile according to whether bootstrap was selected.
5455 case "$enable_bootstrap" in
5457 bootstrap_suffix
=bootstrap
;;
5459 bootstrap_suffix
=no-bootstrap
;;
5462 for module
in ${build_configdirs} ; do
5463 if test -z "${no_recursion}" \
5464 && test -f ${build_subdir}/${module}/Makefile
; then
5465 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
5466 rm -f ${build_subdir}/${module}/Makefile
5469 /^@if build-$module\$/d
5470 /^@endif build-$module\$/d
5471 /^@if build-$module-$bootstrap_suffix\$/d
5472 /^@endif build-$module-$bootstrap_suffix\$/d"
5474 for module
in ${configdirs} ; do
5475 if test -z "${no_recursion}"; then
5476 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
5477 if test -f ${file}; then
5478 echo 1>&2 "*** removing ${file} to force reconfigure"
5485 /^@endif $module\$/d
5486 /^@if $module-$bootstrap_suffix\$/d
5487 /^@endif $module-$bootstrap_suffix\$/d"
5489 for module
in ${target_configdirs} ; do
5490 if test -z "${no_recursion}" \
5491 && test -f ${target_subdir}/${module}/Makefile
; then
5492 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
5493 rm -f ${target_subdir}/${module}/Makefile
5496 /^@if target-$module\$/d
5497 /^@endif target-$module\$/d
5498 /^@if target-$module-$bootstrap_suffix\$/d
5499 /^@endif target-$module-$bootstrap_suffix\$/d"
5503 /^@if /,/^@endif /d"
5505 # Create the serialization dependencies. This uses a temporary file.
5507 # Check whether --enable-serial-configure or --disable-serial-configure was given.
5508 if test "${enable_serial_configure+set}" = set; then
5509 enableval
="$enable_serial_configure"
5513 case ${enable_serial_configure} in
5515 enable_serial_build_configure
=yes
5516 enable_serial_host_configure
=yes
5517 enable_serial_target_configure
=yes
5521 # These force 'configure's to be done one at a time, to avoid problems
5522 # with contention over a shared config.cache.
5524 echo '# serdep.tmp' > serdep.tmp
5526 test "x${enable_serial_build_configure}" = xyes
&&
5527 for item
in ${build_configdirs} ; do
5530 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
5535 test "x${enable_serial_host_configure}" = xyes
&&
5536 for item
in ${configdirs} ; do
5539 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
5544 test "x${enable_serial_target_configure}" = xyes
&&
5545 for item
in ${target_configdirs} ; do
5548 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
5552 serialization_dependencies
=serdep.tmp
5555 # Base args. Strip norecursion, cache-file, srcdir, host, build,
5556 # target, nonopt, and variable assignments. These are the ones we
5557 # might not want to pass down to subconfigures. Also strip
5558 # program-prefix, program-suffix, and program-transform-name, so that
5559 # we can pass down a consistent program-transform-name.
5563 eval "set -- $ac_configure_args"
5566 if test X
"$skip_next" = X
"yes"; then
5570 if test X
"$keep_next" = X
"yes"; then
5573 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
5575 baseargs
="$baseargs '$ac_arg'"
5580 # Handle separated arguments. Based on the logic generated by
5583 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
5584 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
5585 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
5586 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
5612 -program-prefix* | \
5613 -program-suffix* | \
5614 -program-transform-name* )
5615 skip_next
=$separate_arg
5619 # An option. Add it.
5622 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
5624 baseargs
="$baseargs '$ac_arg'"
5625 keep_next
=$separate_arg
5628 # Either a variable assignment, or a nonopt (triplet). Don't
5629 # pass it down; let the Makefile handle this.
5634 # Remove the initial space we just introduced and, as these will be
5635 # expanded by make, quote '$'.
5636 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
5638 # Add in --program-transform-name, after --program-prefix and
5639 # --program-suffix have been applied to it. Autoconf has already
5640 # doubled dollar signs and backslashes in program_transform_name; we want
5641 # the backslashes un-doubled, and then the entire thing wrapped in single
5642 # quotes, because this will be expanded first by make and then by the shell.
5643 # Also, because we want to override the logic in subdir configure scripts to
5644 # choose program_transform_name, replace any s,x,x, with s,y,y,.
5645 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
5646 ${program_transform_name}
5648 gcc_transform_name
=`cat conftestsed.out`
5649 rm -f conftestsed.out
5650 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
5652 # For the build-side libraries, we just need to pretend we're native,
5653 # and not use the same cache file. Multilibs are neither needed nor
5655 build_configargs
="--cache-file=../config.cache ${baseargs}"
5657 # For host modules, accept cache file option, or specification as blank.
5658 case "${cache_file}" in
5660 cache_file_option
="" ;;
5661 /* |
[A-Za-z
]:[\\/]* ) # absolute path
5662 cache_file_option
="--cache-file=${cache_file}" ;;
5664 cache_file_option
="--cache-file=../${cache_file}" ;;
5667 # Host dirs don't like to share a cache file either, horribly enough.
5668 # This seems to be due to autoconf 2.5x stupidity.
5669 host_configargs
="--cache-file=./config.cache ${extra_host_args} ${baseargs}"
5671 target_configargs
=${baseargs}
5673 # Passing a --with-cross-host argument lets the target libraries know
5674 # whether they are being built with a cross-compiler or being built
5675 # native. However, it would be better to use other mechanisms to make the
5676 # sorts of decisions they want to make on this basis. Please consider
5677 # this option to be deprecated. FIXME.
5678 if test x
${is_cross_compiler} = xyes
; then
5679 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
5682 # Default to --enable-multilib.
5683 if test x
${enable_multilib} = x
; then
5684 target_configargs
="--enable-multilib ${target_configargs}"
5687 # Pass --with-newlib if appropriate. Note that target_configdirs has
5688 # changed from the earlier setting of with_newlib.
5689 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
5690 target_configargs
="--with-newlib ${target_configargs}"
5693 # Different target subdirs use different values of certain variables
5694 # (notably CXX). Worse, multilibs use *lots* of different values.
5695 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
5696 # it doesn't automatically accept command-line overrides of them.
5697 # This means it's not safe for target subdirs to share a cache file,
5698 # which is disgusting, but there you have it. Hopefully this can be
5699 # fixed in future. It's still worthwhile to use a cache file for each
5700 # directory. I think.
5702 # Pass the appropriate --build, --host, --target and --cache-file arguments.
5703 # We need to pass --target, as newer autoconf's requires consistency
5704 # for target_alias and gcc doesn't manage it consistently.
5705 target_configargs
="--cache-file=./config.cache ${target_configargs}"
5708 case " $target_configdirs " in
5710 case " $target_configargs " in
5711 *" --with-newlib "*)
5714 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' ;;
5717 # If we're not building GCC, don't discard standard headers.
5718 if test -d ${srcdir}/gcc
; then
5719 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
5721 if test "${build}" != "${host}"; then
5722 # On Canadian crosses, CC_FOR_TARGET will have already been set
5723 # by `configure', so we won't have an opportunity to add -Bgcc/
5724 # to it. This is right: we don't want to search that directory
5725 # for binaries, but we want the header files in there, so add
5727 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include'
5729 # Someone might think of using the pre-installed headers on
5730 # Canadian crosses, in case the installed compiler is not fully
5731 # compatible with the compiler being built. In this case, it
5732 # would be better to flag an error than risking having
5733 # incompatible object files being constructed. We can't
5734 # guarantee that an error will be flagged, but let's hope the
5735 # compiler will do it, when presented with incompatible header
5740 case "${target}-${is_cross_compiler}" in
5741 i
[3456789]86-*-linux*-no)
5742 # Here host == target, so we don't need to build gcc,
5743 # so we don't want to discard standard headers.
5744 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
5747 # If we're building newlib, use its generic headers last, but search
5748 # for any libc-related directories first (so make it the last -B
5750 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
5759 # Can't be handled as Cygwin above since Mingw does not use newlib.
5760 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' ;;
5763 # Allow the user to override the flags for
5764 # our build compiler if desired.
5765 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
5767 # On Canadian crosses, we'll be searching the right directories for
5768 # the previously-installed cross compiler, so don't bother to add
5769 # flags for directories within the install tree of the compiler
5770 # being built; programs in there won't even run.
5771 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
5772 # Search for pre-installed headers if nothing else fits.
5773 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
5776 if test "x
${use_gnu_ld}" = x &&
5777 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
5778 # Arrange for us to find uninstalled linker scripts.
5779 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
5782 # Search for other target-specific linker scripts and such.
5785 if test -d ${srcdir}/libgloss/m32c; then
5786 # This is for crt0.o
5787 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/m32c'
5788 # This is for r8c.ld
5789 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/m32c'
5790 # This is for libnosys.a
5791 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
5795 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
5799 # Makefile fragments.
5800 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
5802 eval fragval=\$$frag
5803 if test $fragval != /dev/null; then
5804 eval $frag=${srcdir}/$fragval
5812 # Miscellanea: directories, flags, etc.
5820 # Build module lists & subconfigure args.
5824 # Host module lists & subconfigure args.
5828 # Target module lists & subconfigure args.
5836 # Generate default definitions for YACC, M4, LEX and other programs that run
5837 # on the build machine. These are used if the Makefile can't locate these
5838 # programs in objdir.
5839 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
5841 for ac_prog in 'bison -y' byacc yacc
5843 # Extract the first word of "$ac_prog", so it can be a program name with args.
5844 set dummy $ac_prog; ac_word=$2
5845 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5846 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5847 if test "${ac_cv_prog_YACC+set}" = set; then
5848 echo $ECHO_N "(cached
) $ECHO_C" >&6
5850 if test -n "$YACC"; then
5851 ac_cv_prog_YACC="$YACC" # Let the user override the test.
5853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5857 test -z "$as_dir" && as_dir=.
5858 for ac_exec_ext in '' $ac_executable_extensions; do
5859 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5860 ac_cv_prog_YACC="$ac_prog"
5861 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5869 YACC=$ac_cv_prog_YACC
5870 if test -n "$YACC"; then
5871 echo "$as_me:$LINENO: result
: $YACC" >&5
5872 echo "${ECHO_T}$YACC" >&6
5874 echo "$as_me:$LINENO: result
: no
" >&5
5875 echo "${ECHO_T}no
" >&6
5878 test -n "$YACC" && break
5880 test -n "$YACC" || YACC="$MISSING bison
-y"
5882 case " $build_configdirs " in
5883 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
5884 *" byacc
"*) YACC='$$r/$(BUILD_SUBDIR)/byacc/byacc' ;;
5887 for ac_prog in bison
5889 # Extract the first word of "$ac_prog", so it can be a program name with args.
5890 set dummy $ac_prog; ac_word=$2
5891 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5892 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5893 if test "${ac_cv_prog_BISON+set}" = set; then
5894 echo $ECHO_N "(cached
) $ECHO_C" >&6
5896 if test -n "$BISON"; then
5897 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5903 test -z "$as_dir" && as_dir=.
5904 for ac_exec_ext in '' $ac_executable_extensions; do
5905 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5906 ac_cv_prog_BISON="$ac_prog"
5907 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5915 BISON=$ac_cv_prog_BISON
5916 if test -n "$BISON"; then
5917 echo "$as_me:$LINENO: result
: $BISON" >&5
5918 echo "${ECHO_T}$BISON" >&6
5920 echo "$as_me:$LINENO: result
: no
" >&5
5921 echo "${ECHO_T}no
" >&6
5924 test -n "$BISON" && break
5926 test -n "$BISON" || BISON="$MISSING bison
"
5928 case " $build_configdirs " in
5929 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
5932 for ac_prog in gm4 gnum4 m4
5934 # Extract the first word of "$ac_prog", so it can be a program name with args.
5935 set dummy $ac_prog; ac_word=$2
5936 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5937 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5938 if test "${ac_cv_prog_M4+set}" = set; then
5939 echo $ECHO_N "(cached
) $ECHO_C" >&6
5941 if test -n "$M4"; then
5942 ac_cv_prog_M4="$M4" # Let the user override the test.
5944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5948 test -z "$as_dir" && as_dir=.
5949 for ac_exec_ext in '' $ac_executable_extensions; do
5950 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5951 ac_cv_prog_M4="$ac_prog"
5952 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5961 if test -n "$M4"; then
5962 echo "$as_me:$LINENO: result
: $M4" >&5
5963 echo "${ECHO_T}$M4" >&6
5965 echo "$as_me:$LINENO: result
: no
" >&5
5966 echo "${ECHO_T}no
" >&6
5969 test -n "$M4" && break
5971 test -n "$M4" || M4="$MISSING m4"
5973 case " $build_configdirs " in
5974 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
5977 for ac_prog in flex lex
5979 # Extract the first word of "$ac_prog", so it can be a program name with args.
5980 set dummy $ac_prog; ac_word=$2
5981 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5982 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5983 if test "${ac_cv_prog_LEX+set}" = set; then
5984 echo $ECHO_N "(cached
) $ECHO_C" >&6
5986 if test -n "$LEX"; then
5987 ac_cv_prog_LEX="$LEX" # Let the user override the test.
5989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5993 test -z "$as_dir" && as_dir=.
5994 for ac_exec_ext in '' $ac_executable_extensions; do
5995 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5996 ac_cv_prog_LEX="$ac_prog"
5997 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6006 if test -n "$LEX"; then
6007 echo "$as_me:$LINENO: result
: $LEX" >&5
6008 echo "${ECHO_T}$LEX" >&6
6010 echo "$as_me:$LINENO: result
: no
" >&5
6011 echo "${ECHO_T}no
" >&6
6014 test -n "$LEX" && break
6016 test -n "$LEX" || LEX="$MISSING flex
"
6018 case " $build_configdirs " in
6019 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
6020 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
6025 # Extract the first word of "$ac_prog", so it can be a program name with args.
6026 set dummy $ac_prog; ac_word=$2
6027 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6028 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6029 if test "${ac_cv_prog_FLEX+set}" = set; then
6030 echo $ECHO_N "(cached
) $ECHO_C" >&6
6032 if test -n "$FLEX"; then
6033 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6039 test -z "$as_dir" && as_dir=.
6040 for ac_exec_ext in '' $ac_executable_extensions; do
6041 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6042 ac_cv_prog_FLEX="$ac_prog"
6043 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6051 FLEX=$ac_cv_prog_FLEX
6052 if test -n "$FLEX"; then
6053 echo "$as_me:$LINENO: result
: $FLEX" >&5
6054 echo "${ECHO_T}$FLEX" >&6
6056 echo "$as_me:$LINENO: result
: no
" >&5
6057 echo "${ECHO_T}no
" >&6
6060 test -n "$FLEX" && break
6062 test -n "$FLEX" || FLEX="$MISSING flex
"
6064 case " $build_configdirs " in
6065 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
6068 for ac_prog in makeinfo
6070 # Extract the first word of "$ac_prog", so it can be a program name with args.
6071 set dummy $ac_prog; ac_word=$2
6072 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6073 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6074 if test "${ac_cv_prog_MAKEINFO+set}" = set; then
6075 echo $ECHO_N "(cached
) $ECHO_C" >&6
6077 if test -n "$MAKEINFO"; then
6078 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
6080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6084 test -z "$as_dir" && as_dir=.
6085 for ac_exec_ext in '' $ac_executable_extensions; do
6086 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6087 ac_cv_prog_MAKEINFO="$ac_prog"
6088 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6096 MAKEINFO=$ac_cv_prog_MAKEINFO
6097 if test -n "$MAKEINFO"; then
6098 echo "$as_me:$LINENO: result
: $MAKEINFO" >&5
6099 echo "${ECHO_T}$MAKEINFO" >&6
6101 echo "$as_me:$LINENO: result
: no
" >&5
6102 echo "${ECHO_T}no
" >&6
6105 test -n "$MAKEINFO" && break
6107 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
6109 case " $build_configdirs " in
6110 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
6113 # For an installed makeinfo, we require it to be from texinfo 4.4 or
6114 # higher, else we use the "missing
" dummy.
6115 if ${MAKEINFO} --version \
6116 | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[4-9]|[5-9])' >/dev/null 2>&1; then
6119 MAKEINFO="$MISSING makeinfo
"
6125 # FIXME: expect and dejagnu may become build tools?
6127 for ac_prog in expect
6129 # Extract the first word of "$ac_prog", so it can be a program name with args.
6130 set dummy $ac_prog; ac_word=$2
6131 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6132 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6133 if test "${ac_cv_prog_EXPECT+set}" = set; then
6134 echo $ECHO_N "(cached
) $ECHO_C" >&6
6136 if test -n "$EXPECT"; then
6137 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
6139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6143 test -z "$as_dir" && as_dir=.
6144 for ac_exec_ext in '' $ac_executable_extensions; do
6145 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6146 ac_cv_prog_EXPECT="$ac_prog"
6147 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6155 EXPECT=$ac_cv_prog_EXPECT
6156 if test -n "$EXPECT"; then
6157 echo "$as_me:$LINENO: result
: $EXPECT" >&5
6158 echo "${ECHO_T}$EXPECT" >&6
6160 echo "$as_me:$LINENO: result
: no
" >&5
6161 echo "${ECHO_T}no
" >&6
6164 test -n "$EXPECT" && break
6166 test -n "$EXPECT" || EXPECT="expect
"
6168 case " $configdirs " in
6170 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
6174 for ac_prog in runtest
6176 # Extract the first word of "$ac_prog", so it can be a program name with args.
6177 set dummy $ac_prog; ac_word=$2
6178 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6179 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6180 if test "${ac_cv_prog_RUNTEST+set}" = set; then
6181 echo $ECHO_N "(cached
) $ECHO_C" >&6
6183 if test -n "$RUNTEST"; then
6184 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
6186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6190 test -z "$as_dir" && as_dir=.
6191 for ac_exec_ext in '' $ac_executable_extensions; do
6192 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6193 ac_cv_prog_RUNTEST="$ac_prog"
6194 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6202 RUNTEST=$ac_cv_prog_RUNTEST
6203 if test -n "$RUNTEST"; then
6204 echo "$as_me:$LINENO: result
: $RUNTEST" >&5
6205 echo "${ECHO_T}$RUNTEST" >&6
6207 echo "$as_me:$LINENO: result
: no
" >&5
6208 echo "${ECHO_T}no
" >&6
6211 test -n "$RUNTEST" && break
6213 test -n "$RUNTEST" || RUNTEST="runtest
"
6215 case " $configdirs " in
6217 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
6224 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
6225 ncn_target_tool_prefix=
6226 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
6230 if test -n "$AR"; then
6232 elif test -n "$ac_cv_prog_AR"; then
6236 if test -n "$ac_cv_prog_AR"; then
6237 for ncn_progname in ar; do
6238 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6239 set dummy ${ncn_progname}; ac_word=$2
6240 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6241 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6242 if test "${ac_cv_prog_AR+set}" = set; then
6243 echo $ECHO_N "(cached
) $ECHO_C" >&6
6245 if test -n "$AR"; then
6246 ac_cv_prog_AR="$AR" # Let the user override the test.
6248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6252 test -z "$as_dir" && as_dir=.
6253 for ac_exec_ext in '' $ac_executable_extensions; do
6254 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6255 ac_cv_prog_AR="${ncn_progname}"
6256 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6265 if test -n "$AR"; then
6266 echo "$as_me:$LINENO: result
: $AR" >&5
6267 echo "${ECHO_T}$AR" >&6
6269 echo "$as_me:$LINENO: result
: no
" >&5
6270 echo "${ECHO_T}no
" >&6
6276 for ncn_progname in ar; do
6277 if test -n "$ncn_tool_prefix"; then
6278 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
6279 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
6280 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6281 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6282 if test "${ac_cv_prog_AR+set}" = set; then
6283 echo $ECHO_N "(cached
) $ECHO_C" >&6
6285 if test -n "$AR"; then
6286 ac_cv_prog_AR="$AR" # Let the user override the test.
6288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6292 test -z "$as_dir" && as_dir=.
6293 for ac_exec_ext in '' $ac_executable_extensions; do
6294 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6295 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
6296 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6305 if test -n "$AR"; then
6306 echo "$as_me:$LINENO: result
: $AR" >&5
6307 echo "${ECHO_T}$AR" >&6
6309 echo "$as_me:$LINENO: result
: no
" >&5
6310 echo "${ECHO_T}no
" >&6
6314 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
6315 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6316 set dummy ${ncn_progname}; ac_word=$2
6317 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6318 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6319 if test "${ac_cv_prog_AR+set}" = set; then
6320 echo $ECHO_N "(cached
) $ECHO_C" >&6
6322 if test -n "$AR"; then
6323 ac_cv_prog_AR="$AR" # Let the user override the test.
6325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6329 test -z "$as_dir" && as_dir=.
6330 for ac_exec_ext in '' $ac_executable_extensions; do
6331 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6332 ac_cv_prog_AR="${ncn_progname}"
6333 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6342 if test -n "$AR"; then
6343 echo "$as_me:$LINENO: result
: $AR" >&5
6344 echo "${ECHO_T}$AR" >&6
6346 echo "$as_me:$LINENO: result
: no
" >&5
6347 echo "${ECHO_T}no
" >&6
6351 test -n "$ac_cv_prog_AR" && break
6354 if test -z "$ac_cv_prog_AR" ; then
6356 if test $build = $host ; then
6359 AR="${ncn_tool_prefix}$2"
6365 if test -n "$AS"; then
6367 elif test -n "$ac_cv_prog_AS"; then
6371 if test -n "$ac_cv_prog_AS"; then
6372 for ncn_progname in as; do
6373 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6374 set dummy ${ncn_progname}; ac_word=$2
6375 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6376 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6377 if test "${ac_cv_prog_AS+set}" = set; then
6378 echo $ECHO_N "(cached
) $ECHO_C" >&6
6380 if test -n "$AS"; then
6381 ac_cv_prog_AS="$AS" # Let the user override the test.
6383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6387 test -z "$as_dir" && as_dir=.
6388 for ac_exec_ext in '' $ac_executable_extensions; do
6389 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6390 ac_cv_prog_AS="${ncn_progname}"
6391 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6400 if test -n "$AS"; then
6401 echo "$as_me:$LINENO: result
: $AS" >&5
6402 echo "${ECHO_T}$AS" >&6
6404 echo "$as_me:$LINENO: result
: no
" >&5
6405 echo "${ECHO_T}no
" >&6
6411 for ncn_progname in as; do
6412 if test -n "$ncn_tool_prefix"; then
6413 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
6414 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
6415 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6416 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6417 if test "${ac_cv_prog_AS+set}" = set; then
6418 echo $ECHO_N "(cached
) $ECHO_C" >&6
6420 if test -n "$AS"; then
6421 ac_cv_prog_AS="$AS" # Let the user override the test.
6423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6427 test -z "$as_dir" && as_dir=.
6428 for ac_exec_ext in '' $ac_executable_extensions; do
6429 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6430 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
6431 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6440 if test -n "$AS"; then
6441 echo "$as_me:$LINENO: result
: $AS" >&5
6442 echo "${ECHO_T}$AS" >&6
6444 echo "$as_me:$LINENO: result
: no
" >&5
6445 echo "${ECHO_T}no
" >&6
6449 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
6450 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6451 set dummy ${ncn_progname}; ac_word=$2
6452 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6453 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6454 if test "${ac_cv_prog_AS+set}" = set; then
6455 echo $ECHO_N "(cached
) $ECHO_C" >&6
6457 if test -n "$AS"; then
6458 ac_cv_prog_AS="$AS" # Let the user override the test.
6460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6464 test -z "$as_dir" && as_dir=.
6465 for ac_exec_ext in '' $ac_executable_extensions; do
6466 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6467 ac_cv_prog_AS="${ncn_progname}"
6468 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6477 if test -n "$AS"; then
6478 echo "$as_me:$LINENO: result
: $AS" >&5
6479 echo "${ECHO_T}$AS" >&6
6481 echo "$as_me:$LINENO: result
: no
" >&5
6482 echo "${ECHO_T}no
" >&6
6486 test -n "$ac_cv_prog_AS" && break
6489 if test -z "$ac_cv_prog_AS" ; then
6491 if test $build = $host ; then
6494 AS="${ncn_tool_prefix}$2"
6500 if test -n "$DLLTOOL"; then
6501 ac_cv_prog_DLLTOOL=$DLLTOOL
6502 elif test -n "$ac_cv_prog_DLLTOOL"; then
6503 DLLTOOL=$ac_cv_prog_DLLTOOL
6506 if test -n "$ac_cv_prog_DLLTOOL"; then
6507 for ncn_progname in dlltool; do
6508 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6509 set dummy ${ncn_progname}; ac_word=$2
6510 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6511 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6512 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
6513 echo $ECHO_N "(cached
) $ECHO_C" >&6
6515 if test -n "$DLLTOOL"; then
6516 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6522 test -z "$as_dir" && as_dir=.
6523 for ac_exec_ext in '' $ac_executable_extensions; do
6524 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6525 ac_cv_prog_DLLTOOL="${ncn_progname}"
6526 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6534 DLLTOOL=$ac_cv_prog_DLLTOOL
6535 if test -n "$DLLTOOL"; then
6536 echo "$as_me:$LINENO: result
: $DLLTOOL" >&5
6537 echo "${ECHO_T}$DLLTOOL" >&6
6539 echo "$as_me:$LINENO: result
: no
" >&5
6540 echo "${ECHO_T}no
" >&6
6546 for ncn_progname in dlltool; do
6547 if test -n "$ncn_tool_prefix"; then
6548 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
6549 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
6550 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6551 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6552 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
6553 echo $ECHO_N "(cached
) $ECHO_C" >&6
6555 if test -n "$DLLTOOL"; then
6556 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6562 test -z "$as_dir" && as_dir=.
6563 for ac_exec_ext in '' $ac_executable_extensions; do
6564 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6565 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
6566 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6574 DLLTOOL=$ac_cv_prog_DLLTOOL
6575 if test -n "$DLLTOOL"; then
6576 echo "$as_me:$LINENO: result
: $DLLTOOL" >&5
6577 echo "${ECHO_T}$DLLTOOL" >&6
6579 echo "$as_me:$LINENO: result
: no
" >&5
6580 echo "${ECHO_T}no
" >&6
6584 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
6585 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6586 set dummy ${ncn_progname}; ac_word=$2
6587 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6588 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6589 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
6590 echo $ECHO_N "(cached
) $ECHO_C" >&6
6592 if test -n "$DLLTOOL"; then
6593 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6599 test -z "$as_dir" && as_dir=.
6600 for ac_exec_ext in '' $ac_executable_extensions; do
6601 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6602 ac_cv_prog_DLLTOOL="${ncn_progname}"
6603 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6611 DLLTOOL=$ac_cv_prog_DLLTOOL
6612 if test -n "$DLLTOOL"; then
6613 echo "$as_me:$LINENO: result
: $DLLTOOL" >&5
6614 echo "${ECHO_T}$DLLTOOL" >&6
6616 echo "$as_me:$LINENO: result
: no
" >&5
6617 echo "${ECHO_T}no
" >&6
6621 test -n "$ac_cv_prog_DLLTOOL" && break
6624 if test -z "$ac_cv_prog_DLLTOOL" ; then
6626 if test $build = $host ; then
6629 DLLTOOL="${ncn_tool_prefix}$2"
6635 if test -n "$LD"; then
6637 elif test -n "$ac_cv_prog_LD"; then
6641 if test -n "$ac_cv_prog_LD"; then
6642 for ncn_progname in ld; do
6643 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6644 set dummy ${ncn_progname}; ac_word=$2
6645 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6646 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6647 if test "${ac_cv_prog_LD+set}" = set; then
6648 echo $ECHO_N "(cached
) $ECHO_C" >&6
6650 if test -n "$LD"; then
6651 ac_cv_prog_LD="$LD" # Let the user override the test.
6653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6657 test -z "$as_dir" && as_dir=.
6658 for ac_exec_ext in '' $ac_executable_extensions; do
6659 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6660 ac_cv_prog_LD="${ncn_progname}"
6661 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6670 if test -n "$LD"; then
6671 echo "$as_me:$LINENO: result
: $LD" >&5
6672 echo "${ECHO_T}$LD" >&6
6674 echo "$as_me:$LINENO: result
: no
" >&5
6675 echo "${ECHO_T}no
" >&6
6681 for ncn_progname in ld; do
6682 if test -n "$ncn_tool_prefix"; then
6683 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
6684 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
6685 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6686 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6687 if test "${ac_cv_prog_LD+set}" = set; then
6688 echo $ECHO_N "(cached
) $ECHO_C" >&6
6690 if test -n "$LD"; then
6691 ac_cv_prog_LD="$LD" # Let the user override the test.
6693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6697 test -z "$as_dir" && as_dir=.
6698 for ac_exec_ext in '' $ac_executable_extensions; do
6699 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6700 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
6701 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6710 if test -n "$LD"; then
6711 echo "$as_me:$LINENO: result
: $LD" >&5
6712 echo "${ECHO_T}$LD" >&6
6714 echo "$as_me:$LINENO: result
: no
" >&5
6715 echo "${ECHO_T}no
" >&6
6719 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
6720 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6721 set dummy ${ncn_progname}; ac_word=$2
6722 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6723 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6724 if test "${ac_cv_prog_LD+set}" = set; then
6725 echo $ECHO_N "(cached
) $ECHO_C" >&6
6727 if test -n "$LD"; then
6728 ac_cv_prog_LD="$LD" # Let the user override the test.
6730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6734 test -z "$as_dir" && as_dir=.
6735 for ac_exec_ext in '' $ac_executable_extensions; do
6736 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6737 ac_cv_prog_LD="${ncn_progname}"
6738 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6747 if test -n "$LD"; then
6748 echo "$as_me:$LINENO: result
: $LD" >&5
6749 echo "${ECHO_T}$LD" >&6
6751 echo "$as_me:$LINENO: result
: no
" >&5
6752 echo "${ECHO_T}no
" >&6
6756 test -n "$ac_cv_prog_LD" && break
6759 if test -z "$ac_cv_prog_LD" ; then
6761 if test $build = $host ; then
6764 LD="${ncn_tool_prefix}$2"
6770 if test -n "$LIPO"; then
6771 ac_cv_prog_LIPO=$LIPO
6772 elif test -n "$ac_cv_prog_LIPO"; then
6773 LIPO=$ac_cv_prog_LIPO
6776 if test -n "$ac_cv_prog_LIPO"; then
6777 for ncn_progname in lipo; do
6778 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6779 set dummy ${ncn_progname}; ac_word=$2
6780 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6781 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6782 if test "${ac_cv_prog_LIPO+set}" = set; then
6783 echo $ECHO_N "(cached
) $ECHO_C" >&6
6785 if test -n "$LIPO"; then
6786 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6792 test -z "$as_dir" && as_dir=.
6793 for ac_exec_ext in '' $ac_executable_extensions; do
6794 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6795 ac_cv_prog_LIPO="${ncn_progname}"
6796 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6804 LIPO=$ac_cv_prog_LIPO
6805 if test -n "$LIPO"; then
6806 echo "$as_me:$LINENO: result
: $LIPO" >&5
6807 echo "${ECHO_T}$LIPO" >&6
6809 echo "$as_me:$LINENO: result
: no
" >&5
6810 echo "${ECHO_T}no
" >&6
6816 for ncn_progname in lipo; do
6817 if test -n "$ncn_tool_prefix"; then
6818 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
6819 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
6820 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6821 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6822 if test "${ac_cv_prog_LIPO+set}" = set; then
6823 echo $ECHO_N "(cached
) $ECHO_C" >&6
6825 if test -n "$LIPO"; then
6826 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6832 test -z "$as_dir" && as_dir=.
6833 for ac_exec_ext in '' $ac_executable_extensions; do
6834 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6835 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
6836 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6844 LIPO=$ac_cv_prog_LIPO
6845 if test -n "$LIPO"; then
6846 echo "$as_me:$LINENO: result
: $LIPO" >&5
6847 echo "${ECHO_T}$LIPO" >&6
6849 echo "$as_me:$LINENO: result
: no
" >&5
6850 echo "${ECHO_T}no
" >&6
6854 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
6855 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6856 set dummy ${ncn_progname}; ac_word=$2
6857 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6858 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6859 if test "${ac_cv_prog_LIPO+set}" = set; then
6860 echo $ECHO_N "(cached
) $ECHO_C" >&6
6862 if test -n "$LIPO"; then
6863 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6869 test -z "$as_dir" && as_dir=.
6870 for ac_exec_ext in '' $ac_executable_extensions; do
6871 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6872 ac_cv_prog_LIPO="${ncn_progname}"
6873 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6881 LIPO=$ac_cv_prog_LIPO
6882 if test -n "$LIPO"; then
6883 echo "$as_me:$LINENO: result
: $LIPO" >&5
6884 echo "${ECHO_T}$LIPO" >&6
6886 echo "$as_me:$LINENO: result
: no
" >&5
6887 echo "${ECHO_T}no
" >&6
6891 test -n "$ac_cv_prog_LIPO" && break
6894 if test -z "$ac_cv_prog_LIPO" ; then
6896 if test $build = $host ; then
6899 LIPO="${ncn_tool_prefix}$2"
6905 if test -n "$NM"; then
6907 elif test -n "$ac_cv_prog_NM"; then
6911 if test -n "$ac_cv_prog_NM"; then
6912 for ncn_progname in nm; do
6913 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6914 set dummy ${ncn_progname}; ac_word=$2
6915 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6916 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6917 if test "${ac_cv_prog_NM+set}" = set; then
6918 echo $ECHO_N "(cached
) $ECHO_C" >&6
6920 if test -n "$NM"; then
6921 ac_cv_prog_NM="$NM" # Let the user override the test.
6923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6927 test -z "$as_dir" && as_dir=.
6928 for ac_exec_ext in '' $ac_executable_extensions; do
6929 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6930 ac_cv_prog_NM="${ncn_progname}"
6931 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6940 if test -n "$NM"; then
6941 echo "$as_me:$LINENO: result
: $NM" >&5
6942 echo "${ECHO_T}$NM" >&6
6944 echo "$as_me:$LINENO: result
: no
" >&5
6945 echo "${ECHO_T}no
" >&6
6951 for ncn_progname in nm; do
6952 if test -n "$ncn_tool_prefix"; then
6953 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
6954 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
6955 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6956 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6957 if test "${ac_cv_prog_NM+set}" = set; then
6958 echo $ECHO_N "(cached
) $ECHO_C" >&6
6960 if test -n "$NM"; then
6961 ac_cv_prog_NM="$NM" # Let the user override the test.
6963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6967 test -z "$as_dir" && as_dir=.
6968 for ac_exec_ext in '' $ac_executable_extensions; do
6969 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6970 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
6971 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6980 if test -n "$NM"; then
6981 echo "$as_me:$LINENO: result
: $NM" >&5
6982 echo "${ECHO_T}$NM" >&6
6984 echo "$as_me:$LINENO: result
: no
" >&5
6985 echo "${ECHO_T}no
" >&6
6989 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
6990 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6991 set dummy ${ncn_progname}; ac_word=$2
6992 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6993 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6994 if test "${ac_cv_prog_NM+set}" = set; then
6995 echo $ECHO_N "(cached
) $ECHO_C" >&6
6997 if test -n "$NM"; then
6998 ac_cv_prog_NM="$NM" # Let the user override the test.
7000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7004 test -z "$as_dir" && as_dir=.
7005 for ac_exec_ext in '' $ac_executable_extensions; do
7006 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7007 ac_cv_prog_NM="${ncn_progname}"
7008 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7017 if test -n "$NM"; then
7018 echo "$as_me:$LINENO: result
: $NM" >&5
7019 echo "${ECHO_T}$NM" >&6
7021 echo "$as_me:$LINENO: result
: no
" >&5
7022 echo "${ECHO_T}no
" >&6
7026 test -n "$ac_cv_prog_NM" && break
7029 if test -z "$ac_cv_prog_NM" ; then
7031 if test $build = $host ; then
7034 NM="${ncn_tool_prefix}$2"
7040 if test -n "$RANLIB"; then
7041 ac_cv_prog_RANLIB=$RANLIB
7042 elif test -n "$ac_cv_prog_RANLIB"; then
7043 RANLIB=$ac_cv_prog_RANLIB
7046 if test -n "$ac_cv_prog_RANLIB"; then
7047 for ncn_progname in ranlib; do
7048 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7049 set dummy ${ncn_progname}; ac_word=$2
7050 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7051 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7052 if test "${ac_cv_prog_RANLIB+set}" = set; then
7053 echo $ECHO_N "(cached
) $ECHO_C" >&6
7055 if test -n "$RANLIB"; then
7056 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7062 test -z "$as_dir" && as_dir=.
7063 for ac_exec_ext in '' $ac_executable_extensions; do
7064 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7065 ac_cv_prog_RANLIB="${ncn_progname}"
7066 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7074 RANLIB=$ac_cv_prog_RANLIB
7075 if test -n "$RANLIB"; then
7076 echo "$as_me:$LINENO: result
: $RANLIB" >&5
7077 echo "${ECHO_T}$RANLIB" >&6
7079 echo "$as_me:$LINENO: result
: no
" >&5
7080 echo "${ECHO_T}no
" >&6
7086 for ncn_progname in ranlib; do
7087 if test -n "$ncn_tool_prefix"; then
7088 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7089 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7090 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7091 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7092 if test "${ac_cv_prog_RANLIB+set}" = set; then
7093 echo $ECHO_N "(cached
) $ECHO_C" >&6
7095 if test -n "$RANLIB"; then
7096 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7102 test -z "$as_dir" && as_dir=.
7103 for ac_exec_ext in '' $ac_executable_extensions; do
7104 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7105 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
7106 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7114 RANLIB=$ac_cv_prog_RANLIB
7115 if test -n "$RANLIB"; then
7116 echo "$as_me:$LINENO: result
: $RANLIB" >&5
7117 echo "${ECHO_T}$RANLIB" >&6
7119 echo "$as_me:$LINENO: result
: no
" >&5
7120 echo "${ECHO_T}no
" >&6
7124 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
7125 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7126 set dummy ${ncn_progname}; ac_word=$2
7127 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7128 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7129 if test "${ac_cv_prog_RANLIB+set}" = set; then
7130 echo $ECHO_N "(cached
) $ECHO_C" >&6
7132 if test -n "$RANLIB"; then
7133 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7139 test -z "$as_dir" && as_dir=.
7140 for ac_exec_ext in '' $ac_executable_extensions; do
7141 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7142 ac_cv_prog_RANLIB="${ncn_progname}"
7143 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7151 RANLIB=$ac_cv_prog_RANLIB
7152 if test -n "$RANLIB"; then
7153 echo "$as_me:$LINENO: result
: $RANLIB" >&5
7154 echo "${ECHO_T}$RANLIB" >&6
7156 echo "$as_me:$LINENO: result
: no
" >&5
7157 echo "${ECHO_T}no
" >&6
7161 test -n "$ac_cv_prog_RANLIB" && break
7164 if test -z "$ac_cv_prog_RANLIB" ; then
7170 if test -n "$STRIP"; then
7171 ac_cv_prog_STRIP=$STRIP
7172 elif test -n "$ac_cv_prog_STRIP"; then
7173 STRIP=$ac_cv_prog_STRIP
7176 if test -n "$ac_cv_prog_STRIP"; then
7177 for ncn_progname in strip; do
7178 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7179 set dummy ${ncn_progname}; ac_word=$2
7180 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7181 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7182 if test "${ac_cv_prog_STRIP+set}" = set; then
7183 echo $ECHO_N "(cached
) $ECHO_C" >&6
7185 if test -n "$STRIP"; then
7186 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7192 test -z "$as_dir" && as_dir=.
7193 for ac_exec_ext in '' $ac_executable_extensions; do
7194 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7195 ac_cv_prog_STRIP="${ncn_progname}"
7196 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7204 STRIP=$ac_cv_prog_STRIP
7205 if test -n "$STRIP"; then
7206 echo "$as_me:$LINENO: result
: $STRIP" >&5
7207 echo "${ECHO_T}$STRIP" >&6
7209 echo "$as_me:$LINENO: result
: no
" >&5
7210 echo "${ECHO_T}no
" >&6
7216 for ncn_progname in strip; do
7217 if test -n "$ncn_tool_prefix"; then
7218 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7219 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7220 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7221 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7222 if test "${ac_cv_prog_STRIP+set}" = set; then
7223 echo $ECHO_N "(cached
) $ECHO_C" >&6
7225 if test -n "$STRIP"; then
7226 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7232 test -z "$as_dir" && as_dir=.
7233 for ac_exec_ext in '' $ac_executable_extensions; do
7234 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7235 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
7236 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7244 STRIP=$ac_cv_prog_STRIP
7245 if test -n "$STRIP"; then
7246 echo "$as_me:$LINENO: result
: $STRIP" >&5
7247 echo "${ECHO_T}$STRIP" >&6
7249 echo "$as_me:$LINENO: result
: no
" >&5
7250 echo "${ECHO_T}no
" >&6
7254 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
7255 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7256 set dummy ${ncn_progname}; ac_word=$2
7257 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7258 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7259 if test "${ac_cv_prog_STRIP+set}" = set; then
7260 echo $ECHO_N "(cached
) $ECHO_C" >&6
7262 if test -n "$STRIP"; then
7263 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7269 test -z "$as_dir" && as_dir=.
7270 for ac_exec_ext in '' $ac_executable_extensions; do
7271 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7272 ac_cv_prog_STRIP="${ncn_progname}"
7273 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7281 STRIP=$ac_cv_prog_STRIP
7282 if test -n "$STRIP"; then
7283 echo "$as_me:$LINENO: result
: $STRIP" >&5
7284 echo "${ECHO_T}$STRIP" >&6
7286 echo "$as_me:$LINENO: result
: no
" >&5
7287 echo "${ECHO_T}no
" >&6
7291 test -n "$ac_cv_prog_STRIP" && break
7294 if test -z "$ac_cv_prog_STRIP" ; then
7300 if test -n "$WINDRES"; then
7301 ac_cv_prog_WINDRES=$WINDRES
7302 elif test -n "$ac_cv_prog_WINDRES"; then
7303 WINDRES=$ac_cv_prog_WINDRES
7306 if test -n "$ac_cv_prog_WINDRES"; then
7307 for ncn_progname in windres; do
7308 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7309 set dummy ${ncn_progname}; ac_word=$2
7310 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7311 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7312 if test "${ac_cv_prog_WINDRES+set}" = set; then
7313 echo $ECHO_N "(cached
) $ECHO_C" >&6
7315 if test -n "$WINDRES"; then
7316 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
7318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7322 test -z "$as_dir" && as_dir=.
7323 for ac_exec_ext in '' $ac_executable_extensions; do
7324 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7325 ac_cv_prog_WINDRES="${ncn_progname}"
7326 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7334 WINDRES=$ac_cv_prog_WINDRES
7335 if test -n "$WINDRES"; then
7336 echo "$as_me:$LINENO: result
: $WINDRES" >&5
7337 echo "${ECHO_T}$WINDRES" >&6
7339 echo "$as_me:$LINENO: result
: no
" >&5
7340 echo "${ECHO_T}no
" >&6
7346 for ncn_progname in windres; do
7347 if test -n "$ncn_tool_prefix"; then
7348 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7349 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7350 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7351 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7352 if test "${ac_cv_prog_WINDRES+set}" = set; then
7353 echo $ECHO_N "(cached
) $ECHO_C" >&6
7355 if test -n "$WINDRES"; then
7356 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
7358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7362 test -z "$as_dir" && as_dir=.
7363 for ac_exec_ext in '' $ac_executable_extensions; do
7364 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7365 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
7366 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7374 WINDRES=$ac_cv_prog_WINDRES
7375 if test -n "$WINDRES"; then
7376 echo "$as_me:$LINENO: result
: $WINDRES" >&5
7377 echo "${ECHO_T}$WINDRES" >&6
7379 echo "$as_me:$LINENO: result
: no
" >&5
7380 echo "${ECHO_T}no
" >&6
7384 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
7385 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7386 set dummy ${ncn_progname}; ac_word=$2
7387 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7388 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7389 if test "${ac_cv_prog_WINDRES+set}" = set; then
7390 echo $ECHO_N "(cached
) $ECHO_C" >&6
7392 if test -n "$WINDRES"; then
7393 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
7395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7399 test -z "$as_dir" && as_dir=.
7400 for ac_exec_ext in '' $ac_executable_extensions; do
7401 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7402 ac_cv_prog_WINDRES="${ncn_progname}"
7403 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7411 WINDRES=$ac_cv_prog_WINDRES
7412 if test -n "$WINDRES"; then
7413 echo "$as_me:$LINENO: result
: $WINDRES" >&5
7414 echo "${ECHO_T}$WINDRES" >&6
7416 echo "$as_me:$LINENO: result
: no
" >&5
7417 echo "${ECHO_T}no
" >&6
7421 test -n "$ac_cv_prog_WINDRES" && break
7424 if test -z "$ac_cv_prog_WINDRES" ; then
7426 if test $build = $host ; then
7429 WINDRES="${ncn_tool_prefix}$2"
7435 if test -n "$OBJCOPY"; then
7436 ac_cv_prog_OBJCOPY=$OBJCOPY
7437 elif test -n "$ac_cv_prog_OBJCOPY"; then
7438 OBJCOPY=$ac_cv_prog_OBJCOPY
7441 if test -n "$ac_cv_prog_OBJCOPY"; then
7442 for ncn_progname in objcopy; do
7443 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7444 set dummy ${ncn_progname}; ac_word=$2
7445 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7446 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7447 if test "${ac_cv_prog_OBJCOPY+set}" = set; then
7448 echo $ECHO_N "(cached
) $ECHO_C" >&6
7450 if test -n "$OBJCOPY"; then
7451 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
7453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7457 test -z "$as_dir" && as_dir=.
7458 for ac_exec_ext in '' $ac_executable_extensions; do
7459 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7460 ac_cv_prog_OBJCOPY="${ncn_progname}"
7461 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7469 OBJCOPY=$ac_cv_prog_OBJCOPY
7470 if test -n "$OBJCOPY"; then
7471 echo "$as_me:$LINENO: result
: $OBJCOPY" >&5
7472 echo "${ECHO_T}$OBJCOPY" >&6
7474 echo "$as_me:$LINENO: result
: no
" >&5
7475 echo "${ECHO_T}no
" >&6
7481 for ncn_progname in objcopy; do
7482 if test -n "$ncn_tool_prefix"; then
7483 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7484 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7485 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7486 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7487 if test "${ac_cv_prog_OBJCOPY+set}" = set; then
7488 echo $ECHO_N "(cached
) $ECHO_C" >&6
7490 if test -n "$OBJCOPY"; then
7491 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
7493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7497 test -z "$as_dir" && as_dir=.
7498 for ac_exec_ext in '' $ac_executable_extensions; do
7499 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7500 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
7501 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7509 OBJCOPY=$ac_cv_prog_OBJCOPY
7510 if test -n "$OBJCOPY"; then
7511 echo "$as_me:$LINENO: result
: $OBJCOPY" >&5
7512 echo "${ECHO_T}$OBJCOPY" >&6
7514 echo "$as_me:$LINENO: result
: no
" >&5
7515 echo "${ECHO_T}no
" >&6
7519 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
7520 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7521 set dummy ${ncn_progname}; ac_word=$2
7522 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7523 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7524 if test "${ac_cv_prog_OBJCOPY+set}" = set; then
7525 echo $ECHO_N "(cached
) $ECHO_C" >&6
7527 if test -n "$OBJCOPY"; then
7528 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
7530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7534 test -z "$as_dir" && as_dir=.
7535 for ac_exec_ext in '' $ac_executable_extensions; do
7536 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7537 ac_cv_prog_OBJCOPY="${ncn_progname}"
7538 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7546 OBJCOPY=$ac_cv_prog_OBJCOPY
7547 if test -n "$OBJCOPY"; then
7548 echo "$as_me:$LINENO: result
: $OBJCOPY" >&5
7549 echo "${ECHO_T}$OBJCOPY" >&6
7551 echo "$as_me:$LINENO: result
: no
" >&5
7552 echo "${ECHO_T}no
" >&6
7556 test -n "$ac_cv_prog_OBJCOPY" && break
7559 if test -z "$ac_cv_prog_OBJCOPY" ; then
7561 if test $build = $host ; then
7564 OBJCOPY="${ncn_tool_prefix}$2"
7570 if test -n "$OBJDUMP"; then
7571 ac_cv_prog_OBJDUMP=$OBJDUMP
7572 elif test -n "$ac_cv_prog_OBJDUMP"; then
7573 OBJDUMP=$ac_cv_prog_OBJDUMP
7576 if test -n "$ac_cv_prog_OBJDUMP"; then
7577 for ncn_progname in objdump; do
7578 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7579 set dummy ${ncn_progname}; ac_word=$2
7580 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7581 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7582 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
7583 echo $ECHO_N "(cached
) $ECHO_C" >&6
7585 if test -n "$OBJDUMP"; then
7586 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7592 test -z "$as_dir" && as_dir=.
7593 for ac_exec_ext in '' $ac_executable_extensions; do
7594 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7595 ac_cv_prog_OBJDUMP="${ncn_progname}"
7596 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7604 OBJDUMP=$ac_cv_prog_OBJDUMP
7605 if test -n "$OBJDUMP"; then
7606 echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
7607 echo "${ECHO_T}$OBJDUMP" >&6
7609 echo "$as_me:$LINENO: result
: no
" >&5
7610 echo "${ECHO_T}no
" >&6
7616 for ncn_progname in objdump; do
7617 if test -n "$ncn_tool_prefix"; then
7618 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7619 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7620 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7621 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7622 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
7623 echo $ECHO_N "(cached
) $ECHO_C" >&6
7625 if test -n "$OBJDUMP"; then
7626 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7632 test -z "$as_dir" && as_dir=.
7633 for ac_exec_ext in '' $ac_executable_extensions; do
7634 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7635 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
7636 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7644 OBJDUMP=$ac_cv_prog_OBJDUMP
7645 if test -n "$OBJDUMP"; then
7646 echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
7647 echo "${ECHO_T}$OBJDUMP" >&6
7649 echo "$as_me:$LINENO: result
: no
" >&5
7650 echo "${ECHO_T}no
" >&6
7654 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
7655 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7656 set dummy ${ncn_progname}; ac_word=$2
7657 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7658 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7659 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
7660 echo $ECHO_N "(cached
) $ECHO_C" >&6
7662 if test -n "$OBJDUMP"; then
7663 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7669 test -z "$as_dir" && as_dir=.
7670 for ac_exec_ext in '' $ac_executable_extensions; do
7671 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7672 ac_cv_prog_OBJDUMP="${ncn_progname}"
7673 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7681 OBJDUMP=$ac_cv_prog_OBJDUMP
7682 if test -n "$OBJDUMP"; then
7683 echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
7684 echo "${ECHO_T}$OBJDUMP" >&6
7686 echo "$as_me:$LINENO: result
: no
" >&5
7687 echo "${ECHO_T}no
" >&6
7691 test -n "$ac_cv_prog_OBJDUMP" && break
7694 if test -z "$ac_cv_prog_OBJDUMP" ; then
7696 if test $build = $host ; then
7699 OBJDUMP="${ncn_tool_prefix}$2"
7711 # Check whether --with-build-time-tools or --without-build-time-tools was given.
7712 if test "${with_build_time_tools+set}" = set; then
7713 withval="$with_build_time_tools"
7717 with_build_time_tools=
7718 { echo "$as_me:$LINENO: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
7719 echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
7723 with_build_time_tools=
7728 if test -n "$CC_FOR_TARGET"; then
7729 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
7730 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
7731 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
7734 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
7735 for ncn_progname in cc gcc; do
7736 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7737 set dummy ${ncn_progname}; ac_word=$2
7738 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7739 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7740 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then
7741 echo $ECHO_N "(cached
) $ECHO_C" >&6
7743 if test -n "$CC_FOR_TARGET"; then
7744 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
7746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7750 test -z "$as_dir" && as_dir=.
7751 for ac_exec_ext in '' $ac_executable_extensions; do
7752 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7753 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
7754 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7762 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
7763 if test -n "$CC_FOR_TARGET"; then
7764 echo "$as_me:$LINENO: result
: $CC_FOR_TARGET" >&5
7765 echo "${ECHO_T}$CC_FOR_TARGET" >&6
7767 echo "$as_me:$LINENO: result
: no
" >&5
7768 echo "${ECHO_T}no
" >&6
7774 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
7775 for ncn_progname in cc gcc; do
7776 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
7777 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
7778 if test -x $with_build_time_tools/${ncn_progname}; then
7779 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
7780 echo "$as_me:$LINENO: result
: yes" >&5
7781 echo "${ECHO_T}yes" >&6
7784 echo "$as_me:$LINENO: result
: no
" >&5
7785 echo "${ECHO_T}no
" >&6
7790 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
7791 for ncn_progname in cc gcc; do
7792 if test -n "$ncn_target_tool_prefix"; then
7793 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
7794 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
7795 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7796 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7797 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then
7798 echo $ECHO_N "(cached
) $ECHO_C" >&6
7800 if test -n "$CC_FOR_TARGET"; then
7801 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
7803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7807 test -z "$as_dir" && as_dir=.
7808 for ac_exec_ext in '' $ac_executable_extensions; do
7809 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7810 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
7811 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7819 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
7820 if test -n "$CC_FOR_TARGET"; then
7821 echo "$as_me:$LINENO: result
: $CC_FOR_TARGET" >&5
7822 echo "${ECHO_T}$CC_FOR_TARGET" >&6
7824 echo "$as_me:$LINENO: result
: no
" >&5
7825 echo "${ECHO_T}no
" >&6
7829 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
7830 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7831 set dummy ${ncn_progname}; ac_word=$2
7832 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7833 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7834 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then
7835 echo $ECHO_N "(cached
) $ECHO_C" >&6
7837 if test -n "$CC_FOR_TARGET"; then
7838 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
7840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7844 test -z "$as_dir" && as_dir=.
7845 for ac_exec_ext in '' $ac_executable_extensions; do
7846 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7847 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
7848 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7856 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
7857 if test -n "$CC_FOR_TARGET"; then
7858 echo "$as_me:$LINENO: result
: $CC_FOR_TARGET" >&5
7859 echo "${ECHO_T}$CC_FOR_TARGET" >&6
7861 echo "$as_me:$LINENO: result
: no
" >&5
7862 echo "${ECHO_T}no
" >&6
7866 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
7870 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
7872 if test $build = $target ; then
7875 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
7881 if test -n "$CXX_FOR_TARGET"; then
7882 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
7883 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
7884 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
7887 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
7888 for ncn_progname in c++ g++ cxx gxx; do
7889 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7890 set dummy ${ncn_progname}; ac_word=$2
7891 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7892 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7893 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then
7894 echo $ECHO_N "(cached
) $ECHO_C" >&6
7896 if test -n "$CXX_FOR_TARGET"; then
7897 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
7899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7903 test -z "$as_dir" && as_dir=.
7904 for ac_exec_ext in '' $ac_executable_extensions; do
7905 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7906 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
7907 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7915 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
7916 if test -n "$CXX_FOR_TARGET"; then
7917 echo "$as_me:$LINENO: result
: $CXX_FOR_TARGET" >&5
7918 echo "${ECHO_T}$CXX_FOR_TARGET" >&6
7920 echo "$as_me:$LINENO: result
: no
" >&5
7921 echo "${ECHO_T}no
" >&6
7927 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
7928 for ncn_progname in c++ g++ cxx gxx; do
7929 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
7930 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
7931 if test -x $with_build_time_tools/${ncn_progname}; then
7932 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
7933 echo "$as_me:$LINENO: result
: yes" >&5
7934 echo "${ECHO_T}yes" >&6
7937 echo "$as_me:$LINENO: result
: no
" >&5
7938 echo "${ECHO_T}no
" >&6
7943 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
7944 for ncn_progname in c++ g++ cxx gxx; do
7945 if test -n "$ncn_target_tool_prefix"; then
7946 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
7947 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
7948 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7949 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7950 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then
7951 echo $ECHO_N "(cached
) $ECHO_C" >&6
7953 if test -n "$CXX_FOR_TARGET"; then
7954 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
7956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7960 test -z "$as_dir" && as_dir=.
7961 for ac_exec_ext in '' $ac_executable_extensions; do
7962 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7963 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
7964 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7972 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
7973 if test -n "$CXX_FOR_TARGET"; then
7974 echo "$as_me:$LINENO: result
: $CXX_FOR_TARGET" >&5
7975 echo "${ECHO_T}$CXX_FOR_TARGET" >&6
7977 echo "$as_me:$LINENO: result
: no
" >&5
7978 echo "${ECHO_T}no
" >&6
7982 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
7983 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7984 set dummy ${ncn_progname}; ac_word=$2
7985 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7986 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7987 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then
7988 echo $ECHO_N "(cached
) $ECHO_C" >&6
7990 if test -n "$CXX_FOR_TARGET"; then
7991 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
7993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7997 test -z "$as_dir" && as_dir=.
7998 for ac_exec_ext in '' $ac_executable_extensions; do
7999 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8000 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
8001 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8009 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
8010 if test -n "$CXX_FOR_TARGET"; then
8011 echo "$as_me:$LINENO: result
: $CXX_FOR_TARGET" >&5
8012 echo "${ECHO_T}$CXX_FOR_TARGET" >&6
8014 echo "$as_me:$LINENO: result
: no
" >&5
8015 echo "${ECHO_T}no
" >&6
8019 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
8023 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
8024 set dummy c++ g++ cxx gxx
8025 if test $build = $target ; then
8028 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
8034 if test -n "$GCC_FOR_TARGET"; then
8035 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
8036 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
8037 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
8040 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
8041 for ncn_progname in gcc; do
8042 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8043 set dummy ${ncn_progname}; ac_word=$2
8044 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8045 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8046 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then
8047 echo $ECHO_N "(cached
) $ECHO_C" >&6
8049 if test -n "$GCC_FOR_TARGET"; then
8050 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
8052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8056 test -z "$as_dir" && as_dir=.
8057 for ac_exec_ext in '' $ac_executable_extensions; do
8058 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8059 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
8060 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8068 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
8069 if test -n "$GCC_FOR_TARGET"; then
8070 echo "$as_me:$LINENO: result
: $GCC_FOR_TARGET" >&5
8071 echo "${ECHO_T}$GCC_FOR_TARGET" >&6
8073 echo "$as_me:$LINENO: result
: no
" >&5
8074 echo "${ECHO_T}no
" >&6
8080 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
8081 for ncn_progname in gcc; do
8082 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
8083 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
8084 if test -x $with_build_time_tools/${ncn_progname}; then
8085 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8086 echo "$as_me:$LINENO: result
: yes" >&5
8087 echo "${ECHO_T}yes" >&6
8090 echo "$as_me:$LINENO: result
: no
" >&5
8091 echo "${ECHO_T}no
" >&6
8096 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
8097 for ncn_progname in gcc; do
8098 if test -n "$ncn_target_tool_prefix"; then
8099 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8100 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
8101 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8102 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8103 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then
8104 echo $ECHO_N "(cached
) $ECHO_C" >&6
8106 if test -n "$GCC_FOR_TARGET"; then
8107 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
8109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8113 test -z "$as_dir" && as_dir=.
8114 for ac_exec_ext in '' $ac_executable_extensions; do
8115 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8116 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
8117 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8125 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
8126 if test -n "$GCC_FOR_TARGET"; then
8127 echo "$as_me:$LINENO: result
: $GCC_FOR_TARGET" >&5
8128 echo "${ECHO_T}$GCC_FOR_TARGET" >&6
8130 echo "$as_me:$LINENO: result
: no
" >&5
8131 echo "${ECHO_T}no
" >&6
8135 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
8136 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8137 set dummy ${ncn_progname}; ac_word=$2
8138 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8139 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8140 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then
8141 echo $ECHO_N "(cached
) $ECHO_C" >&6
8143 if test -n "$GCC_FOR_TARGET"; then
8144 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
8146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8150 test -z "$as_dir" && as_dir=.
8151 for ac_exec_ext in '' $ac_executable_extensions; do
8152 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8153 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
8154 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8162 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
8163 if test -n "$GCC_FOR_TARGET"; then
8164 echo "$as_me:$LINENO: result
: $GCC_FOR_TARGET" >&5
8165 echo "${ECHO_T}$GCC_FOR_TARGET" >&6
8167 echo "$as_me:$LINENO: result
: no
" >&5
8168 echo "${ECHO_T}no
" >&6
8172 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
8176 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
8177 GCC_FOR_TARGET="${CC_FOR_TARGET}"
8182 if test -n "$GCJ_FOR_TARGET"; then
8183 ac_cv_prog_GCJ_FOR_TARGET=$GCJ_FOR_TARGET
8184 elif test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
8185 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
8188 if test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
8189 for ncn_progname in gcj; do
8190 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8191 set dummy ${ncn_progname}; ac_word=$2
8192 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8193 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8194 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then
8195 echo $ECHO_N "(cached
) $ECHO_C" >&6
8197 if test -n "$GCJ_FOR_TARGET"; then
8198 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
8200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8204 test -z "$as_dir" && as_dir=.
8205 for ac_exec_ext in '' $ac_executable_extensions; do
8206 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8207 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
8208 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8216 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
8217 if test -n "$GCJ_FOR_TARGET"; then
8218 echo "$as_me:$LINENO: result
: $GCJ_FOR_TARGET" >&5
8219 echo "${ECHO_T}$GCJ_FOR_TARGET" >&6
8221 echo "$as_me:$LINENO: result
: no
" >&5
8222 echo "${ECHO_T}no
" >&6
8228 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test -n "$with_build_time_tools"; then
8229 for ncn_progname in gcj; do
8230 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
8231 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
8232 if test -x $with_build_time_tools/${ncn_progname}; then
8233 ac_cv_prog_GCJ_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8234 echo "$as_me:$LINENO: result
: yes" >&5
8235 echo "${ECHO_T}yes" >&6
8238 echo "$as_me:$LINENO: result
: no
" >&5
8239 echo "${ECHO_T}no
" >&6
8244 if test -z "$ac_cv_prog_GCJ_FOR_TARGET"; then
8245 for ncn_progname in gcj; do
8246 if test -n "$ncn_target_tool_prefix"; then
8247 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8248 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
8249 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8250 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8251 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then
8252 echo $ECHO_N "(cached
) $ECHO_C" >&6
8254 if test -n "$GCJ_FOR_TARGET"; then
8255 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
8257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8261 test -z "$as_dir" && as_dir=.
8262 for ac_exec_ext in '' $ac_executable_extensions; do
8263 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8264 ac_cv_prog_GCJ_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
8265 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8273 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
8274 if test -n "$GCJ_FOR_TARGET"; then
8275 echo "$as_me:$LINENO: result
: $GCJ_FOR_TARGET" >&5
8276 echo "${ECHO_T}$GCJ_FOR_TARGET" >&6
8278 echo "$as_me:$LINENO: result
: no
" >&5
8279 echo "${ECHO_T}no
" >&6
8283 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test $build = $target ; then
8284 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8285 set dummy ${ncn_progname}; ac_word=$2
8286 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8287 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8288 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then
8289 echo $ECHO_N "(cached
) $ECHO_C" >&6
8291 if test -n "$GCJ_FOR_TARGET"; then
8292 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
8294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8298 test -z "$as_dir" && as_dir=.
8299 for ac_exec_ext in '' $ac_executable_extensions; do
8300 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8301 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
8302 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8310 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
8311 if test -n "$GCJ_FOR_TARGET"; then
8312 echo "$as_me:$LINENO: result
: $GCJ_FOR_TARGET" >&5
8313 echo "${ECHO_T}$GCJ_FOR_TARGET" >&6
8315 echo "$as_me:$LINENO: result
: no
" >&5
8316 echo "${ECHO_T}no
" >&6
8320 test -n "$ac_cv_prog_GCJ_FOR_TARGET" && break
8324 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" ; then
8326 if test $build = $target ; then
8329 GCJ_FOR_TARGET="${ncn_target_tool_prefix}$2"
8335 if test -n "$GFORTRAN_FOR_TARGET"; then
8336 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
8337 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
8338 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
8341 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
8342 for ncn_progname in gfortran; do
8343 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8344 set dummy ${ncn_progname}; ac_word=$2
8345 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8346 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8347 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then
8348 echo $ECHO_N "(cached
) $ECHO_C" >&6
8350 if test -n "$GFORTRAN_FOR_TARGET"; then
8351 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
8353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8357 test -z "$as_dir" && as_dir=.
8358 for ac_exec_ext in '' $ac_executable_extensions; do
8359 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8360 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
8361 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8369 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
8370 if test -n "$GFORTRAN_FOR_TARGET"; then
8371 echo "$as_me:$LINENO: result
: $GFORTRAN_FOR_TARGET" >&5
8372 echo "${ECHO_T}$GFORTRAN_FOR_TARGET" >&6
8374 echo "$as_me:$LINENO: result
: no
" >&5
8375 echo "${ECHO_T}no
" >&6
8381 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
8382 for ncn_progname in gfortran; do
8383 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
8384 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
8385 if test -x $with_build_time_tools/${ncn_progname}; then
8386 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8387 echo "$as_me:$LINENO: result
: yes" >&5
8388 echo "${ECHO_T}yes" >&6
8391 echo "$as_me:$LINENO: result
: no
" >&5
8392 echo "${ECHO_T}no
" >&6
8397 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
8398 for ncn_progname in gfortran; do
8399 if test -n "$ncn_target_tool_prefix"; then
8400 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8401 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
8402 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8403 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8404 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then
8405 echo $ECHO_N "(cached
) $ECHO_C" >&6
8407 if test -n "$GFORTRAN_FOR_TARGET"; then
8408 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
8410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8414 test -z "$as_dir" && as_dir=.
8415 for ac_exec_ext in '' $ac_executable_extensions; do
8416 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8417 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
8418 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8426 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
8427 if test -n "$GFORTRAN_FOR_TARGET"; then
8428 echo "$as_me:$LINENO: result
: $GFORTRAN_FOR_TARGET" >&5
8429 echo "${ECHO_T}$GFORTRAN_FOR_TARGET" >&6
8431 echo "$as_me:$LINENO: result
: no
" >&5
8432 echo "${ECHO_T}no
" >&6
8436 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
8437 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8438 set dummy ${ncn_progname}; ac_word=$2
8439 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8440 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8441 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then
8442 echo $ECHO_N "(cached
) $ECHO_C" >&6
8444 if test -n "$GFORTRAN_FOR_TARGET"; then
8445 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
8447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8451 test -z "$as_dir" && as_dir=.
8452 for ac_exec_ext in '' $ac_executable_extensions; do
8453 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8454 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
8455 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8463 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
8464 if test -n "$GFORTRAN_FOR_TARGET"; then
8465 echo "$as_me:$LINENO: result
: $GFORTRAN_FOR_TARGET" >&5
8466 echo "${ECHO_T}$GFORTRAN_FOR_TARGET" >&6
8468 echo "$as_me:$LINENO: result
: no
" >&5
8469 echo "${ECHO_T}no
" >&6
8473 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
8477 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
8479 if test $build = $target ; then
8480 GFORTRAN_FOR_TARGET="$2"
8482 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
8488 cat > conftest.c << \EOF
8493 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
8494 have_gcc_for_target=yes
8496 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
8497 have_gcc_for_target=no
8504 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
8505 if test -n "$with_build_time_tools"; then
8506 echo "$as_me:$LINENO: checking
for ar in $with_build_time_tools" >&5
8507 echo $ECHO_N "checking
for ar in $with_build_time_tools...
$ECHO_C" >&6
8508 if test -x $with_build_time_tools/ar; then
8509 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
8510 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
8511 echo "$as_me:$LINENO: result
: $ac_cv_path_AR_FOR_TARGET" >&5
8512 echo "${ECHO_T}$ac_cv_path_AR_FOR_TARGET" >&6
8514 echo "$as_me:$LINENO: result
: no
" >&5
8515 echo "${ECHO_T}no
" >&6
8517 elif test $build != $host && test $have_gcc_for_target = yes; then
8518 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
8519 test $AR_FOR_TARGET=ar && AR_FOR_TARGET=
8520 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
8523 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
8524 # Extract the first word of "ar", so it can be a program name with args.
8525 set dummy ar; ac_word=$2
8526 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8527 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8528 if test "${ac_cv_path_AR_FOR_TARGET+set}" = set; then
8529 echo $ECHO_N "(cached
) $ECHO_C" >&6
8531 case $AR_FOR_TARGET in
8533 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
8536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8537 for as_dir in $gcc_cv_tool_dirs
8540 test -z "$as_dir" && as_dir=.
8541 for ac_exec_ext in '' $ac_executable_extensions; do
8542 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8543 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
8544 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8553 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
8555 if test -n "$AR_FOR_TARGET"; then
8556 echo "$as_me:$LINENO: result
: $AR_FOR_TARGET" >&5
8557 echo "${ECHO_T}$AR_FOR_TARGET" >&6
8559 echo "$as_me:$LINENO: result
: no
" >&5
8560 echo "${ECHO_T}no
" >&6
8564 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
8567 if test -n "$AR_FOR_TARGET"; then
8568 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
8569 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
8570 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
8573 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
8574 for ncn_progname in ar; do
8575 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8576 set dummy ${ncn_progname}; ac_word=$2
8577 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8578 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8579 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then
8580 echo $ECHO_N "(cached
) $ECHO_C" >&6
8582 if test -n "$AR_FOR_TARGET"; then
8583 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
8585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8589 test -z "$as_dir" && as_dir=.
8590 for ac_exec_ext in '' $ac_executable_extensions; do
8591 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8592 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
8593 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8601 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
8602 if test -n "$AR_FOR_TARGET"; then
8603 echo "$as_me:$LINENO: result
: $AR_FOR_TARGET" >&5
8604 echo "${ECHO_T}$AR_FOR_TARGET" >&6
8606 echo "$as_me:$LINENO: result
: no
" >&5
8607 echo "${ECHO_T}no
" >&6
8613 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
8614 for ncn_progname in ar; do
8615 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
8616 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
8617 if test -x $with_build_time_tools/${ncn_progname}; then
8618 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8619 echo "$as_me:$LINENO: result
: yes" >&5
8620 echo "${ECHO_T}yes" >&6
8623 echo "$as_me:$LINENO: result
: no
" >&5
8624 echo "${ECHO_T}no
" >&6
8629 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
8630 for ncn_progname in ar; do
8631 if test -n "$ncn_target_tool_prefix"; then
8632 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8633 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
8634 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8635 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8636 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then
8637 echo $ECHO_N "(cached
) $ECHO_C" >&6
8639 if test -n "$AR_FOR_TARGET"; then
8640 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
8642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8646 test -z "$as_dir" && as_dir=.
8647 for ac_exec_ext in '' $ac_executable_extensions; do
8648 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8649 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
8650 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8658 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
8659 if test -n "$AR_FOR_TARGET"; then
8660 echo "$as_me:$LINENO: result
: $AR_FOR_TARGET" >&5
8661 echo "${ECHO_T}$AR_FOR_TARGET" >&6
8663 echo "$as_me:$LINENO: result
: no
" >&5
8664 echo "${ECHO_T}no
" >&6
8668 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
8669 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8670 set dummy ${ncn_progname}; ac_word=$2
8671 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8672 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8673 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then
8674 echo $ECHO_N "(cached
) $ECHO_C" >&6
8676 if test -n "$AR_FOR_TARGET"; then
8677 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
8679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8683 test -z "$as_dir" && as_dir=.
8684 for ac_exec_ext in '' $ac_executable_extensions; do
8685 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8686 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
8687 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8695 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
8696 if test -n "$AR_FOR_TARGET"; then
8697 echo "$as_me:$LINENO: result
: $AR_FOR_TARGET" >&5
8698 echo "${ECHO_T}$AR_FOR_TARGET" >&6
8700 echo "$as_me:$LINENO: result
: no
" >&5
8701 echo "${ECHO_T}no
" >&6
8705 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
8709 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
8711 if test $build = $target ; then
8714 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
8719 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
8725 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
8726 if test -n "$with_build_time_tools"; then
8727 echo "$as_me:$LINENO: checking
for as
in $with_build_time_tools" >&5
8728 echo $ECHO_N "checking
for as
in $with_build_time_tools...
$ECHO_C" >&6
8729 if test -x $with_build_time_tools/as; then
8730 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
8731 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
8732 echo "$as_me:$LINENO: result
: $ac_cv_path_AS_FOR_TARGET" >&5
8733 echo "${ECHO_T}$ac_cv_path_AS_FOR_TARGET" >&6
8735 echo "$as_me:$LINENO: result
: no
" >&5
8736 echo "${ECHO_T}no
" >&6
8738 elif test $build != $host && test $have_gcc_for_target = yes; then
8739 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
8740 test $AS_FOR_TARGET=as && AS_FOR_TARGET=
8741 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
8744 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
8745 # Extract the first word of "as
", so it can be a program name with args.
8746 set dummy as; ac_word=$2
8747 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8748 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8749 if test "${ac_cv_path_AS_FOR_TARGET+set}" = set; then
8750 echo $ECHO_N "(cached
) $ECHO_C" >&6
8752 case $AS_FOR_TARGET in
8754 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
8757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8758 for as_dir in $gcc_cv_tool_dirs
8761 test -z "$as_dir" && as_dir=.
8762 for ac_exec_ext in '' $ac_executable_extensions; do
8763 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8764 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
8765 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8774 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
8776 if test -n "$AS_FOR_TARGET"; then
8777 echo "$as_me:$LINENO: result
: $AS_FOR_TARGET" >&5
8778 echo "${ECHO_T}$AS_FOR_TARGET" >&6
8780 echo "$as_me:$LINENO: result
: no
" >&5
8781 echo "${ECHO_T}no
" >&6
8785 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
8788 if test -n "$AS_FOR_TARGET"; then
8789 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
8790 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
8791 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
8794 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
8795 for ncn_progname in as; do
8796 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8797 set dummy ${ncn_progname}; ac_word=$2
8798 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8799 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8800 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then
8801 echo $ECHO_N "(cached
) $ECHO_C" >&6
8803 if test -n "$AS_FOR_TARGET"; then
8804 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
8806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8810 test -z "$as_dir" && as_dir=.
8811 for ac_exec_ext in '' $ac_executable_extensions; do
8812 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8813 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
8814 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8822 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
8823 if test -n "$AS_FOR_TARGET"; then
8824 echo "$as_me:$LINENO: result
: $AS_FOR_TARGET" >&5
8825 echo "${ECHO_T}$AS_FOR_TARGET" >&6
8827 echo "$as_me:$LINENO: result
: no
" >&5
8828 echo "${ECHO_T}no
" >&6
8834 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
8835 for ncn_progname in as; do
8836 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
8837 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
8838 if test -x $with_build_time_tools/${ncn_progname}; then
8839 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8840 echo "$as_me:$LINENO: result
: yes" >&5
8841 echo "${ECHO_T}yes" >&6
8844 echo "$as_me:$LINENO: result
: no
" >&5
8845 echo "${ECHO_T}no
" >&6
8850 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
8851 for ncn_progname in as; do
8852 if test -n "$ncn_target_tool_prefix"; then
8853 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8854 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
8855 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8856 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8857 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then
8858 echo $ECHO_N "(cached
) $ECHO_C" >&6
8860 if test -n "$AS_FOR_TARGET"; then
8861 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
8863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8867 test -z "$as_dir" && as_dir=.
8868 for ac_exec_ext in '' $ac_executable_extensions; do
8869 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8870 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
8871 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8879 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
8880 if test -n "$AS_FOR_TARGET"; then
8881 echo "$as_me:$LINENO: result
: $AS_FOR_TARGET" >&5
8882 echo "${ECHO_T}$AS_FOR_TARGET" >&6
8884 echo "$as_me:$LINENO: result
: no
" >&5
8885 echo "${ECHO_T}no
" >&6
8889 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
8890 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8891 set dummy ${ncn_progname}; ac_word=$2
8892 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8893 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8894 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then
8895 echo $ECHO_N "(cached
) $ECHO_C" >&6
8897 if test -n "$AS_FOR_TARGET"; then
8898 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
8900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8904 test -z "$as_dir" && as_dir=.
8905 for ac_exec_ext in '' $ac_executable_extensions; do
8906 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8907 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
8908 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8916 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
8917 if test -n "$AS_FOR_TARGET"; then
8918 echo "$as_me:$LINENO: result
: $AS_FOR_TARGET" >&5
8919 echo "${ECHO_T}$AS_FOR_TARGET" >&6
8921 echo "$as_me:$LINENO: result
: no
" >&5
8922 echo "${ECHO_T}no
" >&6
8926 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
8930 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
8932 if test $build = $target ; then
8935 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
8940 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
8946 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
8947 if test -n "$with_build_time_tools"; then
8948 echo "$as_me:$LINENO: checking
for dlltool
in $with_build_time_tools" >&5
8949 echo $ECHO_N "checking
for dlltool
in $with_build_time_tools...
$ECHO_C" >&6
8950 if test -x $with_build_time_tools/dlltool; then
8951 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
8952 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
8953 echo "$as_me:$LINENO: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
8954 echo "${ECHO_T}$ac_cv_path_DLLTOOL_FOR_TARGET" >&6
8956 echo "$as_me:$LINENO: result
: no
" >&5
8957 echo "${ECHO_T}no
" >&6
8959 elif test $build != $host && test $have_gcc_for_target = yes; then
8960 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
8961 test $DLLTOOL_FOR_TARGET=dlltool && DLLTOOL_FOR_TARGET=
8962 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
8965 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
8966 # Extract the first word of "dlltool
", so it can be a program name with args.
8967 set dummy dlltool; ac_word=$2
8968 echo "$as_me:$LINENO: checking
for $ac_word" >&5
8969 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
8970 if test "${ac_cv_path_DLLTOOL_FOR_TARGET+set}" = set; then
8971 echo $ECHO_N "(cached
) $ECHO_C" >&6
8973 case $DLLTOOL_FOR_TARGET in
8975 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
8978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8979 for as_dir in $gcc_cv_tool_dirs
8982 test -z "$as_dir" && as_dir=.
8983 for ac_exec_ext in '' $ac_executable_extensions; do
8984 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8985 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
8986 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8995 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
8997 if test -n "$DLLTOOL_FOR_TARGET"; then
8998 echo "$as_me:$LINENO: result
: $DLLTOOL_FOR_TARGET" >&5
8999 echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6
9001 echo "$as_me:$LINENO: result
: no
" >&5
9002 echo "${ECHO_T}no
" >&6
9006 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
9009 if test -n "$DLLTOOL_FOR_TARGET"; then
9010 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
9011 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
9012 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
9015 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
9016 for ncn_progname in dlltool; do
9017 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9018 set dummy ${ncn_progname}; ac_word=$2
9019 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9020 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9021 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then
9022 echo $ECHO_N "(cached
) $ECHO_C" >&6
9024 if test -n "$DLLTOOL_FOR_TARGET"; then
9025 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
9027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9031 test -z "$as_dir" && as_dir=.
9032 for ac_exec_ext in '' $ac_executable_extensions; do
9033 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9034 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
9035 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9043 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
9044 if test -n "$DLLTOOL_FOR_TARGET"; then
9045 echo "$as_me:$LINENO: result
: $DLLTOOL_FOR_TARGET" >&5
9046 echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6
9048 echo "$as_me:$LINENO: result
: no
" >&5
9049 echo "${ECHO_T}no
" >&6
9055 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
9056 for ncn_progname in dlltool; do
9057 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9058 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
9059 if test -x $with_build_time_tools/${ncn_progname}; then
9060 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9061 echo "$as_me:$LINENO: result
: yes" >&5
9062 echo "${ECHO_T}yes" >&6
9065 echo "$as_me:$LINENO: result
: no
" >&5
9066 echo "${ECHO_T}no
" >&6
9071 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
9072 for ncn_progname in dlltool; do
9073 if test -n "$ncn_target_tool_prefix"; then
9074 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9075 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9076 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9077 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9078 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then
9079 echo $ECHO_N "(cached
) $ECHO_C" >&6
9081 if test -n "$DLLTOOL_FOR_TARGET"; then
9082 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
9084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9088 test -z "$as_dir" && as_dir=.
9089 for ac_exec_ext in '' $ac_executable_extensions; do
9090 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9091 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9092 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9100 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
9101 if test -n "$DLLTOOL_FOR_TARGET"; then
9102 echo "$as_me:$LINENO: result
: $DLLTOOL_FOR_TARGET" >&5
9103 echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6
9105 echo "$as_me:$LINENO: result
: no
" >&5
9106 echo "${ECHO_T}no
" >&6
9110 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
9111 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9112 set dummy ${ncn_progname}; ac_word=$2
9113 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9114 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9115 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then
9116 echo $ECHO_N "(cached
) $ECHO_C" >&6
9118 if test -n "$DLLTOOL_FOR_TARGET"; then
9119 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
9121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9125 test -z "$as_dir" && as_dir=.
9126 for ac_exec_ext in '' $ac_executable_extensions; do
9127 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9128 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
9129 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9137 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
9138 if test -n "$DLLTOOL_FOR_TARGET"; then
9139 echo "$as_me:$LINENO: result
: $DLLTOOL_FOR_TARGET" >&5
9140 echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6
9142 echo "$as_me:$LINENO: result
: no
" >&5
9143 echo "${ECHO_T}no
" >&6
9147 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
9151 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
9153 if test $build = $target ; then
9154 DLLTOOL_FOR_TARGET="$2"
9156 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
9161 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
9167 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
9168 if test -n "$with_build_time_tools"; then
9169 echo "$as_me:$LINENO: checking
for ld
in $with_build_time_tools" >&5
9170 echo $ECHO_N "checking
for ld
in $with_build_time_tools...
$ECHO_C" >&6
9171 if test -x $with_build_time_tools/ld; then
9172 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
9173 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
9174 echo "$as_me:$LINENO: result
: $ac_cv_path_LD_FOR_TARGET" >&5
9175 echo "${ECHO_T}$ac_cv_path_LD_FOR_TARGET" >&6
9177 echo "$as_me:$LINENO: result
: no
" >&5
9178 echo "${ECHO_T}no
" >&6
9180 elif test $build != $host && test $have_gcc_for_target = yes; then
9181 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
9182 test $LD_FOR_TARGET=ld && LD_FOR_TARGET=
9183 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
9186 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
9187 # Extract the first word of "ld
", so it can be a program name with args.
9188 set dummy ld; ac_word=$2
9189 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9190 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9191 if test "${ac_cv_path_LD_FOR_TARGET+set}" = set; then
9192 echo $ECHO_N "(cached
) $ECHO_C" >&6
9194 case $LD_FOR_TARGET in
9196 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
9199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9200 for as_dir in $gcc_cv_tool_dirs
9203 test -z "$as_dir" && as_dir=.
9204 for ac_exec_ext in '' $ac_executable_extensions; do
9205 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9206 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
9207 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9216 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
9218 if test -n "$LD_FOR_TARGET"; then
9219 echo "$as_me:$LINENO: result
: $LD_FOR_TARGET" >&5
9220 echo "${ECHO_T}$LD_FOR_TARGET" >&6
9222 echo "$as_me:$LINENO: result
: no
" >&5
9223 echo "${ECHO_T}no
" >&6
9227 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
9230 if test -n "$LD_FOR_TARGET"; then
9231 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
9232 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
9233 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
9236 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
9237 for ncn_progname in ld; do
9238 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9239 set dummy ${ncn_progname}; ac_word=$2
9240 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9241 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9242 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then
9243 echo $ECHO_N "(cached
) $ECHO_C" >&6
9245 if test -n "$LD_FOR_TARGET"; then
9246 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
9248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9252 test -z "$as_dir" && as_dir=.
9253 for ac_exec_ext in '' $ac_executable_extensions; do
9254 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9255 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
9256 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9264 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
9265 if test -n "$LD_FOR_TARGET"; then
9266 echo "$as_me:$LINENO: result
: $LD_FOR_TARGET" >&5
9267 echo "${ECHO_T}$LD_FOR_TARGET" >&6
9269 echo "$as_me:$LINENO: result
: no
" >&5
9270 echo "${ECHO_T}no
" >&6
9276 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
9277 for ncn_progname in ld; do
9278 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9279 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
9280 if test -x $with_build_time_tools/${ncn_progname}; then
9281 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9282 echo "$as_me:$LINENO: result
: yes" >&5
9283 echo "${ECHO_T}yes" >&6
9286 echo "$as_me:$LINENO: result
: no
" >&5
9287 echo "${ECHO_T}no
" >&6
9292 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
9293 for ncn_progname in ld; do
9294 if test -n "$ncn_target_tool_prefix"; then
9295 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9296 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9297 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9298 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9299 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then
9300 echo $ECHO_N "(cached
) $ECHO_C" >&6
9302 if test -n "$LD_FOR_TARGET"; then
9303 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
9305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9309 test -z "$as_dir" && as_dir=.
9310 for ac_exec_ext in '' $ac_executable_extensions; do
9311 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9312 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9313 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9321 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
9322 if test -n "$LD_FOR_TARGET"; then
9323 echo "$as_me:$LINENO: result
: $LD_FOR_TARGET" >&5
9324 echo "${ECHO_T}$LD_FOR_TARGET" >&6
9326 echo "$as_me:$LINENO: result
: no
" >&5
9327 echo "${ECHO_T}no
" >&6
9331 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
9332 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9333 set dummy ${ncn_progname}; ac_word=$2
9334 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9335 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9336 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then
9337 echo $ECHO_N "(cached
) $ECHO_C" >&6
9339 if test -n "$LD_FOR_TARGET"; then
9340 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
9342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9346 test -z "$as_dir" && as_dir=.
9347 for ac_exec_ext in '' $ac_executable_extensions; do
9348 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9349 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
9350 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9358 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
9359 if test -n "$LD_FOR_TARGET"; then
9360 echo "$as_me:$LINENO: result
: $LD_FOR_TARGET" >&5
9361 echo "${ECHO_T}$LD_FOR_TARGET" >&6
9363 echo "$as_me:$LINENO: result
: no
" >&5
9364 echo "${ECHO_T}no
" >&6
9368 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
9372 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
9374 if test $build = $target ; then
9377 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
9382 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
9388 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
9389 if test -n "$with_build_time_tools"; then
9390 echo "$as_me:$LINENO: checking
for lipo
in $with_build_time_tools" >&5
9391 echo $ECHO_N "checking
for lipo
in $with_build_time_tools...
$ECHO_C" >&6
9392 if test -x $with_build_time_tools/lipo; then
9393 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
9394 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
9395 echo "$as_me:$LINENO: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
9396 echo "${ECHO_T}$ac_cv_path_LIPO_FOR_TARGET" >&6
9398 echo "$as_me:$LINENO: result
: no
" >&5
9399 echo "${ECHO_T}no
" >&6
9401 elif test $build != $host && test $have_gcc_for_target = yes; then
9402 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
9403 test $LIPO_FOR_TARGET=lipo && LIPO_FOR_TARGET=
9404 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
9407 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
9408 # Extract the first word of "lipo
", so it can be a program name with args.
9409 set dummy lipo; ac_word=$2
9410 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9411 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9412 if test "${ac_cv_path_LIPO_FOR_TARGET+set}" = set; then
9413 echo $ECHO_N "(cached
) $ECHO_C" >&6
9415 case $LIPO_FOR_TARGET in
9417 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
9420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9421 for as_dir in $gcc_cv_tool_dirs
9424 test -z "$as_dir" && as_dir=.
9425 for ac_exec_ext in '' $ac_executable_extensions; do
9426 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9427 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
9428 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9437 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
9439 if test -n "$LIPO_FOR_TARGET"; then
9440 echo "$as_me:$LINENO: result
: $LIPO_FOR_TARGET" >&5
9441 echo "${ECHO_T}$LIPO_FOR_TARGET" >&6
9443 echo "$as_me:$LINENO: result
: no
" >&5
9444 echo "${ECHO_T}no
" >&6
9448 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
9451 if test -n "$LIPO_FOR_TARGET"; then
9452 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
9453 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
9454 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
9457 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
9458 for ncn_progname in lipo; do
9459 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9460 set dummy ${ncn_progname}; ac_word=$2
9461 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9462 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9463 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then
9464 echo $ECHO_N "(cached
) $ECHO_C" >&6
9466 if test -n "$LIPO_FOR_TARGET"; then
9467 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
9469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9473 test -z "$as_dir" && as_dir=.
9474 for ac_exec_ext in '' $ac_executable_extensions; do
9475 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9476 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
9477 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9485 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
9486 if test -n "$LIPO_FOR_TARGET"; then
9487 echo "$as_me:$LINENO: result
: $LIPO_FOR_TARGET" >&5
9488 echo "${ECHO_T}$LIPO_FOR_TARGET" >&6
9490 echo "$as_me:$LINENO: result
: no
" >&5
9491 echo "${ECHO_T}no
" >&6
9497 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
9498 for ncn_progname in lipo; do
9499 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9500 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
9501 if test -x $with_build_time_tools/${ncn_progname}; then
9502 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9503 echo "$as_me:$LINENO: result
: yes" >&5
9504 echo "${ECHO_T}yes" >&6
9507 echo "$as_me:$LINENO: result
: no
" >&5
9508 echo "${ECHO_T}no
" >&6
9513 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
9514 for ncn_progname in lipo; do
9515 if test -n "$ncn_target_tool_prefix"; then
9516 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9517 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9518 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9519 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9520 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then
9521 echo $ECHO_N "(cached
) $ECHO_C" >&6
9523 if test -n "$LIPO_FOR_TARGET"; then
9524 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
9526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9530 test -z "$as_dir" && as_dir=.
9531 for ac_exec_ext in '' $ac_executable_extensions; do
9532 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9533 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9534 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9542 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
9543 if test -n "$LIPO_FOR_TARGET"; then
9544 echo "$as_me:$LINENO: result
: $LIPO_FOR_TARGET" >&5
9545 echo "${ECHO_T}$LIPO_FOR_TARGET" >&6
9547 echo "$as_me:$LINENO: result
: no
" >&5
9548 echo "${ECHO_T}no
" >&6
9552 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
9553 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9554 set dummy ${ncn_progname}; ac_word=$2
9555 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9556 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9557 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then
9558 echo $ECHO_N "(cached
) $ECHO_C" >&6
9560 if test -n "$LIPO_FOR_TARGET"; then
9561 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
9563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9567 test -z "$as_dir" && as_dir=.
9568 for ac_exec_ext in '' $ac_executable_extensions; do
9569 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9570 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
9571 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9579 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
9580 if test -n "$LIPO_FOR_TARGET"; then
9581 echo "$as_me:$LINENO: result
: $LIPO_FOR_TARGET" >&5
9582 echo "${ECHO_T}$LIPO_FOR_TARGET" >&6
9584 echo "$as_me:$LINENO: result
: no
" >&5
9585 echo "${ECHO_T}no
" >&6
9589 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
9593 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
9595 if test $build = $target ; then
9596 LIPO_FOR_TARGET="$2"
9598 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
9603 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
9609 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
9610 if test -n "$with_build_time_tools"; then
9611 echo "$as_me:$LINENO: checking
for nm
in $with_build_time_tools" >&5
9612 echo $ECHO_N "checking
for nm
in $with_build_time_tools...
$ECHO_C" >&6
9613 if test -x $with_build_time_tools/nm; then
9614 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
9615 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
9616 echo "$as_me:$LINENO: result
: $ac_cv_path_NM_FOR_TARGET" >&5
9617 echo "${ECHO_T}$ac_cv_path_NM_FOR_TARGET" >&6
9619 echo "$as_me:$LINENO: result
: no
" >&5
9620 echo "${ECHO_T}no
" >&6
9622 elif test $build != $host && test $have_gcc_for_target = yes; then
9623 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
9624 test $NM_FOR_TARGET=nm && NM_FOR_TARGET=
9625 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
9628 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
9629 # Extract the first word of "nm
", so it can be a program name with args.
9630 set dummy nm; ac_word=$2
9631 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9632 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9633 if test "${ac_cv_path_NM_FOR_TARGET+set}" = set; then
9634 echo $ECHO_N "(cached
) $ECHO_C" >&6
9636 case $NM_FOR_TARGET in
9638 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
9641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9642 for as_dir in $gcc_cv_tool_dirs
9645 test -z "$as_dir" && as_dir=.
9646 for ac_exec_ext in '' $ac_executable_extensions; do
9647 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9648 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
9649 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9658 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
9660 if test -n "$NM_FOR_TARGET"; then
9661 echo "$as_me:$LINENO: result
: $NM_FOR_TARGET" >&5
9662 echo "${ECHO_T}$NM_FOR_TARGET" >&6
9664 echo "$as_me:$LINENO: result
: no
" >&5
9665 echo "${ECHO_T}no
" >&6
9669 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
9672 if test -n "$NM_FOR_TARGET"; then
9673 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
9674 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
9675 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
9678 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
9679 for ncn_progname in nm; do
9680 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9681 set dummy ${ncn_progname}; ac_word=$2
9682 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9683 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9684 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then
9685 echo $ECHO_N "(cached
) $ECHO_C" >&6
9687 if test -n "$NM_FOR_TARGET"; then
9688 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
9690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9694 test -z "$as_dir" && as_dir=.
9695 for ac_exec_ext in '' $ac_executable_extensions; do
9696 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9697 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
9698 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9706 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
9707 if test -n "$NM_FOR_TARGET"; then
9708 echo "$as_me:$LINENO: result
: $NM_FOR_TARGET" >&5
9709 echo "${ECHO_T}$NM_FOR_TARGET" >&6
9711 echo "$as_me:$LINENO: result
: no
" >&5
9712 echo "${ECHO_T}no
" >&6
9718 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
9719 for ncn_progname in nm; do
9720 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9721 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
9722 if test -x $with_build_time_tools/${ncn_progname}; then
9723 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9724 echo "$as_me:$LINENO: result
: yes" >&5
9725 echo "${ECHO_T}yes" >&6
9728 echo "$as_me:$LINENO: result
: no
" >&5
9729 echo "${ECHO_T}no
" >&6
9734 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
9735 for ncn_progname in nm; do
9736 if test -n "$ncn_target_tool_prefix"; then
9737 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9738 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9739 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9740 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9741 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then
9742 echo $ECHO_N "(cached
) $ECHO_C" >&6
9744 if test -n "$NM_FOR_TARGET"; then
9745 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
9747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9751 test -z "$as_dir" && as_dir=.
9752 for ac_exec_ext in '' $ac_executable_extensions; do
9753 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9754 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9755 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9763 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
9764 if test -n "$NM_FOR_TARGET"; then
9765 echo "$as_me:$LINENO: result
: $NM_FOR_TARGET" >&5
9766 echo "${ECHO_T}$NM_FOR_TARGET" >&6
9768 echo "$as_me:$LINENO: result
: no
" >&5
9769 echo "${ECHO_T}no
" >&6
9773 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
9774 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9775 set dummy ${ncn_progname}; ac_word=$2
9776 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9777 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9778 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then
9779 echo $ECHO_N "(cached
) $ECHO_C" >&6
9781 if test -n "$NM_FOR_TARGET"; then
9782 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
9784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9788 test -z "$as_dir" && as_dir=.
9789 for ac_exec_ext in '' $ac_executable_extensions; do
9790 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9791 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
9792 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9800 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
9801 if test -n "$NM_FOR_TARGET"; then
9802 echo "$as_me:$LINENO: result
: $NM_FOR_TARGET" >&5
9803 echo "${ECHO_T}$NM_FOR_TARGET" >&6
9805 echo "$as_me:$LINENO: result
: no
" >&5
9806 echo "${ECHO_T}no
" >&6
9810 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
9814 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
9816 if test $build = $target ; then
9819 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
9824 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
9830 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
9831 if test -n "$with_build_time_tools"; then
9832 echo "$as_me:$LINENO: checking
for objdump
in $with_build_time_tools" >&5
9833 echo $ECHO_N "checking
for objdump
in $with_build_time_tools...
$ECHO_C" >&6
9834 if test -x $with_build_time_tools/objdump; then
9835 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
9836 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
9837 echo "$as_me:$LINENO: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
9838 echo "${ECHO_T}$ac_cv_path_OBJDUMP_FOR_TARGET" >&6
9840 echo "$as_me:$LINENO: result
: no
" >&5
9841 echo "${ECHO_T}no
" >&6
9843 elif test $build != $host && test $have_gcc_for_target = yes; then
9844 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
9845 test $OBJDUMP_FOR_TARGET=objdump && OBJDUMP_FOR_TARGET=
9846 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
9849 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
9850 # Extract the first word of "objdump
", so it can be a program name with args.
9851 set dummy objdump; ac_word=$2
9852 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9853 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9854 if test "${ac_cv_path_OBJDUMP_FOR_TARGET+set}" = set; then
9855 echo $ECHO_N "(cached
) $ECHO_C" >&6
9857 case $OBJDUMP_FOR_TARGET in
9859 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
9862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9863 for as_dir in $gcc_cv_tool_dirs
9866 test -z "$as_dir" && as_dir=.
9867 for ac_exec_ext in '' $ac_executable_extensions; do
9868 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9869 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
9870 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9879 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
9881 if test -n "$OBJDUMP_FOR_TARGET"; then
9882 echo "$as_me:$LINENO: result
: $OBJDUMP_FOR_TARGET" >&5
9883 echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6
9885 echo "$as_me:$LINENO: result
: no
" >&5
9886 echo "${ECHO_T}no
" >&6
9890 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
9893 if test -n "$OBJDUMP_FOR_TARGET"; then
9894 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
9895 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
9896 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
9899 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
9900 for ncn_progname in objdump; do
9901 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9902 set dummy ${ncn_progname}; ac_word=$2
9903 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9904 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9905 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then
9906 echo $ECHO_N "(cached
) $ECHO_C" >&6
9908 if test -n "$OBJDUMP_FOR_TARGET"; then
9909 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
9911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9915 test -z "$as_dir" && as_dir=.
9916 for ac_exec_ext in '' $ac_executable_extensions; do
9917 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9918 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
9919 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9927 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
9928 if test -n "$OBJDUMP_FOR_TARGET"; then
9929 echo "$as_me:$LINENO: result
: $OBJDUMP_FOR_TARGET" >&5
9930 echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6
9932 echo "$as_me:$LINENO: result
: no
" >&5
9933 echo "${ECHO_T}no
" >&6
9939 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
9940 for ncn_progname in objdump; do
9941 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9942 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
9943 if test -x $with_build_time_tools/${ncn_progname}; then
9944 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9945 echo "$as_me:$LINENO: result
: yes" >&5
9946 echo "${ECHO_T}yes" >&6
9949 echo "$as_me:$LINENO: result
: no
" >&5
9950 echo "${ECHO_T}no
" >&6
9955 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
9956 for ncn_progname in objdump; do
9957 if test -n "$ncn_target_tool_prefix"; then
9958 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9959 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9960 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9961 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9962 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then
9963 echo $ECHO_N "(cached
) $ECHO_C" >&6
9965 if test -n "$OBJDUMP_FOR_TARGET"; then
9966 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
9968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9972 test -z "$as_dir" && as_dir=.
9973 for ac_exec_ext in '' $ac_executable_extensions; do
9974 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9975 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9976 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9984 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
9985 if test -n "$OBJDUMP_FOR_TARGET"; then
9986 echo "$as_me:$LINENO: result
: $OBJDUMP_FOR_TARGET" >&5
9987 echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6
9989 echo "$as_me:$LINENO: result
: no
" >&5
9990 echo "${ECHO_T}no
" >&6
9994 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
9995 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9996 set dummy ${ncn_progname}; ac_word=$2
9997 echo "$as_me:$LINENO: checking
for $ac_word" >&5
9998 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
9999 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then
10000 echo $ECHO_N "(cached
) $ECHO_C" >&6
10002 if test -n "$OBJDUMP_FOR_TARGET"; then
10003 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
10005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10006 for as_dir in $PATH
10009 test -z "$as_dir" && as_dir=.
10010 for ac_exec_ext in '' $ac_executable_extensions; do
10011 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10012 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
10013 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10021 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
10022 if test -n "$OBJDUMP_FOR_TARGET"; then
10023 echo "$as_me:$LINENO: result
: $OBJDUMP_FOR_TARGET" >&5
10024 echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6
10026 echo "$as_me:$LINENO: result
: no
" >&5
10027 echo "${ECHO_T}no
" >&6
10031 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
10035 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
10037 if test $build = $target ; then
10038 OBJDUMP_FOR_TARGET="$2"
10040 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
10045 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
10051 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
10052 if test -n "$with_build_time_tools"; then
10053 echo "$as_me:$LINENO: checking
for ranlib
in $with_build_time_tools" >&5
10054 echo $ECHO_N "checking
for ranlib
in $with_build_time_tools...
$ECHO_C" >&6
10055 if test -x $with_build_time_tools/ranlib; then
10056 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
10057 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
10058 echo "$as_me:$LINENO: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
10059 echo "${ECHO_T}$ac_cv_path_RANLIB_FOR_TARGET" >&6
10061 echo "$as_me:$LINENO: result
: no
" >&5
10062 echo "${ECHO_T}no
" >&6
10064 elif test $build != $host && test $have_gcc_for_target = yes; then
10065 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
10066 test $RANLIB_FOR_TARGET=ranlib && RANLIB_FOR_TARGET=
10067 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
10070 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10071 # Extract the first word of "ranlib
", so it can be a program name with args.
10072 set dummy ranlib; ac_word=$2
10073 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10074 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10075 if test "${ac_cv_path_RANLIB_FOR_TARGET+set}" = set; then
10076 echo $ECHO_N "(cached
) $ECHO_C" >&6
10078 case $RANLIB_FOR_TARGET in
10080 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
10083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10084 for as_dir in $gcc_cv_tool_dirs
10087 test -z "$as_dir" && as_dir=.
10088 for ac_exec_ext in '' $ac_executable_extensions; do
10089 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10090 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10091 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10100 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
10102 if test -n "$RANLIB_FOR_TARGET"; then
10103 echo "$as_me:$LINENO: result
: $RANLIB_FOR_TARGET" >&5
10104 echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6
10106 echo "$as_me:$LINENO: result
: no
" >&5
10107 echo "${ECHO_T}no
" >&6
10111 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
10114 if test -n "$RANLIB_FOR_TARGET"; then
10115 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
10116 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
10117 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
10120 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
10121 for ncn_progname in ranlib; do
10122 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10123 set dummy ${ncn_progname}; ac_word=$2
10124 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10125 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10126 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then
10127 echo $ECHO_N "(cached
) $ECHO_C" >&6
10129 if test -n "$RANLIB_FOR_TARGET"; then
10130 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
10132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10133 for as_dir in $PATH
10136 test -z "$as_dir" && as_dir=.
10137 for ac_exec_ext in '' $ac_executable_extensions; do
10138 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10139 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
10140 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10148 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
10149 if test -n "$RANLIB_FOR_TARGET"; then
10150 echo "$as_me:$LINENO: result
: $RANLIB_FOR_TARGET" >&5
10151 echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6
10153 echo "$as_me:$LINENO: result
: no
" >&5
10154 echo "${ECHO_T}no
" >&6
10160 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
10161 for ncn_progname in ranlib; do
10162 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10163 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
10164 if test -x $with_build_time_tools/${ncn_progname}; then
10165 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10166 echo "$as_me:$LINENO: result
: yes" >&5
10167 echo "${ECHO_T}yes" >&6
10170 echo "$as_me:$LINENO: result
: no
" >&5
10171 echo "${ECHO_T}no
" >&6
10176 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
10177 for ncn_progname in ranlib; do
10178 if test -n "$ncn_target_tool_prefix"; then
10179 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10180 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10181 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10182 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10183 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then
10184 echo $ECHO_N "(cached
) $ECHO_C" >&6
10186 if test -n "$RANLIB_FOR_TARGET"; then
10187 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
10189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10190 for as_dir in $PATH
10193 test -z "$as_dir" && as_dir=.
10194 for ac_exec_ext in '' $ac_executable_extensions; do
10195 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10196 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10197 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10205 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
10206 if test -n "$RANLIB_FOR_TARGET"; then
10207 echo "$as_me:$LINENO: result
: $RANLIB_FOR_TARGET" >&5
10208 echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6
10210 echo "$as_me:$LINENO: result
: no
" >&5
10211 echo "${ECHO_T}no
" >&6
10215 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
10216 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10217 set dummy ${ncn_progname}; ac_word=$2
10218 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10219 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10220 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then
10221 echo $ECHO_N "(cached
) $ECHO_C" >&6
10223 if test -n "$RANLIB_FOR_TARGET"; then
10224 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
10226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10227 for as_dir in $PATH
10230 test -z "$as_dir" && as_dir=.
10231 for ac_exec_ext in '' $ac_executable_extensions; do
10232 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10233 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
10234 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10242 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
10243 if test -n "$RANLIB_FOR_TARGET"; then
10244 echo "$as_me:$LINENO: result
: $RANLIB_FOR_TARGET" >&5
10245 echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6
10247 echo "$as_me:$LINENO: result
: no
" >&5
10248 echo "${ECHO_T}no
" >&6
10252 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
10256 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
10258 if test $build = $target ; then
10259 RANLIB_FOR_TARGET="$2"
10261 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
10266 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
10272 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
10273 if test -n "$with_build_time_tools"; then
10274 echo "$as_me:$LINENO: checking
for strip
in $with_build_time_tools" >&5
10275 echo $ECHO_N "checking
for strip
in $with_build_time_tools...
$ECHO_C" >&6
10276 if test -x $with_build_time_tools/strip; then
10277 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
10278 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
10279 echo "$as_me:$LINENO: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
10280 echo "${ECHO_T}$ac_cv_path_STRIP_FOR_TARGET" >&6
10282 echo "$as_me:$LINENO: result
: no
" >&5
10283 echo "${ECHO_T}no
" >&6
10285 elif test $build != $host && test $have_gcc_for_target = yes; then
10286 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
10287 test $STRIP_FOR_TARGET=strip && STRIP_FOR_TARGET=
10288 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
10291 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10292 # Extract the first word of "strip
", so it can be a program name with args.
10293 set dummy strip; ac_word=$2
10294 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10295 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10296 if test "${ac_cv_path_STRIP_FOR_TARGET+set}" = set; then
10297 echo $ECHO_N "(cached
) $ECHO_C" >&6
10299 case $STRIP_FOR_TARGET in
10301 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
10304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10305 for as_dir in $gcc_cv_tool_dirs
10308 test -z "$as_dir" && as_dir=.
10309 for ac_exec_ext in '' $ac_executable_extensions; do
10310 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10311 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10312 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10321 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
10323 if test -n "$STRIP_FOR_TARGET"; then
10324 echo "$as_me:$LINENO: result
: $STRIP_FOR_TARGET" >&5
10325 echo "${ECHO_T}$STRIP_FOR_TARGET" >&6
10327 echo "$as_me:$LINENO: result
: no
" >&5
10328 echo "${ECHO_T}no
" >&6
10332 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
10335 if test -n "$STRIP_FOR_TARGET"; then
10336 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
10337 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
10338 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
10341 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
10342 for ncn_progname in strip; do
10343 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10344 set dummy ${ncn_progname}; ac_word=$2
10345 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10346 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10347 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then
10348 echo $ECHO_N "(cached
) $ECHO_C" >&6
10350 if test -n "$STRIP_FOR_TARGET"; then
10351 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
10353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10354 for as_dir in $PATH
10357 test -z "$as_dir" && as_dir=.
10358 for ac_exec_ext in '' $ac_executable_extensions; do
10359 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10360 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
10361 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10369 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
10370 if test -n "$STRIP_FOR_TARGET"; then
10371 echo "$as_me:$LINENO: result
: $STRIP_FOR_TARGET" >&5
10372 echo "${ECHO_T}$STRIP_FOR_TARGET" >&6
10374 echo "$as_me:$LINENO: result
: no
" >&5
10375 echo "${ECHO_T}no
" >&6
10381 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
10382 for ncn_progname in strip; do
10383 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10384 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
10385 if test -x $with_build_time_tools/${ncn_progname}; then
10386 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10387 echo "$as_me:$LINENO: result
: yes" >&5
10388 echo "${ECHO_T}yes" >&6
10391 echo "$as_me:$LINENO: result
: no
" >&5
10392 echo "${ECHO_T}no
" >&6
10397 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
10398 for ncn_progname in strip; do
10399 if test -n "$ncn_target_tool_prefix"; then
10400 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10401 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10402 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10403 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10404 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then
10405 echo $ECHO_N "(cached
) $ECHO_C" >&6
10407 if test -n "$STRIP_FOR_TARGET"; then
10408 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
10410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10411 for as_dir in $PATH
10414 test -z "$as_dir" && as_dir=.
10415 for ac_exec_ext in '' $ac_executable_extensions; do
10416 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10417 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10418 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10426 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
10427 if test -n "$STRIP_FOR_TARGET"; then
10428 echo "$as_me:$LINENO: result
: $STRIP_FOR_TARGET" >&5
10429 echo "${ECHO_T}$STRIP_FOR_TARGET" >&6
10431 echo "$as_me:$LINENO: result
: no
" >&5
10432 echo "${ECHO_T}no
" >&6
10436 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
10437 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10438 set dummy ${ncn_progname}; ac_word=$2
10439 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10440 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10441 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then
10442 echo $ECHO_N "(cached
) $ECHO_C" >&6
10444 if test -n "$STRIP_FOR_TARGET"; then
10445 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
10447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10448 for as_dir in $PATH
10451 test -z "$as_dir" && as_dir=.
10452 for ac_exec_ext in '' $ac_executable_extensions; do
10453 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10454 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
10455 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10463 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
10464 if test -n "$STRIP_FOR_TARGET"; then
10465 echo "$as_me:$LINENO: result
: $STRIP_FOR_TARGET" >&5
10466 echo "${ECHO_T}$STRIP_FOR_TARGET" >&6
10468 echo "$as_me:$LINENO: result
: no
" >&5
10469 echo "${ECHO_T}no
" >&6
10473 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
10477 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
10479 if test $build = $target ; then
10480 STRIP_FOR_TARGET="$2"
10482 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
10487 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
10493 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
10494 if test -n "$with_build_time_tools"; then
10495 echo "$as_me:$LINENO: checking
for windres
in $with_build_time_tools" >&5
10496 echo $ECHO_N "checking
for windres
in $with_build_time_tools...
$ECHO_C" >&6
10497 if test -x $with_build_time_tools/windres; then
10498 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
10499 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
10500 echo "$as_me:$LINENO: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
10501 echo "${ECHO_T}$ac_cv_path_WINDRES_FOR_TARGET" >&6
10503 echo "$as_me:$LINENO: result
: no
" >&5
10504 echo "${ECHO_T}no
" >&6
10506 elif test $build != $host && test $have_gcc_for_target = yes; then
10507 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
10508 test $WINDRES_FOR_TARGET=windres && WINDRES_FOR_TARGET=
10509 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
10512 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10513 # Extract the first word of "windres
", so it can be a program name with args.
10514 set dummy windres; ac_word=$2
10515 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10516 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10517 if test "${ac_cv_path_WINDRES_FOR_TARGET+set}" = set; then
10518 echo $ECHO_N "(cached
) $ECHO_C" >&6
10520 case $WINDRES_FOR_TARGET in
10522 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
10525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10526 for as_dir in $gcc_cv_tool_dirs
10529 test -z "$as_dir" && as_dir=.
10530 for ac_exec_ext in '' $ac_executable_extensions; do
10531 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10532 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10533 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10542 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
10544 if test -n "$WINDRES_FOR_TARGET"; then
10545 echo "$as_me:$LINENO: result
: $WINDRES_FOR_TARGET" >&5
10546 echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6
10548 echo "$as_me:$LINENO: result
: no
" >&5
10549 echo "${ECHO_T}no
" >&6
10553 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
10556 if test -n "$WINDRES_FOR_TARGET"; then
10557 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
10558 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
10559 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
10562 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
10563 for ncn_progname in windres; do
10564 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10565 set dummy ${ncn_progname}; ac_word=$2
10566 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10567 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10568 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then
10569 echo $ECHO_N "(cached
) $ECHO_C" >&6
10571 if test -n "$WINDRES_FOR_TARGET"; then
10572 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
10574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10575 for as_dir in $PATH
10578 test -z "$as_dir" && as_dir=.
10579 for ac_exec_ext in '' $ac_executable_extensions; do
10580 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10581 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
10582 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10590 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
10591 if test -n "$WINDRES_FOR_TARGET"; then
10592 echo "$as_me:$LINENO: result
: $WINDRES_FOR_TARGET" >&5
10593 echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6
10595 echo "$as_me:$LINENO: result
: no
" >&5
10596 echo "${ECHO_T}no
" >&6
10602 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
10603 for ncn_progname in windres; do
10604 echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10605 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6
10606 if test -x $with_build_time_tools/${ncn_progname}; then
10607 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10608 echo "$as_me:$LINENO: result
: yes" >&5
10609 echo "${ECHO_T}yes" >&6
10612 echo "$as_me:$LINENO: result
: no
" >&5
10613 echo "${ECHO_T}no
" >&6
10618 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
10619 for ncn_progname in windres; do
10620 if test -n "$ncn_target_tool_prefix"; then
10621 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10622 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10623 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10624 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10625 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then
10626 echo $ECHO_N "(cached
) $ECHO_C" >&6
10628 if test -n "$WINDRES_FOR_TARGET"; then
10629 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
10631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10632 for as_dir in $PATH
10635 test -z "$as_dir" && as_dir=.
10636 for ac_exec_ext in '' $ac_executable_extensions; do
10637 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10638 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10639 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10647 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
10648 if test -n "$WINDRES_FOR_TARGET"; then
10649 echo "$as_me:$LINENO: result
: $WINDRES_FOR_TARGET" >&5
10650 echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6
10652 echo "$as_me:$LINENO: result
: no
" >&5
10653 echo "${ECHO_T}no
" >&6
10657 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
10658 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10659 set dummy ${ncn_progname}; ac_word=$2
10660 echo "$as_me:$LINENO: checking
for $ac_word" >&5
10661 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
10662 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then
10663 echo $ECHO_N "(cached
) $ECHO_C" >&6
10665 if test -n "$WINDRES_FOR_TARGET"; then
10666 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
10668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10669 for as_dir in $PATH
10672 test -z "$as_dir" && as_dir=.
10673 for ac_exec_ext in '' $ac_executable_extensions; do
10674 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10675 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
10676 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10684 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
10685 if test -n "$WINDRES_FOR_TARGET"; then
10686 echo "$as_me:$LINENO: result
: $WINDRES_FOR_TARGET" >&5
10687 echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6
10689 echo "$as_me:$LINENO: result
: no
" >&5
10690 echo "${ECHO_T}no
" >&6
10694 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
10698 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
10700 if test $build = $target ; then
10701 WINDRES_FOR_TARGET="$2"
10703 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
10708 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
10712 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
10714 echo "$as_me:$LINENO: checking where to
find the target
ar" >&5
10715 echo $ECHO_N "checking where to
find the target
ar...
$ECHO_C" >&6
10716 if test "x
${build}" != "x
${host}" ; then
10717 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
10718 # We already found the complete path
10719 echo "$as_me:$LINENO: result
: pre-installed
in \
`dirname $AR_FOR_TARGET\`" >&5
10720 echo "${ECHO_T}pre-installed
in \
`dirname $AR_FOR_TARGET\`" >&6
10722 # Canadian cross, just use what we found
10723 echo "$as_me:$LINENO: result
: pre-installed
" >&5
10724 echo "${ECHO_T}pre-installed
" >&6
10728 case " ${configdirs} " in
10733 if test $ok = yes; then
10734 # An in-tree tool is available and we can use it
10735 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
10736 echo "$as_me:$LINENO: result
: just compiled
" >&5
10737 echo "${ECHO_T}just compiled
" >&6
10738 elif expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
10739 # We already found the complete path
10740 echo "$as_me:$LINENO: result
: pre-installed
in \
`dirname $AR_FOR_TARGET\`" >&5
10741 echo "${ECHO_T}pre-installed
in \
`dirname $AR_FOR_TARGET\`" >&6
10742 elif test "x
$target" = "x
$host"; then
10743 # We can use an host tool
10744 AR_FOR_TARGET='$(AR)'
10745 echo "$as_me:$LINENO: result
: host tool
" >&5
10746 echo "${ECHO_T}host tool
" >&6
10748 # We need a cross tool
10749 echo "$as_me:$LINENO: result
: pre-installed
" >&5
10750 echo "${ECHO_T}pre-installed
" >&6
10754 echo "$as_me:$LINENO: checking where to
find the target as
" >&5
10755 echo $ECHO_N "checking where to
find the target as...
$ECHO_C" >&6
10756 if test "x
${build}" != "x
${host}" ; then
10757 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
10758 # We already found the complete path
10759 echo "$as_me:$LINENO: result
: pre-installed
in \
`dirname $AS_FOR_TARGET\`" >&5
10760 echo "${ECHO_T}pre-installed
in \
`dirname $AS_FOR_TARGET\`" >&6
10762 # Canadian cross, just use what we found
10763 echo "$as_me:$LINENO: result
: pre-installed
" >&5
10764 echo "${ECHO_T}pre-installed
" >&6
10768 case " ${configdirs} " in
10773 if test $ok = yes; then
10774 # An in-tree tool is available and we can use it
10775 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
10776 echo "$as_me:$LINENO: result
: just compiled
" >&5
10777 echo "${ECHO_T}just compiled
" >&6
10778 elif expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
10779 # We already found the complete path
10780 echo "$as_me:$LINENO: result
: pre-installed
in \
`dirname $AS_FOR_TARGET\`" >&5
10781 echo "${ECHO_T}pre-installed
in \
`dirname $AS_FOR_TARGET\`" >&6
10782 elif test "x
$target" = "x
$host"; then
10783 # We can use an host tool
10784 AS_FOR_TARGET='$(AS)'
10785 echo "$as_me:$LINENO: result
: host tool
" >&5
10786 echo "${ECHO_T}host tool
" >&6
10788 # We need a cross tool
10789 echo "$as_me:$LINENO: result
: pre-installed
" >&5
10790 echo "${ECHO_T}pre-installed
" >&6
10794 echo "$as_me:$LINENO: checking where to
find the target cc
" >&5
10795 echo $ECHO_N "checking where to
find the target cc...
$ECHO_C" >&6
10796 if test "x
${build}" != "x
${host}" ; then
10797 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
10798 # We already found the complete path
10799 echo "$as_me:$LINENO: result
: pre-installed
in \
`dirname $CC_FOR_TARGET\`" >&5
10800 echo "${ECHO_T}pre-installed
in \
`dirname $CC_FOR_TARGET\`" >&6
10802 # Canadian cross, just use what we found
10803 echo "$as_me:$LINENO: result
: pre-installed
" >&5
10804 echo "${ECHO_T}pre-installed
" >&6
10808 case " ${configdirs} " in
10813 if test $ok = yes; then
10814 # An in-tree tool is available and we can use it
10815 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
10816 echo "$as_me:$LINENO: result
: just compiled
" >&5
10817 echo "${ECHO_T}just compiled
" >&6
10818 elif expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
10819 # We already found the complete path
10820 echo "$as_me:$LINENO: result
: pre-installed
in \
`dirname $CC_FOR_TARGET\`" >&5
10821 echo "${ECHO_T}pre-installed
in \
`dirname $CC_FOR_TARGET\`" >&6
10822 elif test "x
$target" = "x
$host"; then
10823 # We can use an host tool
10824 CC_FOR_TARGET='$(CC)'
10825 echo "$as_me:$LINENO: result
: host tool
" >&5
10826 echo "${ECHO_T}host tool
" >&6
10828 # We need a cross tool
10829 echo "$as_me:$LINENO: result
: pre-installed
" >&5
10830 echo "${ECHO_T}pre-installed
" >&6
10834 echo "$as_me:$LINENO: checking where to
find the target c
++" >&5
10835 echo $ECHO_N "checking where to
find the target c
++...
$ECHO_C" >&6
10836 if test "x
${build}" != "x
${host}" ; then
10837 if expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
10838 # We already found the complete path
10839 echo "$as_me:$LINENO: result
: pre-installed
in \
`dirname $CXX_FOR_TARGET\`" >&5
10840 echo "${ECHO_T}pre-installed
in \
`dirname $CXX_FOR_TARGET\`" >&6
10842 # Canadian cross, just use what we found
10843 echo "$as_me:$LINENO: result
: pre-installed
" >&5
10844 echo "${ECHO_T}pre-installed
" >&6
10848 case " ${configdirs} " in
10852 case ,${enable_languages}, in
10856 if test $ok = yes; then
10857 # An in-tree tool is available and we can use it
10858 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'
10859 echo "$as_me:$LINENO: result
: just compiled
" >&5
10860 echo "${ECHO_T}just compiled
" >&6
10861 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
10862 # We already found the complete path
10863 echo "$as_me:$LINENO: result
: pre-installed
in \
`dirname $CXX_FOR_TARGET\`" >&5
10864 echo "${ECHO_T}pre-installed
in \
`dirname $CXX_FOR_TARGET\`" >&6
10865 elif test "x
$target" = "x
$host"; then
10866 # We can use an host tool
10867 CXX_FOR_TARGET='$(CXX)'
10868 echo "$as_me:$LINENO: result
: host tool
" >&5
10869 echo "${ECHO_T}host tool
" >&6
10871 # We need a cross tool
10872 echo "$as_me:$LINENO: result
: pre-installed
" >&5
10873 echo "${ECHO_T}pre-installed
" >&6
10877 echo "$as_me:$LINENO: checking where to
find the target c
++ for libstdc
++" >&5
10878 echo $ECHO_N "checking where to
find the target c
++ for libstdc
++...
$ECHO_C" >&6
10879 if test "x
${build}" != "x
${host}" ; then
10880 if expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
10881 # We already found the complete path
10882 echo "$as_me:$LINENO: result
: pre-installed
in \
`dirname $RAW_CXX_FOR_TARGET\`" >&5
10883 echo "${ECHO_T}pre-installed
in \
`dirname $RAW_CXX_FOR_TARGET\`" >&6
10885 # Canadian cross, just use what we found
10886 echo "$as_me:$LINENO: result
: pre-installed
" >&5
10887 echo "${ECHO_T}pre-installed
" >&6
10891 case " ${configdirs} " in
10895 case ,${enable_languages}, in
10899 if test $ok = yes; then
10900 # An in-tree tool is available and we can use it
10901 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'
10902 echo "$as_me:$LINENO: result
: just compiled
" >&5
10903 echo "${ECHO_T}just compiled
" >&6
10904 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
10905 # We already found the complete path
10906 echo "$as_me:$LINENO: result
: pre-installed
in \
`dirname $RAW_CXX_FOR_TARGET\`" >&5
10907 echo "${ECHO_T}pre-installed
in \
`dirname $RAW_CXX_FOR_TARGET\`" >&6
10908 elif test "x
$target" = "x
$host"; then
10909 # We can use an host tool
10910 RAW_CXX_FOR_TARGET='$(CXX)'
10911 echo "$as_me:$LINENO: result
: host tool
" >&5
10912 echo "${ECHO_T}host tool
" >&6
10914 # We need a cross tool
10915 echo "$as_me:$LINENO: result
: pre-installed
" >&5
10916 echo "${ECHO_T}pre-installed
" >&6
10920 echo "$as_me:$LINENO: checking where to
find the target dlltool
" >&5
10921 echo $ECHO_N "checking where to
find the target dlltool...
$ECHO_C" >&6
10922 if test "x
${build}" != "x
${host}" ; then
10923 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
10924 # We already found the complete path
10925 echo "$as_me:$LINENO: result
: pre-installed
in \
`dirname $DLLTOOL_FOR_TARGET\`" >&5
10926 echo "${ECHO_T}pre-installed
in \
`dirname $DLLTOOL_FOR_TARGET\`" >&6
10928 # Canadian cross, just use what we found
10929 echo "$as_me:$LINENO: result
: pre-installed
" >&5
10930 echo "${ECHO_T}pre-installed
" >&6
10934 case " ${configdirs} " in
10939 if test $ok = yes; then
10940 # An in-tree tool is available and we can use it
10941 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
10942 echo "$as_me:$LINENO: result
: just compiled
" >&5
10943 echo "${ECHO_T}just compiled
" >&6
10944 elif expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
10945 # We already found the complete path
10946 echo "$as_me:$LINENO: result
: pre-installed
in \
`dirname $DLLTOOL_FOR_TARGET\`" >&5
10947 echo "${ECHO_T}pre-installed
in \
`dirname $DLLTOOL_FOR_TARGET\`" >&6
10948 elif test "x
$target" = "x
$host"; then
10949 # We can use an host tool
10950 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
10951 echo "$as_me:$LINENO: result
: host tool
" >&5
10952 echo "${ECHO_T}host tool
" >&6
10954 # We need a cross tool
10955 echo "$as_me:$LINENO: result
: pre-installed
" >&5
10956 echo "${ECHO_T}pre-installed
" >&6
10960 echo "$as_me:$LINENO: checking where to
find the target gcc
" >&5
10961 echo $ECHO_N "checking where to
find the target gcc...
$ECHO_C" >&6
10962 if test "x
${build}" != "x
${host}" ; then
10963 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
10964 # We already found the complete path
10965 echo "$as_me:$LINENO: result
: pre-installed
in \
`dirname $GCC_FOR_TARGET\`" >&5
10966 echo "${ECHO_T}pre-installed
in \
`dirname $GCC_FOR_TARGET\`" >&6
10968 # Canadian cross, just use what we found
10969 echo "$as_me:$LINENO: result
: pre-installed
" >&5
10970 echo "${ECHO_T}pre-installed
" >&6
10974 case " ${configdirs} " in
10979 if test $ok = yes; then
10980 # An in-tree tool is available and we can use it
10981 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
10982 echo "$as_me:$LINENO: result
: just compiled
" >&5
10983 echo "${ECHO_T}just compiled
" >&6
10984 elif expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
10985 # We already found the complete path
10986 echo "$as_me:$LINENO: result
: pre-installed
in \
`dirname $GCC_FOR_TARGET\`" >&5
10987 echo "${ECHO_T}pre-installed
in \
`dirname $GCC_FOR_TARGET\`" >&6
10988 elif test "x
$target" = "x
$host"; then
10989 # We can use an host tool
10990 GCC_FOR_TARGET='$()'
10991 echo "$as_me:$LINENO: result
: host tool
" >&5
10992 echo "${ECHO_T}host tool
" >&6
10994 # We need a cross tool
10995 echo "$as_me:$LINENO: result
: pre-installed
" >&5
10996 echo "${ECHO_T}pre-installed
" >&6
11000 echo "$as_me:$LINENO: checking where to
find the target gcj
" >&5
11001 echo $ECHO_N "checking where to
find the target gcj...
$ECHO_C" >&6
11002 if test "x
${build}" != "x
${host}" ; then
11003 if expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
11004 # We already found the complete path
11005 echo "$as_me:$LINENO: result
: pre-installed
in \
`dirname $GCJ_FOR_TARGET\`" >&5
11006 echo "${ECHO_T}pre-installed
in \
`dirname $GCJ_FOR_TARGET\`" >&6
11008 # Canadian cross, just use what we found
11009 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11010 echo "${ECHO_T}pre-installed
" >&6
11014 case " ${configdirs} " in
11018 case ,${enable_languages}, in
11022 if test $ok = yes; then
11023 # An in-tree tool is available and we can use it
11024 GCJ_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc/'
11025 echo "$as_me:$LINENO: result
: just compiled
" >&5
11026 echo "${ECHO_T}just compiled
" >&6
11027 elif expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
11028 # We already found the complete path
11029 echo "$as_me:$LINENO: result
: pre-installed
in \
`dirname $GCJ_FOR_TARGET\`" >&5
11030 echo "${ECHO_T}pre-installed
in \
`dirname $GCJ_FOR_TARGET\`" >&6
11031 elif test "x
$target" = "x
$host"; then
11032 # We can use an host tool
11033 GCJ_FOR_TARGET='$(GCJ)'
11034 echo "$as_me:$LINENO: result
: host tool
" >&5
11035 echo "${ECHO_T}host tool
" >&6
11037 # We need a cross tool
11038 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11039 echo "${ECHO_T}pre-installed
" >&6
11043 echo "$as_me:$LINENO: checking where to
find the target gfortran
" >&5
11044 echo $ECHO_N "checking where to
find the target gfortran...
$ECHO_C" >&6
11045 if test "x
${build}" != "x
${host}" ; then
11046 if expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
11047 # We already found the complete path
11048 echo "$as_me:$LINENO: result
: pre-installed
in \
`dirname $GFORTRAN_FOR_TARGET\`" >&5
11049 echo "${ECHO_T}pre-installed
in \
`dirname $GFORTRAN_FOR_TARGET\`" >&6
11051 # Canadian cross, just use what we found
11052 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11053 echo "${ECHO_T}pre-installed
" >&6
11057 case " ${configdirs} " in
11061 case ,${enable_languages}, in
11065 if test $ok = yes; then
11066 # An in-tree tool is available and we can use it
11067 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
11068 echo "$as_me:$LINENO: result
: just compiled
" >&5
11069 echo "${ECHO_T}just compiled
" >&6
11070 elif expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
11071 # We already found the complete path
11072 echo "$as_me:$LINENO: result
: pre-installed
in \
`dirname $GFORTRAN_FOR_TARGET\`" >&5
11073 echo "${ECHO_T}pre-installed
in \
`dirname $GFORTRAN_FOR_TARGET\`" >&6
11074 elif test "x
$target" = "x
$host"; then
11075 # We can use an host tool
11076 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
11077 echo "$as_me:$LINENO: result
: host tool
" >&5
11078 echo "${ECHO_T}host tool
" >&6
11080 # We need a cross tool
11081 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11082 echo "${ECHO_T}pre-installed
" >&6
11086 echo "$as_me:$LINENO: checking where to
find the target ld
" >&5
11087 echo $ECHO_N "checking where to
find the target ld...
$ECHO_C" >&6
11088 if test "x
${build}" != "x
${host}" ; then
11089 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
11090 # We already found the complete path
11091 echo "$as_me:$LINENO: result
: pre-installed
in \
`dirname $LD_FOR_TARGET\`" >&5
11092 echo "${ECHO_T}pre-installed
in \
`dirname $LD_FOR_TARGET\`" >&6
11094 # Canadian cross, just use what we found
11095 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11096 echo "${ECHO_T}pre-installed
" >&6
11100 case " ${configdirs} " in
11105 if test $ok = yes; then
11106 # An in-tree tool is available and we can use it
11107 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
11108 echo "$as_me:$LINENO: result
: just compiled
" >&5
11109 echo "${ECHO_T}just compiled
" >&6
11110 elif expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
11111 # We already found the complete path
11112 echo "$as_me:$LINENO: result
: pre-installed
in \
`dirname $LD_FOR_TARGET\`" >&5
11113 echo "${ECHO_T}pre-installed
in \
`dirname $LD_FOR_TARGET\`" >&6
11114 elif test "x
$target" = "x
$host"; then
11115 # We can use an host tool
11116 LD_FOR_TARGET='$(LD)'
11117 echo "$as_me:$LINENO: result
: host tool
" >&5
11118 echo "${ECHO_T}host tool
" >&6
11120 # We need a cross tool
11121 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11122 echo "${ECHO_T}pre-installed
" >&6
11126 echo "$as_me:$LINENO: checking where to
find the target lipo
" >&5
11127 echo $ECHO_N "checking where to
find the target lipo...
$ECHO_C" >&6
11128 if test "x
${build}" != "x
${host}" ; then
11129 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
11130 # We already found the complete path
11131 echo "$as_me:$LINENO: result
: pre-installed
in \
`dirname $LIPO_FOR_TARGET\`" >&5
11132 echo "${ECHO_T}pre-installed
in \
`dirname $LIPO_FOR_TARGET\`" >&6
11134 # Canadian cross, just use what we found
11135 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11136 echo "${ECHO_T}pre-installed
" >&6
11139 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
11140 # We already found the complete path
11141 echo "$as_me:$LINENO: result
: pre-installed
in \
`dirname $LIPO_FOR_TARGET\`" >&5
11142 echo "${ECHO_T}pre-installed
in \
`dirname $LIPO_FOR_TARGET\`" >&6
11143 elif test "x
$target" = "x
$host"; then
11144 # We can use an host tool
11145 LIPO_FOR_TARGET='$(LIPO)'
11146 echo "$as_me:$LINENO: result
: host tool
" >&5
11147 echo "${ECHO_T}host tool
" >&6
11149 # We need a cross tool
11150 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11151 echo "${ECHO_T}pre-installed
" >&6
11155 echo "$as_me:$LINENO: checking where to
find the target nm
" >&5
11156 echo $ECHO_N "checking where to
find the target nm...
$ECHO_C" >&6
11157 if test "x
${build}" != "x
${host}" ; then
11158 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
11159 # We already found the complete path
11160 echo "$as_me:$LINENO: result
: pre-installed
in \
`dirname $NM_FOR_TARGET\`" >&5
11161 echo "${ECHO_T}pre-installed
in \
`dirname $NM_FOR_TARGET\`" >&6
11163 # Canadian cross, just use what we found
11164 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11165 echo "${ECHO_T}pre-installed
" >&6
11169 case " ${configdirs} " in
11174 if test $ok = yes; then
11175 # An in-tree tool is available and we can use it
11176 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
11177 echo "$as_me:$LINENO: result
: just compiled
" >&5
11178 echo "${ECHO_T}just compiled
" >&6
11179 elif expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
11180 # We already found the complete path
11181 echo "$as_me:$LINENO: result
: pre-installed
in \
`dirname $NM_FOR_TARGET\`" >&5
11182 echo "${ECHO_T}pre-installed
in \
`dirname $NM_FOR_TARGET\`" >&6
11183 elif test "x
$target" = "x
$host"; then
11184 # We can use an host tool
11185 NM_FOR_TARGET='$(NM)'
11186 echo "$as_me:$LINENO: result
: host tool
" >&5
11187 echo "${ECHO_T}host tool
" >&6
11189 # We need a cross tool
11190 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11191 echo "${ECHO_T}pre-installed
" >&6
11195 echo "$as_me:$LINENO: checking where to
find the target objdump
" >&5
11196 echo $ECHO_N "checking where to
find the target objdump...
$ECHO_C" >&6
11197 if test "x
${build}" != "x
${host}" ; then
11198 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
11199 # We already found the complete path
11200 echo "$as_me:$LINENO: result
: pre-installed
in \
`dirname $OBJDUMP_FOR_TARGET\`" >&5
11201 echo "${ECHO_T}pre-installed
in \
`dirname $OBJDUMP_FOR_TARGET\`" >&6
11203 # Canadian cross, just use what we found
11204 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11205 echo "${ECHO_T}pre-installed
" >&6
11209 case " ${configdirs} " in
11214 if test $ok = yes; then
11215 # An in-tree tool is available and we can use it
11216 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
11217 echo "$as_me:$LINENO: result
: just compiled
" >&5
11218 echo "${ECHO_T}just compiled
" >&6
11219 elif expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
11220 # We already found the complete path
11221 echo "$as_me:$LINENO: result
: pre-installed
in \
`dirname $OBJDUMP_FOR_TARGET\`" >&5
11222 echo "${ECHO_T}pre-installed
in \
`dirname $OBJDUMP_FOR_TARGET\`" >&6
11223 elif test "x
$target" = "x
$host"; then
11224 # We can use an host tool
11225 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
11226 echo "$as_me:$LINENO: result
: host tool
" >&5
11227 echo "${ECHO_T}host tool
" >&6
11229 # We need a cross tool
11230 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11231 echo "${ECHO_T}pre-installed
" >&6
11235 echo "$as_me:$LINENO: checking where to
find the target ranlib
" >&5
11236 echo $ECHO_N "checking where to
find the target ranlib...
$ECHO_C" >&6
11237 if test "x
${build}" != "x
${host}" ; then
11238 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
11239 # We already found the complete path
11240 echo "$as_me:$LINENO: result
: pre-installed
in \
`dirname $RANLIB_FOR_TARGET\`" >&5
11241 echo "${ECHO_T}pre-installed
in \
`dirname $RANLIB_FOR_TARGET\`" >&6
11243 # Canadian cross, just use what we found
11244 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11245 echo "${ECHO_T}pre-installed
" >&6
11249 case " ${configdirs} " in
11254 if test $ok = yes; then
11255 # An in-tree tool is available and we can use it
11256 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
11257 echo "$as_me:$LINENO: result
: just compiled
" >&5
11258 echo "${ECHO_T}just compiled
" >&6
11259 elif expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
11260 # We already found the complete path
11261 echo "$as_me:$LINENO: result
: pre-installed
in \
`dirname $RANLIB_FOR_TARGET\`" >&5
11262 echo "${ECHO_T}pre-installed
in \
`dirname $RANLIB_FOR_TARGET\`" >&6
11263 elif test "x
$target" = "x
$host"; then
11264 # We can use an host tool
11265 RANLIB_FOR_TARGET='$(RANLIB)'
11266 echo "$as_me:$LINENO: result
: host tool
" >&5
11267 echo "${ECHO_T}host tool
" >&6
11269 # We need a cross tool
11270 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11271 echo "${ECHO_T}pre-installed
" >&6
11275 echo "$as_me:$LINENO: checking where to
find the target strip
" >&5
11276 echo $ECHO_N "checking where to
find the target strip...
$ECHO_C" >&6
11277 if test "x
${build}" != "x
${host}" ; then
11278 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
11279 # We already found the complete path
11280 echo "$as_me:$LINENO: result
: pre-installed
in \
`dirname $STRIP_FOR_TARGET\`" >&5
11281 echo "${ECHO_T}pre-installed
in \
`dirname $STRIP_FOR_TARGET\`" >&6
11283 # Canadian cross, just use what we found
11284 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11285 echo "${ECHO_T}pre-installed
" >&6
11289 case " ${configdirs} " in
11294 if test $ok = yes; then
11295 # An in-tree tool is available and we can use it
11296 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip'
11297 echo "$as_me:$LINENO: result
: just compiled
" >&5
11298 echo "${ECHO_T}just compiled
" >&6
11299 elif expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
11300 # We already found the complete path
11301 echo "$as_me:$LINENO: result
: pre-installed
in \
`dirname $STRIP_FOR_TARGET\`" >&5
11302 echo "${ECHO_T}pre-installed
in \
`dirname $STRIP_FOR_TARGET\`" >&6
11303 elif test "x
$target" = "x
$host"; then
11304 # We can use an host tool
11305 STRIP_FOR_TARGET='$(STRIP)'
11306 echo "$as_me:$LINENO: result
: host tool
" >&5
11307 echo "${ECHO_T}host tool
" >&6
11309 # We need a cross tool
11310 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11311 echo "${ECHO_T}pre-installed
" >&6
11315 echo "$as_me:$LINENO: checking where to
find the target windres
" >&5
11316 echo $ECHO_N "checking where to
find the target windres...
$ECHO_C" >&6
11317 if test "x
${build}" != "x
${host}" ; then
11318 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
11319 # We already found the complete path
11320 echo "$as_me:$LINENO: result
: pre-installed
in \
`dirname $WINDRES_FOR_TARGET\`" >&5
11321 echo "${ECHO_T}pre-installed
in \
`dirname $WINDRES_FOR_TARGET\`" >&6
11323 # Canadian cross, just use what we found
11324 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11325 echo "${ECHO_T}pre-installed
" >&6
11329 case " ${configdirs} " in
11334 if test $ok = yes; then
11335 # An in-tree tool is available and we can use it
11336 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
11337 echo "$as_me:$LINENO: result
: just compiled
" >&5
11338 echo "${ECHO_T}just compiled
" >&6
11339 elif expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
11340 # We already found the complete path
11341 echo "$as_me:$LINENO: result
: pre-installed
in \
`dirname $WINDRES_FOR_TARGET\`" >&5
11342 echo "${ECHO_T}pre-installed
in \
`dirname $WINDRES_FOR_TARGET\`" >&6
11343 elif test "x
$target" = "x
$host"; then
11344 # We can use an host tool
11345 WINDRES_FOR_TARGET='$(WINDRES)'
11346 echo "$as_me:$LINENO: result
: host tool
" >&5
11347 echo "${ECHO_T}host tool
" >&6
11349 # We need a cross tool
11350 echo "$as_me:$LINENO: result
: pre-installed
" >&5
11351 echo "${ECHO_T}pre-installed
" >&6
11359 # Certain tools may need extra flags.
11360 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
11361 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
11362 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
11364 # When building target libraries, except in a Canadian cross, we use
11365 # the same toolchain as the compiler we just built.
11366 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
11367 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
11368 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
11369 if test $host = $build; then
11370 case " $configdirs " in
11372 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
11373 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
11374 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
11383 echo "$as_me:$LINENO: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
11384 echo $ECHO_N "checking whether to
enable maintainer-specific portions of Makefiles...
$ECHO_C" >&6
11385 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
11386 if test "${enable_maintainer_mode+set}" = set; then
11387 enableval="$enable_maintainer_mode"
11388 USE_MAINTAINER_MODE=$enableval
11390 USE_MAINTAINER_MODE=no
11392 echo "$as_me:$LINENO: result
: $USE_MAINTAINER_MODE" >&5
11393 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
11396 if test "$USE_MAINTAINER_MODE" = yes; then
11397 MAINTAINER_MODE_TRUE=
11398 MAINTAINER_MODE_FALSE='#'
11400 MAINTAINER_MODE_TRUE='#'
11401 MAINTAINER_MODE_FALSE=
11403 MAINT=$MAINTAINER_MODE_TRUE
11405 # ---------------------
11406 # GCC bootstrap support
11407 # ---------------------
11409 # Stage specific cflags for build.
11414 yes) stage1_cflags="-g -Wa,-J" ;;
11415 *) stage1_cflags="-g -J" ;;
11419 # This is aimed to mimic bootstrap with a non-GCC compiler to catch problems.
11420 if test "$GCC" = yes; then
11421 saved_CFLAGS="$CFLAGS"
11423 # Pass -fkeep-inline-functions for stage 1 if the GCC version supports it.
11424 CFLAGS="$CFLAGS -fkeep-inline-functions"
11425 echo "$as_me:$LINENO: checking whether
-fkeep-inline-functions is supported
" >&5
11426 echo $ECHO_N "checking whether
-fkeep-inline-functions is supported...
$ECHO_C" >&6
11427 cat >conftest.$ac_ext <<_ACEOF
11430 cat confdefs.h >>conftest.$ac_ext
11431 cat >>conftest.$ac_ext <<_ACEOF
11432 /* end confdefs.h. */
11442 rm -f conftest.$ac_objext
11443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11444 (eval $ac_compile) 2>conftest.er1
11446 grep -v '^ *+' conftest.er1 >conftest.err
11448 cat conftest.err >&5
11449 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11450 (exit $ac_status); } &&
11451 { ac_try='test -z "$ac_c_werror_flag"
11452 || test ! -s conftest.err'
11453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11454 (eval $ac_try) 2>&5
11456 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11457 (exit $ac_status); }; } &&
11458 { ac_try='test -s conftest.$ac_objext'
11459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11460 (eval $ac_try) 2>&5
11462 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11463 (exit $ac_status); }; }; then
11464 echo "$as_me:$LINENO: result
: yes" >&5
11465 echo "${ECHO_T}yes" >&6; stage1_cflags="$stage1_cflags -fkeep-inline-functions"
11467 echo "$as_me: failed program was
:" >&5
11468 sed 's/^/| /' conftest.$ac_ext >&5
11470 echo "$as_me:$LINENO: result
: no
" >&5
11471 echo "${ECHO_T}no
" >&6
11473 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11475 CFLAGS="$saved_CFLAGS"
11480 # Enable --enable-checking in stage1 of the compiler.
11481 # Check whether --enable-stage1-checking or --disable-stage1-checking was given.
11482 if test "${enable_stage1_checking+set}" = set; then
11483 enableval="$enable_stage1_checking"
11484 stage1_checking=--enable-checking=${enable_stage1_checking}
11486 if test "x
$enable_checking" = xno; then
11487 stage1_checking=--enable-checking
11489 stage1_checking=--enable-checking${enable_checking+=}$enable_checking
11494 # Enable -Werror in bootstrap stage2 and later.
11495 # Check whether --enable-werror or --disable-werror was given.
11496 if test "${enable_werror+set}" = set; then
11497 enableval="$enable_werror"
11500 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
11506 case ${enable_werror} in
11507 yes) stage2_werror_flag="--enable-werror-always" ;;
11508 *) stage2_werror_flag="" ;;
11512 # Flags needed to enable html installing and building
11514 # Check whether --with-datarootdir or --without-datarootdir was given.
11515 if test "${with_datarootdir+set}" = set; then
11516 withval="$with_datarootdir"
11517 datarootdir="\
${prefix}/${withval}"
11519 datarootdir="\
${prefix}/share
"
11523 # Check whether --with-docdir or --without-docdir was given.
11524 if test "${with_docdir+set}" = set; then
11525 withval="$with_docdir"
11526 docdir="\
${prefix}/${withval}"
11528 docdir="\
${datarootdir}/doc
"
11532 # Check whether --with-htmldir or --without-htmldir was given.
11533 if test "${with_htmldir+set}" = set; then
11534 withval="$with_htmldir"
11535 htmldir="\
${prefix}/${withval}"
11537 htmldir="\
${docdir}"
11544 ac_config_files="$ac_config_files Makefile
"
11545 cat >confcache <<\_ACEOF
11546 # This file is a shell script that caches the results of configure
11547 # tests run on this system so they can be shared between configure
11548 # scripts and configure runs, see configure's option --config-cache.
11549 # It is not useful on other systems. If it contains results you don't
11550 # want to keep, you may remove or edit it.
11552 # config.status only pays attention to the cache file if you give it
11553 # the --recheck option to rerun configure.
11555 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11556 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11557 # following values.
11561 # The following way of writing the cache mishandles newlines in values,
11562 # but we know of no workaround that is simple, portable, and efficient.
11563 # So, don't put newlines in cache variables' values.
11564 # Ultrix sh set writes to stderr and can't be redirected directly,
11565 # and sets the high bit in the cache file unless we assign to the vars.
11568 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11570 # `set' does not quote correctly, so add quotes (double-quote
11571 # substitution turns \\\\ into \\, and sed turns \\ into \).
11574 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
11577 # `set' quotes correctly as required by POSIX, so do not add quotes.
11579 "s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1=\\2/p
"
11586 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11588 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11590 if diff $cache_file confcache >/dev/null 2>&1; then :; else
11591 if test -w $cache_file; then
11592 test "x
$cache_file" != "x
/dev
/null
" && echo "updating cache
$cache_file"
11593 cat confcache >$cache_file
11595 echo "not updating unwritable cache
$cache_file"
11600 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
11601 # Let make expand exec_prefix.
11602 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
11604 # VPATH may cause trouble with some makes, so we remove $(srcdir),
11605 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
11606 # trailing colons and then remove the whole line if VPATH becomes empty
11607 # (actually we leave an empty line to preserve line numbers).
11608 if test "x
$srcdir" = x.; then
11609 ac_vpsub='/^[ ]*VPATH[ ]*=/{
11610 s/:*\$(srcdir):*/:/;
11611 s/:*\${srcdir}:*/:/;
11613 s/^\([^=]*=[ ]*\):*/\1/;
11619 # Transform confdefs.h into DEFS.
11620 # Protect against shell expansion while executing Makefile rules.
11621 # Protect against Makefile macro expansion.
11623 # If the first sed substitution is executed (which looks for macros that
11624 # take arguments), then we branch to the quote section. Otherwise,
11625 # look for a macro that doesn't take arguments.
11626 cat >confdef2opt.sed <<\_ACEOF
11629 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
11631 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
11635 s,[ `~#$^&*(){}\\|;'"<>?
],\\&,g
11641 # We use echo to avoid assuming a particular line-breaking character.
11642 # The extra dot is to prevent the shell from consuming trailing
11643 # line-breaks from the sub-command output. A line-break within
11644 # single-quotes doesn't work because, if this script is created in a
11645 # platform that uses two characters for line-breaks (e.g., DOS), tr
11647 ac_LF_and_DOT
=`echo; echo .`
11648 DEFS
=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
11649 rm -f confdef2opt.
sed
11654 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
11655 # 1. Remove the extension, and $U if already installed.
11656 ac_i
=`echo "$ac_i" |
11657 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
11659 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
11660 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
11662 LIBOBJS
=$ac_libobjs
11664 LTLIBOBJS
=$ac_ltlibobjs
11668 : ${CONFIG_STATUS=./config.status}
11669 ac_clean_files_save
=$ac_clean_files
11670 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
11671 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
11672 echo "$as_me: creating $CONFIG_STATUS" >&6;}
11673 cat >$CONFIG_STATUS <<_ACEOF
11675 # Generated by $as_me.
11676 # Run this file to recreate the current configuration.
11677 # Compiler output produced by configure, useful for debugging
11678 # configure, is in config.log if it exists.
11681 ac_cs_recheck=false
11683 SHELL=\${CONFIG_SHELL-$SHELL}
11686 cat >>$CONFIG_STATUS <<\_ACEOF
11687 ## --------------------- ##
11688 ## M4sh Initialization. ##
11689 ## --------------------- ##
11691 # Be Bourne compatible
11692 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
11695 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
11696 # is contrary to our usage. Disable this feature.
11697 alias -g '${1+"$@"}'='"$@"'
11698 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
11701 DUALCASE
=1; export DUALCASE
# for MKS sh
11703 # Support unset when possible.
11704 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
11711 # Work around bugs in pre-3.0 UWIN ksh.
11712 $as_unset ENV MAIL MAILPATH
11719 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
11720 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
11721 LC_TELEPHONE LC_TIME
11723 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
11724 eval $as_var=C
; export $as_var
11730 # Required to use basename.
11731 if expr a
: '\(a\)' >/dev
/null
2>&1; then
11737 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
11738 as_basename
=basename
11744 # Name of the executable.
11745 as_me
=`$as_basename "$0" ||
11746 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11747 X"$0" : 'X\(//\)$' \| \
11748 X"$0" : 'X\(/\)$' \| \
11749 . : '\(.\)' 2>/dev/null ||
11751 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
11752 /^X\/\(\/\/\)$/{ s//\1/; q; }
11753 /^X\/\(\/\).*/{ s//\1/; q; }
11757 # PATH needs CR, and LINENO needs CR and PATH.
11758 # Avoid depending upon Character Ranges.
11759 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
11760 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11761 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
11762 as_cr_digits
='0123456789'
11763 as_cr_alnum
=$as_cr_Letters$as_cr_digits
11765 # The user is always right.
11766 if test "${PATH_SEPARATOR+set}" != set; then
11767 echo "#! /bin/sh" >conf$$.sh
11768 echo "exit 0" >>conf$$.sh
11770 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
11779 as_lineno_1
=$LINENO
11780 as_lineno_2
=$LINENO
11781 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
11782 test "x$as_lineno_1" != "x$as_lineno_2" &&
11783 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
11784 # Find who we are. Look in the path if we contain no path at all
11787 *[\\/]* ) as_myself
=$0 ;;
11788 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11789 for as_dir
in $PATH
11792 test -z "$as_dir" && as_dir
=.
11793 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
11798 # We did not find ourselves, most probably we were run as `sh COMMAND'
11799 # in which case we are not to be found in the path.
11800 if test "x$as_myself" = x
; then
11803 if test ! -f "$as_myself"; then
11804 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
11805 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
11806 { (exit 1); exit 1; }; }
11808 case $CONFIG_SHELL in
11810 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11811 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
11814 test -z "$as_dir" && as_dir
=.
11815 for as_base
in sh bash ksh sh5
; do
11818 if ("$as_dir/$as_base" -c '
11819 as_lineno_1=$LINENO
11820 as_lineno_2=$LINENO
11821 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
11822 test "x$as_lineno_1" != "x$as_lineno_2" &&
11823 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
11824 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
11825 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
11826 CONFIG_SHELL
=$as_dir/$as_base
11827 export CONFIG_SHELL
11828 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
11836 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
11837 # uniformly replaced by the line number. The first 'sed' inserts a
11838 # line-number line before each line; the second 'sed' does the real
11839 # work. The second script uses 'N' to pair each line-number line
11840 # with the numbered line, and appends trailing '-' during
11841 # substitution so that $LINENO is not a special case at line end.
11842 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
11843 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
11844 sed '=' <$as_myself |
11849 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
11852 s,^['$as_cr_digits']*\n,,
11853 ' >$as_me.lineno
&&
11854 chmod +x
$as_me.lineno ||
11855 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
11856 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
11857 { (exit 1); exit 1; }; }
11859 # Don't try to exec as it changes $[0], causing all sort of problems
11860 # (the dirname of $[0] is not the place where we might find the
11861 # original and so on. Autoconf is especially sensible to this).
11863 # Exit status is that of the last command.
11868 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
11869 *c
*,-n*) ECHO_N
= ECHO_C
='
11871 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
11872 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
11875 if expr a
: '\(a\)' >/dev
/null
2>&1; then
11881 rm -f conf$$ conf$$.exe conf$$.
file
11883 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
11884 # We could just check for DJGPP; but this test a) works b) is more generic
11885 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
11886 if test -f conf$$.exe
; then
11887 # Don't use ln at all; we don't have any links
11892 elif ln conf$$.
file conf$$
2>/dev
/null
; then
11897 rm -f conf$$ conf$$.exe conf$$.
file
11899 if mkdir
-p .
2>/dev
/null
; then
11902 test -d .
/-p && rmdir .
/-p
11906 as_executable_p
="test -f"
11908 # Sed expression to map a string onto a valid CPP name.
11909 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11911 # Sed expression to map a string onto a valid variable name.
11912 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11916 # We need space, tab and new line, in precisely that order.
11926 # Open the log real soon, to keep \$[0] and so on meaningful, and to
11927 # report actual input values of CONFIG_FILES etc. instead of their
11928 # values after options handling. Logging --version etc. is OK.
11932 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
11933 ## Running $as_me. ##
11938 This file was extended by $as_me, which was
11939 generated by GNU Autoconf 2.59. Invocation command line was
11941 CONFIG_FILES = $CONFIG_FILES
11942 CONFIG_HEADERS = $CONFIG_HEADERS
11943 CONFIG_LINKS = $CONFIG_LINKS
11944 CONFIG_COMMANDS = $CONFIG_COMMANDS
11948 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
11952 # Files that config.status was made for.
11953 if test -n "$ac_config_files"; then
11954 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
11957 if test -n "$ac_config_headers"; then
11958 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
11961 if test -n "$ac_config_links"; then
11962 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
11965 if test -n "$ac_config_commands"; then
11966 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
11969 cat >>$CONFIG_STATUS <<\_ACEOF
11972 \`$as_me' instantiates files from templates according to the
11973 current configuration.
11975 Usage: $0 [OPTIONS] [FILE]...
11977 -h, --help print this help, then exit
11978 -V, --version print version number, then exit
11979 -q, --quiet do not print progress messages
11980 -d, --debug don't remove temporary files
11981 --recheck update $as_me by reconfiguring in the same conditions
11982 --file=FILE[:TEMPLATE]
11983 instantiate the configuration file FILE
11985 Configuration files:
11988 Report bugs to <bug-autoconf@gnu.org>."
11991 cat >>$CONFIG_STATUS <<_ACEOF
11994 configured by $0, generated by GNU Autoconf 2.59,
11995 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
11997 Copyright (C) 2003 Free Software Foundation, Inc.
11998 This config.status script is free software; the Free Software Foundation
11999 gives unlimited permission to copy, distribute and modify it."
12004 cat >>$CONFIG_STATUS <<\_ACEOF
12005 # If no file are specified by the user, then we need to provide default
12006 # value. By we need to know if files were specified by the user.
12012 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
12013 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
12021 *) # This is not an option, so the user has probably given explicit
12024 ac_need_defaults
=false
;;
12028 # Handling of the options.
12030 cat >>$CONFIG_STATUS <<\_ACEOF
12031 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
12033 --version |
--vers* |
-V )
12034 echo "$ac_cs_version"; exit 0 ;;
12036 # Conflict between --help and --header
12037 { { echo "$as_me:$LINENO: error: ambiguous option: $1
12038 Try \`$0 --help' for more information." >&5
12039 echo "$as_me: error: ambiguous option: $1
12040 Try \`$0 --help' for more information." >&2;}
12041 { (exit 1); exit 1; }; };;
12042 --help |
--hel |
-h )
12043 echo "$ac_cs_usage"; exit 0 ;;
12044 --debug |
--d* |
-d )
12046 --file |
--fil |
--fi |
--f )
12048 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
12049 ac_need_defaults
=false
;;
12050 --header |
--heade |
--head |
--hea )
12052 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
12053 ac_need_defaults
=false
;;
12054 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
12055 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
12058 # This is an error.
12059 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
12060 Try \`$0 --help' for more information." >&5
12061 echo "$as_me: error: unrecognized option: $1
12062 Try \`$0 --help' for more information." >&2;}
12063 { (exit 1); exit 1; }; } ;;
12065 *) ac_config_targets
="$ac_config_targets $1" ;;
12071 ac_configure_extra_args
=
12073 if $ac_cs_silent; then
12075 ac_configure_extra_args
="$ac_configure_extra_args --silent"
12079 cat >>$CONFIG_STATUS <<_ACEOF
12080 if \$ac_cs_recheck; then
12081 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
12082 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12091 cat >>$CONFIG_STATUS <<\_ACEOF
12092 for ac_config_target
in $ac_config_targets
12094 case "$ac_config_target" in
12095 # Handling of arguments.
12096 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
12097 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
12098 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
12099 { (exit 1); exit 1; }; };;
12103 # If the user did not use the arguments to specify the items to instantiate,
12104 # then the envvar interface is used. Set only those that are not.
12105 # We use the long form for the default assignment because of an extremely
12106 # bizarre bug on SunOS 4.1.3.
12107 if $ac_need_defaults; then
12108 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
12111 # Have a temporary directory for convenience. Make it in the build tree
12112 # simply because there is no reason to put it here, and in addition,
12113 # creating and moving files from /tmp can sometimes cause problems.
12114 # Create a temporary directory, and hook for its removal unless debugging.
12117 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
12118 trap '{ (exit 1); exit 1; }' 1 2 13 15
12121 # Create a (secure) tmp directory for tmp files.
12124 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
12125 test -n "$tmp" && test -d "$tmp"
12128 tmp
=.
/confstat$$
-$RANDOM
12129 (umask 077 && mkdir
$tmp)
12132 echo "$me: cannot create a temporary directory in ." >&2
12133 { (exit 1); exit 1; }
12138 cat >>$CONFIG_STATUS <<_ACEOF
12141 # CONFIG_FILES section.
12144 # No need to generate the scripts if there are no CONFIG_FILES.
12145 # This happens for instance when ./config.status config.h
12146 if test -n "\$CONFIG_FILES"; then
12147 # Protect against being on the right side of a sed subst in config.status.
12148 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
12149 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
12150 s,@SHELL@,$SHELL,;t t
12151 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
12152 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
12153 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
12154 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
12155 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
12156 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
12157 s,@exec_prefix@,$exec_prefix,;t t
12158 s,@prefix@,$prefix,;t t
12159 s,@program_transform_name@,$program_transform_name,;t t
12160 s,@bindir@,$bindir,;t t
12161 s,@sbindir@,$sbindir,;t t
12162 s,@libexecdir@,$libexecdir,;t t
12163 s,@datadir@,$datadir,;t t
12164 s,@sysconfdir@,$sysconfdir,;t t
12165 s,@sharedstatedir@,$sharedstatedir,;t t
12166 s,@localstatedir@,$localstatedir,;t t
12167 s,@libdir@,$libdir,;t t
12168 s,@includedir@,$includedir,;t t
12169 s,@oldincludedir@,$oldincludedir,;t t
12170 s,@infodir@,$infodir,;t t
12171 s,@mandir@,$mandir,;t t
12172 s,@build_alias@,$build_alias,;t t
12173 s,@host_alias@,$host_alias,;t t
12174 s,@target_alias@,$target_alias,;t t
12175 s,@DEFS@,$DEFS,;t t
12176 s,@ECHO_C@,$ECHO_C,;t t
12177 s,@ECHO_N@,$ECHO_N,;t t
12178 s,@ECHO_T@,$ECHO_T,;t t
12179 s,@LIBS@,$LIBS,;t t
12180 s,@build@,$build,;t t
12181 s,@build_cpu@,$build_cpu,;t t
12182 s,@build_vendor@,$build_vendor,;t t
12183 s,@build_os@,$build_os,;t t
12184 s,@build_noncanonical@,$build_noncanonical,;t t
12185 s,@host_noncanonical@,$host_noncanonical,;t t
12186 s,@target_noncanonical@,$target_noncanonical,;t t
12187 s,@host@,$host,;t t
12188 s,@host_cpu@,$host_cpu,;t t
12189 s,@host_vendor@,$host_vendor,;t t
12190 s,@host_os@,$host_os,;t t
12191 s,@target@,$target,;t t
12192 s,@target_cpu@,$target_cpu,;t t
12193 s,@target_vendor@,$target_vendor,;t t
12194 s,@target_os@,$target_os,;t t
12195 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
12196 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
12197 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
12199 s,@LN_S@,$LN_S,;t t
12200 s,@TOPLEVEL_CONFIGURE_ARGUMENTS@,$TOPLEVEL_CONFIGURE_ARGUMENTS,;t t
12201 s,@build_libsubdir@,$build_libsubdir,;t t
12202 s,@build_subdir@,$build_subdir,;t t
12203 s,@host_subdir@,$host_subdir,;t t
12204 s,@target_subdir@,$target_subdir,;t t
12206 s,@CFLAGS@,$CFLAGS,;t t
12207 s,@LDFLAGS@,$LDFLAGS,;t t
12208 s,@CPPFLAGS@,$CPPFLAGS,;t t
12209 s,@ac_ct_CC@,$ac_ct_CC,;t t
12210 s,@EXEEXT@,$EXEEXT,;t t
12211 s,@OBJEXT@,$OBJEXT,;t t
12213 s,@CXXFLAGS@,$CXXFLAGS,;t t
12214 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
12215 s,@GNATBIND@,$GNATBIND,;t t
12216 s,@ac_ct_GNATBIND@,$ac_ct_GNATBIND,;t t
12217 s,@GNATMAKE@,$GNATMAKE,;t t
12218 s,@ac_ct_GNATMAKE@,$ac_ct_GNATMAKE,;t t
12219 s,@do_compare@,$do_compare,;t t
12220 s,@gmplibs@,$gmplibs,;t t
12221 s,@gmpinc@,$gmpinc,;t t
12222 s,@stage1_languages@,$stage1_languages,;t t
12223 s,@SYSROOT_CFLAGS_FOR_TARGET@,$SYSROOT_CFLAGS_FOR_TARGET,;t t
12224 s,@RPATH_ENVVAR@,$RPATH_ENVVAR,;t t
12225 s,@tooldir@,$tooldir,;t t
12226 s,@build_tooldir@,$build_tooldir,;t t
12227 s,@CONFIGURE_GDB_TK@,$CONFIGURE_GDB_TK,;t t
12228 s,@GDB_TK@,$GDB_TK,;t t
12229 s,@INSTALL_GDB_TK@,$INSTALL_GDB_TK,;t t
12230 s,@build_configargs@,$build_configargs,;t t
12231 s,@build_configdirs@,$build_configdirs,;t t
12232 s,@host_configargs@,$host_configargs,;t t
12233 s,@configdirs@,$configdirs,;t t
12234 s,@target_configargs@,$target_configargs,;t t
12235 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
12236 s,@config_shell@,$config_shell,;t t
12237 s,@YACC@,$YACC,;t t
12238 s,@BISON@,$BISON,;t t
12241 s,@FLEX@,$FLEX,;t t
12242 s,@MAKEINFO@,$MAKEINFO,;t t
12243 s,@EXPECT@,$EXPECT,;t t
12244 s,@RUNTEST@,$RUNTEST,;t t
12247 s,@DLLTOOL@,$DLLTOOL,;t t
12249 s,@LIPO@,$LIPO,;t t
12251 s,@RANLIB@,$RANLIB,;t t
12252 s,@STRIP@,$STRIP,;t t
12253 s,@WINDRES@,$WINDRES,;t t
12254 s,@OBJCOPY@,$OBJCOPY,;t t
12255 s,@OBJDUMP@,$OBJDUMP,;t t
12256 s,@CFLAGS_FOR_BUILD@,$CFLAGS_FOR_BUILD,;t t
12257 s,@CC_FOR_TARGET@,$CC_FOR_TARGET,;t t
12258 s,@CXX_FOR_TARGET@,$CXX_FOR_TARGET,;t t
12259 s,@GCC_FOR_TARGET@,$GCC_FOR_TARGET,;t t
12260 s,@GCJ_FOR_TARGET@,$GCJ_FOR_TARGET,;t t
12261 s,@GFORTRAN_FOR_TARGET@,$GFORTRAN_FOR_TARGET,;t t
12262 s,@AR_FOR_TARGET@,$AR_FOR_TARGET,;t t
12263 s,@AS_FOR_TARGET@,$AS_FOR_TARGET,;t t
12264 s,@DLLTOOL_FOR_TARGET@,$DLLTOOL_FOR_TARGET,;t t
12265 s,@LD_FOR_TARGET@,$LD_FOR_TARGET,;t t
12266 s,@LIPO_FOR_TARGET@,$LIPO_FOR_TARGET,;t t
12267 s,@NM_FOR_TARGET@,$NM_FOR_TARGET,;t t
12268 s,@OBJDUMP_FOR_TARGET@,$OBJDUMP_FOR_TARGET,;t t
12269 s,@RANLIB_FOR_TARGET@,$RANLIB_FOR_TARGET,;t t
12270 s,@STRIP_FOR_TARGET@,$STRIP_FOR_TARGET,;t t
12271 s,@WINDRES_FOR_TARGET@,$WINDRES_FOR_TARGET,;t t
12272 s,@RAW_CXX_FOR_TARGET@,$RAW_CXX_FOR_TARGET,;t t
12273 s,@FLAGS_FOR_TARGET@,$FLAGS_FOR_TARGET,;t t
12274 s,@COMPILER_AS_FOR_TARGET@,$COMPILER_AS_FOR_TARGET,;t t
12275 s,@COMPILER_LD_FOR_TARGET@,$COMPILER_LD_FOR_TARGET,;t t
12276 s,@COMPILER_NM_FOR_TARGET@,$COMPILER_NM_FOR_TARGET,;t t
12277 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
12278 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
12279 s,@MAINT@,$MAINT,;t t
12280 s,@stage1_cflags@,$stage1_cflags,;t t
12281 s,@stage1_checking@,$stage1_checking,;t t
12282 s,@stage2_werror_flag@,$stage2_werror_flag,;t t
12283 s,@datarootdir@,$datarootdir,;t t
12284 s,@docdir@,$docdir,;t t
12285 s,@htmldir@,$htmldir,;t t
12286 s,@LIBOBJS@,$LIBOBJS,;t t
12287 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
12288 /@serialization_dependencies@/r $serialization_dependencies
12289 s,@serialization_dependencies@,,;t t
12290 /@host_makefile_frag@/r $host_makefile_frag
12291 s,@host_makefile_frag@,,;t t
12292 /@target_makefile_frag@/r $target_makefile_frag
12293 s,@target_makefile_frag@,,;t t
12294 /@alphaieee_frag@/r $alphaieee_frag
12295 s,@alphaieee_frag@,,;t t
12296 /@ospace_frag@/r $ospace_frag
12297 s,@ospace_frag@,,;t t
12302 cat >>$CONFIG_STATUS <<\_ACEOF
12303 # Split the substitutions into bite-sized pieces for seds with
12304 # small command number limits, like on Digital OSF/1 and HP-UX.
12305 ac_max_sed_lines
=48
12306 ac_sed_frag
=1 # Number of current file.
12307 ac_beg
=1 # First line for current file.
12308 ac_end
=$ac_max_sed_lines # Line after last line for current file.
12311 while $ac_more_lines; do
12312 if test $ac_beg -gt 1; then
12313 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
12315 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
12317 if test ! -s $tmp/subs.frag
; then
12318 ac_more_lines
=false
12320 # The purpose of the label and of the branching condition is to
12321 # speed up the sed processing (if there are no `@' at all, there
12322 # is no need to browse any of the substitutions).
12323 # These are the two extra sed commands mentioned above.
12325 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
12326 if test -z "$ac_sed_cmds"; then
12327 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
12329 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
12331 ac_sed_frag
=`expr $ac_sed_frag + 1`
12333 ac_end
=`expr $ac_end + $ac_max_sed_lines`
12336 if test -z "$ac_sed_cmds"; then
12339 fi # test -n "$CONFIG_FILES"
12342 cat >>$CONFIG_STATUS <<\_ACEOF
12343 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
12344 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12346 - |
*:- |
*:-:* ) # input from stdin
12348 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
12349 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
12350 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
12351 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
12352 * ) ac_file_in
=$ac_file.
in ;;
12355 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
12356 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
12357 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12358 X"$ac_file" : 'X\(//\)[^/]' \| \
12359 X"$ac_file" : 'X\(//\)$' \| \
12360 X"$ac_file" : 'X\(/\)' \| \
12361 . : '\(.\)' 2>/dev/null ||
12363 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12364 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12365 /^X\(\/\/\)$/{ s//\1/; q; }
12366 /^X\(\/\).*/{ s//\1/; q; }
12368 { if $as_mkdir_p; then
12373 while test ! -d "$as_dir"; do
12374 as_dirs
="$as_dir $as_dirs"
12375 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
12376 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12377 X"$as_dir" : 'X\(//\)[^/]' \| \
12378 X"$as_dir" : 'X\(//\)$' \| \
12379 X"$as_dir" : 'X\(/\)' \| \
12380 . : '\(.\)' 2>/dev/null ||
12382 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12383 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12384 /^X\(\/\/\)$/{ s//\1/; q; }
12385 /^X\(\/\).*/{ s//\1/; q; }
12388 test ! -n "$as_dirs" || mkdir
$as_dirs
12389 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12390 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12391 { (exit 1); exit 1; }; }; }
12395 if test "$ac_dir" != .
; then
12396 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
12397 # A "../" for each directory in $ac_dir_suffix.
12398 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
12400 ac_dir_suffix
= ac_top_builddir
=
12404 .
) # No --srcdir option. We are building in place.
12406 if test -z "$ac_top_builddir"; then
12409 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
12411 [\\/]* | ?
:[\\/]* ) # Absolute path.
12412 ac_srcdir
=$srcdir$ac_dir_suffix;
12413 ac_top_srcdir
=$srcdir ;;
12414 *) # Relative path.
12415 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
12416 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
12419 # Do not use `cd foo && pwd` to compute absolute paths, because
12420 # the directories may not exist.
12422 .
) ac_abs_builddir
="$ac_dir";;
12425 .
) ac_abs_builddir
=`pwd`;;
12426 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
12427 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
12430 case $ac_abs_builddir in
12431 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
12433 case ${ac_top_builddir}.
in
12434 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
12435 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
12436 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
12439 case $ac_abs_builddir in
12440 .
) ac_abs_srcdir
=$ac_srcdir;;
12443 .
) ac_abs_srcdir
=$ac_abs_builddir;;
12444 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
12445 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
12448 case $ac_abs_builddir in
12449 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
12451 case $ac_top_srcdir in
12452 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
12453 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
12454 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
12460 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
12461 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
12464 if test x
"$ac_file" != x-
; then
12465 { echo "$as_me:$LINENO: creating $ac_file" >&5
12466 echo "$as_me: creating $ac_file" >&6;}
12469 # Let's still pretend it is `configure' which instantiates (i.e., don't
12470 # use $as_me), people would be surprised to read:
12471 # /* config.h. Generated by config.status. */
12472 if test x
"$ac_file" = x-
; then
12475 configure_input
="$ac_file. "
12477 configure_input
=$configure_input"Generated from `echo $ac_file_in |
12478 sed 's,.*/,,'` by configure."
12480 # First look for the input files in the build tree, otherwise in the
12482 ac_file_inputs
=`IFS=:
12483 for f in $ac_file_in; do
12485 -) echo $tmp/stdin ;;
12487 # Absolute (can't be DOS-style, as IFS=:)
12488 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12489 echo "$as_me: error: cannot find input file: $f" >&2;}
12490 { (exit 1); exit 1; }; }
12493 if test -f "$f"; then
12496 elif test -f "$srcdir/$f"; then
12501 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12502 echo "$as_me: error: cannot find input file: $f" >&2;}
12503 { (exit 1); exit 1; }; }
12506 done` ||
{ (exit 1); exit 1; }
12508 cat >>$CONFIG_STATUS <<_ACEOF
12512 cat >>$CONFIG_STATUS <<\_ACEOF
12514 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
12515 s
,@configure_input@
,$configure_input,;t t
12516 s
,@srcdir@
,$ac_srcdir,;t t
12517 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
12518 s
,@top_srcdir@
,$ac_top_srcdir,;t t
12519 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
12520 s
,@builddir@
,$ac_builddir,;t t
12521 s
,@abs_builddir@
,$ac_abs_builddir,;t t
12522 s
,@top_builddir@
,$ac_top_builddir,;t t
12523 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
12524 s
,@INSTALL@
,$ac_INSTALL,;t t
12525 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
12527 if test x"$ac_file" != x-; then
12528 mv $tmp/out $ac_file
12537 cat >>$CONFIG_STATUS <<\_ACEOF
12539 { (exit 0); exit 0; }
12541 chmod +x $CONFIG_STATUS
12542 ac_clean_files=$ac_clean_files_save
12545 # configure is writing to config.log, and then calls config.status.
12546 # config.status does its own redirection, appending to config.log.
12547 # Unfortunately, on DOS this fails, as config.log is still kept open
12548 # by configure, so config.status won't be able to write to it; its
12549 # output is simply discarded. So we exec the FD to /dev/null,
12550 # effectively closing config.log, so it can be properly (re)opened and
12551 # appended to by config.status. When coming back to configure, we
12552 # need to make the FD available again.
12553 if test "$no_create" != yes; then
12555 ac_config_status_args=
12556 test "$silent" = yes &&
12557 ac_config_status_args="$ac_config_status_args --quiet"
12559 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
12561 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
12562 # would make configure fail if this is the last instruction.
12563 $ac_cs_success || { (exit 1); exit 1; }