2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22 DUALCASE=1; export DUALCASE # for MKS sh
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x $as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
194 if expr a : '\(a\)' >/dev/null 2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.file conf$$ 2>/dev/null; then
216 rm -f conf$$ conf$$.exe conf$$.file
218 if mkdir -p . 2>/dev/null; then
221 test -d ./-p && rmdir ./-p
225 as_executable_p="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix=/usr/local
255 ac_config_libobj_dir=.
260 SHELL=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
274 ac_unique_file="move-if-change"
275 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS TOPLEVEL_CONFIGURE_ARGUMENTS build build_cpu build_vendor build_os build_noncanonical host_noncanonical target_noncanonical host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN LN_S build_libsubdir build_subdir host_subdir target_subdir CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX GNATBIND ac_ct_GNATBIND GNATMAKE ac_ct_GNATMAKE do_compare gmplibs gmpinc stage1_languages SYSROOT_CFLAGS_FOR_TARGET DEBUG_PREFIX_CFLAGS_FOR_TARGET CFLAGS_FOR_TARGET CXXFLAGS_FOR_TARGET RPATH_ENVVAR tooldir build_tooldir CONFIGURE_GDB_TK GDB_TK INSTALL_GDB_TK build_configargs build_configdirs host_configargs configdirs target_configargs AR_FOR_BUILD AS_FOR_BUILD CC_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD CXX_FOR_BUILD DLLTOOL_FOR_BUILD GCJ_FOR_BUILD GFORTRAN_FOR_BUILD LDFLAGS_FOR_BUILD LD_FOR_BUILD NM_FOR_BUILD RANLIB_FOR_BUILD WINDMC_FOR_BUILD WINDRES_FOR_BUILD config_shell YACC BISON M4 LEX FLEX MAKEINFO EXPECT RUNTEST AR AS DLLTOOL LD LIPO NM RANLIB STRIP WINDRES WINDMC OBJCOPY OBJDUMP CC_FOR_TARGET CXX_FOR_TARGET GCC_FOR_TARGET GCJ_FOR_TARGET GFORTRAN_FOR_TARGET AR_FOR_TARGET AS_FOR_TARGET DLLTOOL_FOR_TARGET LD_FOR_TARGET LIPO_FOR_TARGET NM_FOR_TARGET OBJDUMP_FOR_TARGET RANLIB_FOR_TARGET STRIP_FOR_TARGET WINDRES_FOR_TARGET WINDMC_FOR_TARGET RAW_CXX_FOR_TARGET FLAGS_FOR_TARGET COMPILER_AS_FOR_TARGET COMPILER_LD_FOR_TARGET COMPILER_NM_FOR_TARGET MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT stage1_cflags stage1_checking stage2_werror_flag datarootdir docdir pdfdir htmldir LIBOBJS LTLIBOBJS'
276 ac_subst_files='serialization_dependencies host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag'
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_subdirs_all=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
718 ac_env_CC_set=${CC+set}
720 ac_cv_env_CC_set=${CC+set}
721 ac_cv_env_CC_value=$CC
722 ac_env_CFLAGS_set=${CFLAGS+set}
723 ac_env_CFLAGS_value=$CFLAGS
724 ac_cv_env_CFLAGS_set=${CFLAGS+set}
725 ac_cv_env_CFLAGS_value=$CFLAGS
726 ac_env_LDFLAGS_set=${LDFLAGS+set}
727 ac_env_LDFLAGS_value=$LDFLAGS
728 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
729 ac_cv_env_LDFLAGS_value=$LDFLAGS
730 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
731 ac_env_CPPFLAGS_value=$CPPFLAGS
732 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
733 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
734 ac_env_CXX_set=${CXX+set}
735 ac_env_CXX_value=$CXX
736 ac_cv_env_CXX_set=${CXX+set}
737 ac_cv_env_CXX_value=$CXX
738 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
739 ac_env_CXXFLAGS_value=$CXXFLAGS
740 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
741 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
742 ac_env_AR_set=${AR+set}
744 ac_cv_env_AR_set=${AR+set}
745 ac_cv_env_AR_value=$AR
746 ac_env_AS_set=${AS+set}
748 ac_cv_env_AS_set=${AS+set}
749 ac_cv_env_AS_value=$AS
750 ac_env_DLLTOOL_set=${DLLTOOL+set}
751 ac_env_DLLTOOL_value=$DLLTOOL
752 ac_cv_env_DLLTOOL_set=${DLLTOOL+set}
753 ac_cv_env_DLLTOOL_value=$DLLTOOL
754 ac_env_LD_set=${LD+set}
756 ac_cv_env_LD_set=${LD+set}
757 ac_cv_env_LD_value=$LD
758 ac_env_LIPO_set=${LIPO+set}
759 ac_env_LIPO_value=$LIPO
760 ac_cv_env_LIPO_set=${LIPO+set}
761 ac_cv_env_LIPO_value=$LIPO
762 ac_env_NM_set=${NM+set}
764 ac_cv_env_NM_set=${NM+set}
765 ac_cv_env_NM_value=$NM
766 ac_env_RANLIB_set=${RANLIB+set}
767 ac_env_RANLIB_value=$RANLIB
768 ac_cv_env_RANLIB_set=${RANLIB+set}
769 ac_cv_env_RANLIB_value=$RANLIB
770 ac_env_STRIP_set=${STRIP+set}
771 ac_env_STRIP_value=$STRIP
772 ac_cv_env_STRIP_set=${STRIP+set}
773 ac_cv_env_STRIP_value=$STRIP
774 ac_env_WINDRES_set=${WINDRES+set}
775 ac_env_WINDRES_value=$WINDRES
776 ac_cv_env_WINDRES_set=${WINDRES+set}
777 ac_cv_env_WINDRES_value=$WINDRES
778 ac_env_WINDMC_set=${WINDMC+set}
779 ac_env_WINDMC_value=$WINDMC
780 ac_cv_env_WINDMC_set=${WINDMC+set}
781 ac_cv_env_WINDMC_value=$WINDMC
782 ac_env_OBJCOPY_set=${OBJCOPY+set}
783 ac_env_OBJCOPY_value=$OBJCOPY
784 ac_cv_env_OBJCOPY_set=${OBJCOPY+set}
785 ac_cv_env_OBJCOPY_value=$OBJCOPY
786 ac_env_OBJDUMP_set=${OBJDUMP+set}
787 ac_env_OBJDUMP_value=$OBJDUMP
788 ac_cv_env_OBJDUMP_set=${OBJDUMP+set}
789 ac_cv_env_OBJDUMP_value=$OBJDUMP
790 ac_env_CC_FOR_TARGET_set=${CC_FOR_TARGET+set}
791 ac_env_CC_FOR_TARGET_value=$CC_FOR_TARGET
792 ac_cv_env_CC_FOR_TARGET_set=${CC_FOR_TARGET+set}
793 ac_cv_env_CC_FOR_TARGET_value=$CC_FOR_TARGET
794 ac_env_CXX_FOR_TARGET_set=${CXX_FOR_TARGET+set}
795 ac_env_CXX_FOR_TARGET_value=$CXX_FOR_TARGET
796 ac_cv_env_CXX_FOR_TARGET_set=${CXX_FOR_TARGET+set}
797 ac_cv_env_CXX_FOR_TARGET_value=$CXX_FOR_TARGET
798 ac_env_GCC_FOR_TARGET_set=${GCC_FOR_TARGET+set}
799 ac_env_GCC_FOR_TARGET_value=$GCC_FOR_TARGET
800 ac_cv_env_GCC_FOR_TARGET_set=${GCC_FOR_TARGET+set}
801 ac_cv_env_GCC_FOR_TARGET_value=$GCC_FOR_TARGET
802 ac_env_GCJ_FOR_TARGET_set=${GCJ_FOR_TARGET+set}
803 ac_env_GCJ_FOR_TARGET_value=$GCJ_FOR_TARGET
804 ac_cv_env_GCJ_FOR_TARGET_set=${GCJ_FOR_TARGET+set}
805 ac_cv_env_GCJ_FOR_TARGET_value=$GCJ_FOR_TARGET
806 ac_env_GFORTRAN_FOR_TARGET_set=${GFORTRAN_FOR_TARGET+set}
807 ac_env_GFORTRAN_FOR_TARGET_value=$GFORTRAN_FOR_TARGET
808 ac_cv_env_GFORTRAN_FOR_TARGET_set=${GFORTRAN_FOR_TARGET+set}
809 ac_cv_env_GFORTRAN_FOR_TARGET_value=$GFORTRAN_FOR_TARGET
810 ac_env_AR_FOR_TARGET_set=${AR_FOR_TARGET+set}
811 ac_env_AR_FOR_TARGET_value=$AR_FOR_TARGET
812 ac_cv_env_AR_FOR_TARGET_set=${AR_FOR_TARGET+set}
813 ac_cv_env_AR_FOR_TARGET_value=$AR_FOR_TARGET
814 ac_env_AS_FOR_TARGET_set=${AS_FOR_TARGET+set}
815 ac_env_AS_FOR_TARGET_value=$AS_FOR_TARGET
816 ac_cv_env_AS_FOR_TARGET_set=${AS_FOR_TARGET+set}
817 ac_cv_env_AS_FOR_TARGET_value=$AS_FOR_TARGET
818 ac_env_DLLTOOL_FOR_TARGET_set=${DLLTOOL_FOR_TARGET+set}
819 ac_env_DLLTOOL_FOR_TARGET_value=$DLLTOOL_FOR_TARGET
820 ac_cv_env_DLLTOOL_FOR_TARGET_set=${DLLTOOL_FOR_TARGET+set}
821 ac_cv_env_DLLTOOL_FOR_TARGET_value=$DLLTOOL_FOR_TARGET
822 ac_env_LD_FOR_TARGET_set=${LD_FOR_TARGET+set}
823 ac_env_LD_FOR_TARGET_value=$LD_FOR_TARGET
824 ac_cv_env_LD_FOR_TARGET_set=${LD_FOR_TARGET+set}
825 ac_cv_env_LD_FOR_TARGET_value=$LD_FOR_TARGET
826 ac_env_LIPO_FOR_TARGET_set=${LIPO_FOR_TARGET+set}
827 ac_env_LIPO_FOR_TARGET_value=$LIPO_FOR_TARGET
828 ac_cv_env_LIPO_FOR_TARGET_set=${LIPO_FOR_TARGET+set}
829 ac_cv_env_LIPO_FOR_TARGET_value=$LIPO_FOR_TARGET
830 ac_env_NM_FOR_TARGET_set=${NM_FOR_TARGET+set}
831 ac_env_NM_FOR_TARGET_value=$NM_FOR_TARGET
832 ac_cv_env_NM_FOR_TARGET_set=${NM_FOR_TARGET+set}
833 ac_cv_env_NM_FOR_TARGET_value=$NM_FOR_TARGET
834 ac_env_OBJDUMP_FOR_TARGET_set=${OBJDUMP_FOR_TARGET+set}
835 ac_env_OBJDUMP_FOR_TARGET_value=$OBJDUMP_FOR_TARGET
836 ac_cv_env_OBJDUMP_FOR_TARGET_set=${OBJDUMP_FOR_TARGET+set}
837 ac_cv_env_OBJDUMP_FOR_TARGET_value=$OBJDUMP_FOR_TARGET
838 ac_env_RANLIB_FOR_TARGET_set=${RANLIB_FOR_TARGET+set}
839 ac_env_RANLIB_FOR_TARGET_value=$RANLIB_FOR_TARGET
840 ac_cv_env_RANLIB_FOR_TARGET_set=${RANLIB_FOR_TARGET+set}
841 ac_cv_env_RANLIB_FOR_TARGET_value=$RANLIB_FOR_TARGET
842 ac_env_STRIP_FOR_TARGET_set=${STRIP_FOR_TARGET+set}
843 ac_env_STRIP_FOR_TARGET_value=$STRIP_FOR_TARGET
844 ac_cv_env_STRIP_FOR_TARGET_set=${STRIP_FOR_TARGET+set}
845 ac_cv_env_STRIP_FOR_TARGET_value=$STRIP_FOR_TARGET
846 ac_env_WINDRES_FOR_TARGET_set=${WINDRES_FOR_TARGET+set}
847 ac_env_WINDRES_FOR_TARGET_value=$WINDRES_FOR_TARGET
848 ac_cv_env_WINDRES_FOR_TARGET_set=${WINDRES_FOR_TARGET+set}
849 ac_cv_env_WINDRES_FOR_TARGET_value=$WINDRES_FOR_TARGET
850 ac_env_WINDMC_FOR_TARGET_set=${WINDMC_FOR_TARGET+set}
851 ac_env_WINDMC_FOR_TARGET_value=$WINDMC_FOR_TARGET
852 ac_cv_env_WINDMC_FOR_TARGET_set=${WINDMC_FOR_TARGET+set}
853 ac_cv_env_WINDMC_FOR_TARGET_value=$WINDMC_FOR_TARGET
856 # Report the --help message.
858 if test "$ac_init_help" = "long"; then
859 # Omit some internal or obsolete options to make the list less imposing.
860 # This message is too long to be a string in the A/UX 3.1 sh.
862 \`configure' configures this package to adapt to many kinds of systems.
864 Usage: $0 [OPTION]... [VAR=VALUE]...
866 To assign environment variables (e.g., CC, CFLAGS...), specify them as
867 VAR=VALUE. See below for descriptions of some of the useful variables.
869 Defaults for the options are specified in brackets.
872 -h, --help display this help and exit
873 --help=short display options specific to this package
874 --help=recursive display the short help of all the included packages
875 -V, --version display version information and exit
876 -q, --quiet, --silent do not print \`checking...' messages
877 --cache-file=FILE cache test results in FILE [disabled]
878 -C, --config-cache alias for \`--cache-file=config.cache'
879 -n, --no-create do not create output files
880 --srcdir=DIR find the sources in DIR [configure dir or \`..']
885 Installation directories:
886 --prefix=PREFIX install architecture-independent files in PREFIX
888 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
891 By default, \`make install' will install all the files in
892 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
893 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
894 for instance \`--prefix=\$HOME'.
896 For better control, use the options below.
898 Fine tuning of the installation directories:
899 --bindir=DIR user executables [EPREFIX/bin]
900 --sbindir=DIR system admin executables [EPREFIX/sbin]
901 --libexecdir=DIR program executables [EPREFIX/libexec]
902 --datadir=DIR read-only architecture-independent data [PREFIX/share]
903 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
904 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
905 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
906 --libdir=DIR object code libraries [EPREFIX/lib]
907 --includedir=DIR C header files [PREFIX/include]
908 --oldincludedir=DIR C header files for non-gcc [/usr/include]
909 --infodir=DIR info documentation [PREFIX/info]
910 --mandir=DIR man documentation [PREFIX/man]
916 --program-prefix=PREFIX prepend PREFIX to installed program names
917 --program-suffix=SUFFIX append SUFFIX to installed program names
918 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
921 --build=BUILD configure for building on BUILD [guessed]
922 --host=HOST cross-compile to build programs to run on HOST [BUILD]
923 --target=TARGET configure for building compilers for TARGET [HOST]
927 if test -n "$ac_init_help"; then
932 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
933 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
934 --enable-gold use gold instead of ld
935 --enable-libada build libada directory
936 --enable-libssp build libssp directory
937 --enable-stage1-languages[=all] choose additional languages to build during
938 stage1. Mostly useful for compiler development.
939 --enable-objc-gc enable use of Boehm's garbage collector with the
940 GNU Objective-C runtime
941 --enable-bootstrap enable bootstrapping [yes if native build]
942 --enable-serial-[{host,target,build}-]configure
943 force sequential configuration of
944 sub-packages for the host, target or build
945 machine, or all sub-packages
946 --enable-maintainer-mode enable make rules and dependencies not useful
947 (and sometimes confusing) to the casual installer
948 --enable-stage1-checking[=all] choose additional checking for stage1
950 --enable-werror enable -Werror in bootstrap stage2 and later
953 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
954 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
955 --with-build-libsubdir=DIR Directory where to find libraries for build system
956 --with-mpfr-dir=PATH this option has been REMOVED
957 --with-mpfr=PATH specify prefix directory for installed MPFR package.
958 Equivalent to --with-mpfr-include=PATH/include
959 plus --with-mpfr-lib=PATH/lib
960 --with-mpfr-include=PATH
961 specify directory for installed MPFR include files
962 --with-mpfr-lib=PATH specify directory for the installed MPFR library
963 --with-gmp-dir=PATH this option has been REMOVED
964 --with-gmp=PATH specify prefix directory for the installed GMP package.
965 Equivalent to --with-gmp-include=PATH/include
966 plus --with-gmp-lib=PATH/lib
967 --with-gmp-include=PATH specify directory for installed GMP include files
968 --with-gmp-lib=PATH specify directory for the installed GMP library
969 --with-build-sysroot=SYSROOT
970 use sysroot as the system root during the build
971 --with-debug-prefix-map='A=B C=D ...'
972 map A to B, C to D ... in debug information
973 --with-build-time-tools=PATH
974 use given path to find target tools during the build
975 --with-datarootdir use datarootdir as the data root directory.
976 --with-docdir install documentation in this directory.
977 --with-pdfdir install pdf in this directory.
978 --with-htmldir install html in this directory.
980 Some influential environment variables:
981 CC C compiler command
982 CFLAGS C compiler flags
983 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
984 nonstandard directory <lib dir>
985 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
986 headers in a nonstandard directory <include dir>
987 CXX C++ compiler command
988 CXXFLAGS C++ compiler flags
991 DLLTOOL DLLTOOL for the host
993 LIPO LIPO for the host
995 RANLIB RANLIB for the host
996 STRIP STRIP for the host
997 WINDRES WINDRES for the host
998 WINDMC WINDMC for the host
999 OBJCOPY OBJCOPY for the host
1000 OBJDUMP OBJDUMP for the host
1010 GFORTRAN for the target
1016 DLLTOOL for the target
1024 OBJDUMP for the target
1026 RANLIB for the target
1028 STRIP for the target
1030 WINDRES for the target
1032 WINDMC for the target
1034 Use these variables to override the choices made by `configure' or to help
1035 it to find libraries and programs with nonstandard names/locations.
1040 if test "$ac_init_help" = "recursive"; then
1041 # If there are subdirs, report their specific --help.
1043 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1044 test -d $ac_dir || continue
1047 if test "$ac_dir" != .; then
1048 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1049 # A "../" for each directory in $ac_dir_suffix.
1050 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1052 ac_dir_suffix= ac_top_builddir=
1056 .) # No --srcdir option. We are building in place.
1058 if test -z "$ac_top_builddir"; then
1061 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1063 [\\/]* | ?:[\\/]* ) # Absolute path.
1064 ac_srcdir=$srcdir$ac_dir_suffix;
1065 ac_top_srcdir=$srcdir ;;
1067 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1068 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1071 # Do not use `cd foo && pwd` to compute absolute paths, because
1072 # the directories may not exist.
1074 .) ac_abs_builddir="$ac_dir";;
1077 .) ac_abs_builddir=`pwd`;;
1078 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1079 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1082 case $ac_abs_builddir in
1083 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1085 case ${ac_top_builddir}. in
1086 .) ac_abs_top_builddir=$ac_abs_builddir;;
1087 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1088 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1091 case $ac_abs_builddir in
1092 .) ac_abs_srcdir=$ac_srcdir;;
1095 .) ac_abs_srcdir=$ac_abs_builddir;;
1096 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1097 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1100 case $ac_abs_builddir in
1101 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1103 case $ac_top_srcdir in
1104 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1105 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1106 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1111 # Check for guested configure; otherwise get Cygnus style configure.
1112 if test -f $ac_srcdir/configure.gnu; then
1114 $SHELL $ac_srcdir/configure.gnu --help=recursive
1115 elif test -f $ac_srcdir/configure; then
1117 $SHELL $ac_srcdir/configure --help=recursive
1118 elif test -f $ac_srcdir/configure.ac ||
1119 test -f $ac_srcdir/configure.in; then
1121 $ac_configure --help
1123 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1129 test -n "$ac_init_help" && exit 0
1130 if $ac_init_version; then
1133 Copyright (C) 2003 Free Software Foundation, Inc.
1134 This configure script is free software; the Free Software Foundation
1135 gives unlimited permission to copy, distribute and modify it.
1141 This file contains any messages produced by compilers while
1142 running configure, to aid debugging if configure makes a mistake.
1144 It was created by $as_me, which was
1145 generated by GNU Autoconf 2.59. Invocation command line was
1156 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1157 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1158 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1159 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1160 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1162 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1163 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1165 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1166 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1167 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1168 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1169 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1170 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1171 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1179 test -z "$as_dir" && as_dir=.
1180 echo "PATH: $as_dir"
1195 # Keep a trace of the command line.
1196 # Strip out --no-create and --no-recursion so they do not pile up.
1197 # Strip out --silent because we don't want to record it for future runs.
1198 # Also quote any args containing shell meta-characters.
1199 # Make two passes to allow for proper duplicate-argument suppression.
1204 ac_must_keep_next=false
1210 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1211 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1212 | -silent | --silent | --silen | --sile | --sil)
1214 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1215 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1218 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1220 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1221 if test $ac_must_keep_next = true; then
1222 ac_must_keep_next=false # Got value, back to normal.
1225 *=* | --config-cache | -C | -disable-* | --disable-* \
1226 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1227 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1228 | -with-* | --with-* | -without-* | --without-* | --x)
1229 case "$ac_configure_args0 " in
1230 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1233 -* ) ac_must_keep_next=true ;;
1236 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1237 # Get rid of the leading space.
1243 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1244 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1246 # When interrupted or exit'd, cleanup temporary files, and complete
1247 # config.log. We remove comments because anyway the quotes in there
1248 # would cause problems or look ugly.
1249 # WARNING: Be sure not to use single quotes in there, as some shells,
1250 # such as our DU 5.0 friend, will then `close' the trap.
1251 trap 'exit_status=$?
1252 # Save into config.log some information that might help in debugging.
1257 ## ---------------- ##
1258 ## Cache variables. ##
1259 ## ---------------- ##
1262 # The following way of writing the cache mishandles newlines in values,
1265 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1268 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1269 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1273 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1280 ## ----------------- ##
1281 ## Output variables. ##
1282 ## ----------------- ##
1285 for ac_var in $ac_subst_vars
1287 eval ac_val=$`echo $ac_var`
1288 echo "$ac_var='"'"'$ac_val'"'"'"
1292 if test -n "$ac_subst_files"; then
1299 for ac_var in $ac_subst_files
1301 eval ac_val=$`echo $ac_var`
1302 echo "$ac_var='"'"'$ac_val'"'"'"
1307 if test -s confdefs.h; then
1314 sed "/^$/d" confdefs.h | sort
1317 test "$ac_signal" != 0 &&
1318 echo "$as_me: caught signal $ac_signal"
1319 echo "$as_me: exit $exit_status"
1321 rm -f core *.core &&
1322 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1325 for ac_signal in 1 2 13 15; do
1326 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1330 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1331 rm -rf conftest* confdefs.h
1332 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1335 # Predefined preprocessor variables.
1337 cat >>confdefs.h <<_ACEOF
1338 #define PACKAGE_NAME "$PACKAGE_NAME"
1342 cat >>confdefs.h <<_ACEOF
1343 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1347 cat >>confdefs.h <<_ACEOF
1348 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1352 cat >>confdefs.h <<_ACEOF
1353 #define PACKAGE_STRING "$PACKAGE_STRING"
1357 cat >>confdefs.h <<_ACEOF
1358 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1362 # Let the site file select an alternate cache file if it wants to.
1363 # Prefer explicitly selected file to automatically selected ones.
1364 if test -z "$CONFIG_SITE"; then
1365 if test "x$prefix" != xNONE; then
1366 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1368 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1371 for ac_site_file in $CONFIG_SITE; do
1372 if test -r "$ac_site_file"; then
1373 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1374 echo "$as_me: loading site script $ac_site_file" >&6;}
1375 sed 's/^/| /' "$ac_site_file" >&5
1380 if test -r "$cache_file"; then
1381 # Some versions of bash will fail to source /dev/null (special
1382 # files actually), so we avoid doing that.
1383 if test -f "$cache_file"; then
1384 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1385 echo "$as_me: loading cache $cache_file" >&6;}
1387 [\\/]* | ?:[\\/]* ) . $cache_file;;
1388 *) . ./$cache_file;;
1392 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1393 echo "$as_me: creating cache $cache_file" >&6;}
1397 # Check that the precious variables saved in the cache have kept the same
1399 ac_cache_corrupted=false
1400 for ac_var in `(set) 2>&1 |
1401 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1402 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1403 eval ac_new_set=\$ac_env_${ac_var}_set
1404 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1405 eval ac_new_val="\$ac_env_${ac_var}_value"
1406 case $ac_old_set,$ac_new_set in
1408 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1409 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1410 ac_cache_corrupted=: ;;
1412 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1413 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1414 ac_cache_corrupted=: ;;
1417 if test "x$ac_old_val" != "x$ac_new_val"; then
1418 # differences in whitespace do not lead to failure.
1419 ac_old_val_w=`echo x $ac_old_val`
1420 ac_new_val_w=`echo x $ac_new_val`
1421 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1422 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1423 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1424 ac_cache_corrupted=:
1426 { echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1427 echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1428 eval $ac_var=\$ac_old_val
1430 { echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1431 echo "$as_me: former value: \`$ac_old_val'" >&2;}
1432 { echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1433 echo "$as_me: current value: \`$ac_new_val'" >&2;}
1436 # Pass precious variables to config.status.
1437 if test "$ac_new_set" = set; then
1439 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1440 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1441 *) ac_arg=$ac_var=$ac_new_val ;;
1443 case " $ac_configure_args " in
1444 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1445 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1449 if $ac_cache_corrupted; then
1450 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1451 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1452 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1453 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1454 { (exit 1); exit 1; }; }
1458 ac_cpp='$CPP $CPPFLAGS'
1459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1484 # if PWD already has a value, it is probably wrong.
1485 if test -n "$PWD" ; then PWD=`${PWDCMD-pwd}`; fi
1487 # Export original configure arguments for use by sub-configures.
1488 # Quote arguments with shell meta charatcers.
1489 TOPLEVEL_CONFIGURE_ARGUMENTS=
1490 set -- "$progname" "$@"
1494 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
1495 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
1496 # if the argument is of the form -foo=baz, quote the baz part only
1497 ac_arg=`echo "'$ac_arg'" | sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
1500 # Add the quoted argument to the list.
1501 TOPLEVEL_CONFIGURE_ARGUMENTS="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
1503 if test "$silent" = yes; then
1504 TOPLEVEL_CONFIGURE_ARGUMENTS="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
1506 # Remove the initial space we just introduced and, as these will be
1507 # expanded by make, quote '$'.
1508 TOPLEVEL_CONFIGURE_ARGUMENTS=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
1511 # Find the build, host, and target systems.
1513 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1514 if test -f $ac_dir/install-sh; then
1516 ac_install_sh="$ac_aux_dir/install-sh -c"
1518 elif test -f $ac_dir/install.sh; then
1520 ac_install_sh="$ac_aux_dir/install.sh -c"
1522 elif test -f $ac_dir/shtool; then
1524 ac_install_sh="$ac_aux_dir/shtool install -c"
1528 if test -z "$ac_aux_dir"; then
1529 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1530 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1531 { (exit 1); exit 1; }; }
1533 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1534 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1535 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1537 # Make sure we can run config.sub.
1538 $ac_config_sub sun4 >/dev/null 2>&1 ||
1539 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1540 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1541 { (exit 1); exit 1; }; }
1543 echo "$as_me:$LINENO: checking build system type" >&5
1544 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1545 if test "${ac_cv_build+set}" = set; then
1546 echo $ECHO_N "(cached) $ECHO_C" >&6
1548 ac_cv_build_alias=$build_alias
1549 test -z "$ac_cv_build_alias" &&
1550 ac_cv_build_alias=`$ac_config_guess`
1551 test -z "$ac_cv_build_alias" &&
1552 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1553 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1554 { (exit 1); exit 1; }; }
1555 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1556 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1557 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1558 { (exit 1); exit 1; }; }
1561 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1562 echo "${ECHO_T}$ac_cv_build" >&6
1564 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1565 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1566 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1569 case ${build_alias} in
1570 "") build_noncanonical=${build} ;;
1571 *) build_noncanonical=${build_alias} ;;
1576 case ${host_alias} in
1577 "") host_noncanonical=${build_noncanonical} ;;
1578 *) host_noncanonical=${host_alias} ;;
1583 case ${target_alias} in
1584 "") target_noncanonical=${host_noncanonical} ;;
1585 *) target_noncanonical=${target_alias} ;;
1591 test "$host_noncanonical" = "$target_noncanonical" &&
1592 test "$program_prefix$program_suffix$program_transform_name" = \
1594 program_transform_name=s,y,y,
1596 echo "$as_me:$LINENO: checking host system type" >&5
1597 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1598 if test "${ac_cv_host+set}" = set; then
1599 echo $ECHO_N "(cached) $ECHO_C" >&6
1601 ac_cv_host_alias=$host_alias
1602 test -z "$ac_cv_host_alias" &&
1603 ac_cv_host_alias=$ac_cv_build_alias
1604 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1605 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1606 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1607 { (exit 1); exit 1; }; }
1610 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1611 echo "${ECHO_T}$ac_cv_host" >&6
1613 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1614 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1615 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1618 echo "$as_me:$LINENO: checking target system type" >&5
1619 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1620 if test "${ac_cv_target+set}" = set; then
1621 echo $ECHO_N "(cached) $ECHO_C" >&6
1623 ac_cv_target_alias=$target_alias
1624 test "x$ac_cv_target_alias" = "x" &&
1625 ac_cv_target_alias=$ac_cv_host_alias
1626 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1627 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1628 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1629 { (exit 1); exit 1; }; }
1632 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1633 echo "${ECHO_T}$ac_cv_target" >&6
1634 target=$ac_cv_target
1635 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1636 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1637 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1640 # The aliases save the names the user supplied, while $host etc.
1641 # will get canonicalized.
1642 test -n "$target_alias" &&
1643 test "$program_prefix$program_suffix$program_transform_name" = \
1645 program_prefix=${target_alias}-
1646 test "$program_prefix" != NONE &&
1647 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1648 # Use a double $ so make ignores it.
1649 test "$program_suffix" != NONE &&
1650 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1651 # Double any \ or $. echo might interpret backslashes.
1652 # By default was `s,x,x', remove it if useless.
1653 cat <<\_ACEOF >conftest.sed
1654 s/[\\$]/&&/g;s/;s,x,x,$//
1656 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1661 # Get 'install' or 'install-sh' and its variants.
1662 # Find a good install program. We prefer a C program (faster),
1663 # so one script is as good as another. But avoid the broken or
1664 # incompatible versions:
1665 # SysV /etc/install, /usr/sbin/install
1666 # SunOS /usr/etc/install
1667 # IRIX /sbin/install
1669 # AmigaOS /C/install, which installs bootblocks on floppy discs
1670 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1671 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1672 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1673 # OS/2's system install, which has a completely different semantic
1674 # ./install, which can be erroneously created by make from ./install.sh.
1675 # Reject install programs that cannot install multiple files.
1676 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1677 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1678 if test -z "$INSTALL"; then
1679 if test "${ac_cv_path_install+set}" = set; then
1680 echo $ECHO_N "(cached) $ECHO_C" >&6
1682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1686 test -z "$as_dir" && as_dir=.
1687 # Account for people who put trailing slashes in PATH elements.
1689 ./ | .// | /cC/* | \
1690 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1691 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1694 # OSF1 and SCO ODT 3.0 have their own names for install.
1695 # Don't use installbsd from OSF since it installs stuff as root
1697 for ac_prog in ginstall scoinst install; do
1698 for ac_exec_ext in '' $ac_executable_extensions; do
1699 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1700 if test $ac_prog = install &&
1701 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1702 # AIX install. It has an incompatible calling convention.
1704 elif test $ac_prog = install &&
1705 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1706 # program-specific install script used by HP pwplus--don't use.
1709 rm -rf conftest.one conftest.two conftest.dir
1710 echo one > conftest.one
1711 echo two > conftest.two
1713 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1714 test -s conftest.one && test -s conftest.two &&
1715 test -s conftest.dir/conftest.one &&
1716 test -s conftest.dir/conftest.two
1718 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1729 rm -rf conftest.one conftest.two conftest.dir
1732 if test "${ac_cv_path_install+set}" = set; then
1733 INSTALL=$ac_cv_path_install
1735 # As a last resort, use the slow shell script. Don't cache a
1736 # value for INSTALL within a source directory, because that will
1737 # break other packages using the cache if that directory is
1738 # removed, or if the value is a relative name.
1739 INSTALL=$ac_install_sh
1742 echo "$as_me:$LINENO: result: $INSTALL" >&5
1743 echo "${ECHO_T}$INSTALL" >&6
1745 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1746 # It thinks the first close brace ends the variable substitution.
1747 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1749 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1751 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1753 echo "$as_me:$LINENO: checking whether ln works" >&5
1754 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6
1755 if test "${acx_cv_prog_LN+set}" = set; then
1756 echo $ECHO_N "(cached) $ECHO_C" >&6
1758 rm -f conftestdata_t
1759 echo >conftestdata_f
1760 if ln conftestdata_f conftestdata_t 2>/dev/null
1766 rm -f conftestdata_f conftestdata_t
1769 if test $acx_cv_prog_LN = no; then
1771 echo "$as_me:$LINENO: result: no, using $LN" >&5
1772 echo "${ECHO_T}no, using $LN" >&6
1774 LN="$acx_cv_prog_LN"
1775 echo "$as_me:$LINENO: result: yes" >&5
1776 echo "${ECHO_T}yes" >&6
1779 echo "$as_me:$LINENO: checking whether ln -s works" >&5
1780 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
1782 if test "$LN_S" = "ln -s"; then
1783 echo "$as_me:$LINENO: result: yes" >&5
1784 echo "${ECHO_T}yes" >&6
1786 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
1787 echo "${ECHO_T}no, using $LN_S" >&6
1791 ### we might need to use some other shell than /bin/sh for running subshells
1792 ### If we are on Windows, search for the shell. This will permit people
1793 ### to not have /bin/sh, but to be able to see /SOME/PATH/sh configure
1794 ### without also having to set CONFIG_SHELL. This code will work when
1795 ### using bash, which sets OSTYPE.
1798 if test x${CONFIG_SHELL} = x ; then
1799 if test ! -f /bin/sh ; then
1800 if test x${SHELL} != x && test -f ${SHELL} ; then
1801 CONFIG_SHELL=${SHELL}
1804 for prog in sh sh.exe bash bash.exe; do
1805 IFS="${IFS= }"; save_ifs="$IFS"; IFS="${IFS}:"
1806 for dir in $PATH; do
1807 test -z "$dir" && dir=.
1808 if test -f $dir/$prog; then
1809 CONFIG_SHELL=$dir/$prog
1815 test -n "${CONFIG_SHELL}" && break
1823 config_shell=${CONFIG_SHELL-/bin/sh}
1825 moveifchange=${srcdir}/move-if-change
1827 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
1829 # We pass INSTALL explicitly to sub-makes. Make sure that it is not
1831 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
1832 INSTALL="${srcpwd}/install-sh -c"
1835 # Set srcdir to "." if that's what it is.
1836 # This is important for multilib support.
1838 if test "${pwd}" = "${srcpwd}" ; then
1846 ### To add a new directory to the tree, first choose whether it is a target
1847 ### or a host dependent tool. Then put it into the appropriate list
1848 ### (library or tools, host or target), doing a dependency sort.
1850 # Subdirs will be configured in the order listed in build_configdirs,
1851 # configdirs, or target_configdirs; see the serialization section below.
1853 # Dependency sorting is only needed when *configuration* must be done in
1854 # a particular order. In all cases a dependency should be specified in
1855 # the Makefile, whether or not it's implicitly specified here.
1857 # Double entries in build_configdirs, configdirs, or target_configdirs may
1858 # cause circular dependencies and break everything horribly.
1860 # these library is used by various programs built for the build
1863 build_libs="build-libiberty"
1865 # these tools are built for the build environment
1866 build_tools="build-texinfo build-byacc build-flex build-bison build-m4 build-fixincludes"
1868 # these libraries are used by various programs built for the host environment
1870 host_libs="intl mmalloc libiberty opcodes bfd readline tcl tk itcl libgui zlib libcpp libdecnumber gmp mpfr"
1872 # these tools are built for the host environment
1873 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
1874 # know that we are building the simulator.
1875 # binutils, gas and ld appear in that order because it makes sense to run
1876 # "make check" in that particular order.
1877 # If --enable-gold is used, "gold" will replace "ld".
1878 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"
1880 # libgcj represents the runtime libraries only used by gcj.
1881 libgcj="target-libffi \
1886 # these libraries are built for the target environment, and are built after
1887 # the host libraries and the host tools (which may be a cross compiler)
1889 target_libraries="target-libgcc \
1894 target-libstdc++-v3 \
1897 target-libgfortran \
1903 # these tools are built using the target libraries, and are intended to
1904 # run only in the target environment
1906 # note: any program that *uses* libraries that are in the "target_libraries"
1907 # list belongs in this list. those programs are also very likely
1908 # candidates for the "native_only" list which follows
1910 target_tools="target-examples target-groff target-gperf target-rda"
1912 ################################################################################
1914 ## All tools belong in one of the four categories, and are assigned above
1915 ## We assign ${configdirs} this way to remove all embedded newlines. This
1916 ## is important because configure will choke if they ever get through.
1917 ## ${configdirs} is directories we build using the host tools.
1918 ## ${target_configdirs} is directories we build using the target tools.
1919 configdirs=`echo ${host_libs} ${host_tools}`
1920 target_configdirs=`echo ${target_libraries} ${target_tools}`
1921 build_configdirs=`echo ${build_libs} ${build_tools}`
1925 ################################################################################
1927 srcname="gnu development package"
1929 # This gets set non-empty for some net releases of packages.
1932 # Define is_cross_compiler to save on calls to 'test'.
1934 if test x"${host}" = x"${target}" ; then
1935 is_cross_compiler=no
1937 is_cross_compiler=yes
1940 # Find the build and target subdir names.
1942 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
1943 # have matching libraries, they should use host libraries: Makefile.tpl
1944 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
1945 # However, they still use the build modules, because the corresponding
1946 # host modules (e.g. bison) are only built for the host when bootstrap
1948 # - build_subdir is where we find build modules, and never changes.
1949 # - build_libsubdir is where we find build libraries, and can be overridden.
1951 # Prefix 'build-' so this never conflicts with target_subdir.
1952 build_subdir="build-${build_noncanonical}"
1954 # Check whether --with-build-libsubdir or --without-build-libsubdir was given.
1955 if test "${with_build_libsubdir+set}" = set; then
1956 withval="$with_build_libsubdir"
1957 build_libsubdir="$withval"
1959 build_libsubdir="$build_subdir"
1961 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
1962 if ( test $srcdir = . && test -d gcc ) \
1963 || test -d $srcdir/../host-${host_noncanonical}; then
1964 host_subdir="host-${host_noncanonical}"
1969 target_subdir=${target_noncanonical}
1972 # Skipdirs are removed silently.
1974 # Noconfigdirs are removed loudly.
1978 # Make sure we don't let GNU ld be added if we didn't want it.
1979 if test x$with_gnu_ld = xno ; then
1981 noconfigdirs="$noconfigdirs ld gold"
1985 # Make sure we don't let GNU as be added if we didn't want it.
1986 if test x$with_gnu_as = xno ; then
1988 noconfigdirs="$noconfigdirs gas"
1991 # some tools are so dependent upon X11 that if we're not building with X,
1992 # it's not even worth trying to configure, much less build, that tool.
1995 yes | "") ;; # the default value for this tree is that X11 is available
1997 skipdirs="${skipdirs} tk itcl libgui"
1998 # We won't be able to build gdbtk without X.
2001 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
2004 # Some tools are only suitable for building in a "native" situation.
2005 # Remove these if host!=target.
2006 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"
2008 # Similarly, some are only suitable for cross toolchains.
2009 # Remove these if host=target.
2010 cross_only="target-libgloss target-newlib target-opcodes"
2012 case $is_cross_compiler in
2013 no) skipdirs="${skipdirs} ${cross_only}" ;;
2014 yes) skipdirs="${skipdirs} ${native_only}" ;;
2017 # If both --with-headers and --with-libs are specified, default to
2019 if test x"${with_headers}" != x && test x"${with_headers}" != xno \
2020 && test x"${with_libs}" != x && test x"${with_libs}" != xno ; then
2021 if test x"${with_newlib}" = x ; then
2026 # Recognize --with-newlib/--without-newlib.
2027 case ${with_newlib} in
2028 no) skipdirs="${skipdirs} target-newlib" ;;
2029 yes) skipdirs=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
2032 # Handle --enable-gold.
2034 # Check whether --enable-gold or --disable-gold was given.
2035 if test "${enable_gold+set}" = set; then
2036 enableval="$enable_gold"
2037 ENABLE_GOLD=$enableval
2041 if test "${ENABLE_GOLD}" = "yes"; then
2042 # Check for ELF target.
2045 *-*-elf* | *-*-sysv4* | *-*-unixware* | *-*-eabi* | hppa*64*-*-hpux* \
2046 | *-*-linux* | frv-*-uclinux* | *-*-irix5* | *-*-irix6* \
2047 | *-*-netbsd* | *-*-openbsd* | *-*-freebsd* | *-*-solaris2*)
2049 *-*-linux*aout* | *-*-linux*oldld*)
2057 if test "$is_elf" = "yes"; then
2058 # Check for target supported by gold.
2060 i?86-*-* | x86_64-*-* | sparc*-*-* | powerpc*-*-*)
2061 configdirs="`echo " ${configdirs} " | sed -e 's/ ld / gold /'`"
2067 # Configure extra directories which are host specific
2071 configdirs="$configdirs libtermcap" ;;
2074 # A target can indicate whether a language isn't supported for some reason.
2075 # Only spaces may be used in this macro; not newlines or tabs.
2076 unsupported_languages=
2078 # Remove more programs from consideration, based on the host or
2079 # target this usually means that a port of the program doesn't
2084 noconfigdirs="$noconfigdirs byacc"
2086 i[3456789]86-*-vsta)
2087 noconfigdirs="$noconfigdirs tcl expect dejagnu make texinfo bison patch flex byacc send-pr gprof uudecode dejagnu diff guile perl itcl gnuserv gettext"
2089 i[3456789]86-*-go32* | i[3456789]86-*-msdosdjgpp*)
2090 noconfigdirs="$noconfigdirs tcl tk expect dejagnu send-pr uudecode guile itcl gnuserv libffi"
2093 noconfigdirs="$noconfigdirs expect dejagnu autoconf automake send-pr rcs guile perl texinfo libtool newlib"
2095 i[3456789]86-*-mingw32*)
2096 # noconfigdirs="tcl tk expect dejagnu make texinfo bison patch flex byacc send-pr uudecode dejagnu diff guile perl itcl gnuserv"
2097 noconfigdirs="$noconfigdirs expect dejagnu autoconf automake send-pr rcs guile perl texinfo libtool newlib"
2099 i[3456789]86-*-beos*)
2100 noconfigdirs="$noconfigdirs tk itcl libgui gdb"
2103 noconfigdirs="$noconfigdirs autoconf automake send-pr rcs guile perl"
2106 noconfigdirs="$noconfigdirs rcs"
2109 noconfigdirs="$noconfigdirs patch diff make tk tcl expect dejagnu autoconf automake texinfo bison send-pr gprof rcs guile perl itcl gnuserv"
2112 noconfigdirs="$noconfigdirs tk itcl libgui gdb dejagnu readline"
2117 # Check whether --enable-libada or --disable-libada was given.
2118 if test "${enable_libada+set}" = set; then
2119 enableval="$enable_libada"
2120 ENABLE_LIBADA=$enableval
2124 if test "${ENABLE_LIBADA}" != "yes" ; then
2125 noconfigdirs="$noconfigdirs gnattools"
2128 # Check whether --enable-libssp or --disable-libssp was given.
2129 if test "${enable_libssp+set}" = set; then
2130 enableval="$enable_libssp"
2131 ENABLE_LIBSSP=$enableval
2136 # Save it here so that, even in case of --enable-libgcj, if the Java
2137 # front-end isn't enabled, we still get libgcj disabled.
2138 libgcj_saved=$libgcj
2139 case $enable_libgcj in
2141 # If we reset it here, it won't get added to noconfigdirs in the
2142 # target-specific build rules, so it will be forcibly enabled
2143 # (unless the Java language itself isn't enabled).
2147 # Make sure we get it printed in the list of not supported target libs.
2148 noconfigdirs="$noconfigdirs ${libgcj}"
2153 # Disable libmudflap on some systems.
2154 if test x$enable_libmudflap = x ; then
2156 *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu | bfin*-*-uclinux*)
2157 # Enable libmudflap by default in GNU and friends.
2160 # Enable libmudflap by default in FreeBSD.
2163 # Disable it by default everywhere else.
2164 noconfigdirs="$noconfigdirs target-libmudflap"
2169 # Disable libgomp on non POSIX hosted systems.
2170 if test x$enable_libgomp = x ; then
2171 # Enable libgomp by default on hosted POSIX systems.
2173 *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu)
2175 *-*-netbsd* | *-*-freebsd* | *-*-openbsd*)
2177 *-*-solaris2* | *-*-sysv4* | *-*-irix6* | *-*-osf* | *-*-hpux11*)
2179 *-*-darwin* | *-*-aix*)
2182 noconfigdirs="$noconfigdirs target-libgomp"
2187 # Default libgloss CPU subdirectory.
2188 libgloss_dir="$target_cpu"
2192 noconfigdirs="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2194 powerpc-*-darwin* | i[3456789]86-*-darwin* | x86_64-*-darwin9*)
2195 noconfigdirs="$noconfigdirs bfd binutils ld gas opcodes gdb gprof"
2196 noconfigdirs="$noconfigdirs sim target-rda"
2199 noconfigdirs="$noconfigdirs ld gas gdb gprof"
2200 noconfigdirs="$noconfigdirs sim target-rda"
2201 noconfigdirs="$noconfigdirs ${libgcj}"
2203 *-*-freebsd[12] | *-*-freebsd[12].* | *-*-freebsd*aout*)
2204 noconfigdirs="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2207 noconfigdirs="$noconfigdirs target-newlib target-libgloss"
2208 if test "x$with_gmp" = x && test "x$with_gmp_dir" = x \
2209 && test -f /usr/local/include/gmp.h; then
2213 # Skip some stuff that's unsupported on some FreeBSD configurations.
2218 noconfigdirs="$noconfigdirs ${libgcj}"
2223 # Remove unsupported stuff on all kaOS configurations.
2224 skipdirs="target-libiberty ${libgcj} target-libstdc++-v3 target-librx"
2225 skipdirs="$skipdirs target-libobjc target-examples target-groff target-gperf"
2226 skipdirs="$skipdirs zlib fastjar target-libjava target-boehm-gc target-zlib"
2227 noconfigdirs="$noconfigdirs target-libgloss"
2230 # Skip some stuff on all NetBSD configurations.
2231 noconfigdirs="$noconfigdirs target-newlib target-libiberty target-libgloss"
2233 # Skip some stuff that's unsupported on some NetBSD configurations.
2235 i*86-*-netbsdelf*) ;;
2236 arm*-*-netbsdelf*) ;;
2238 noconfigdirs="$noconfigdirs ${libgcj}"
2243 noconfigdirs="$noconfigdirs target-newlib target-libiberty target-libgloss ${libgcj} target-libmudflap"
2246 noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
2248 # The tpf target doesn't support gdb yet.
2250 noconfigdirs="$noconfigdirs target-newlib target-libgloss target-libiberty ${libgcj} target-libmudflap gdb tcl tk libgui itcl"
2253 noconfigdirs="$noconfigdirs target-newlib target-libgloss target-rda ${libgcj}"
2256 noconfigdirs="$noconfigdirs target-newlib target-libgloss target-libiberty target-libstdc++-v3 ${libgcj}"
2259 # ld works, but does not support shared libraries.
2260 # newlib is not 64 bit ready. I'm not sure about fileutils.
2261 # gas doesn't generate exception information.
2262 noconfigdirs="$noconfigdirs gas ld fileutils target-newlib target-libgloss"
2265 noconfigdirs="$noconfigdirs gdb ld target-newlib target-libgloss ${libgcj}"
2268 # newlib is not 64 bit ready
2269 noconfigdirs="$noconfigdirs target-newlib target-libgloss"
2272 # newlib is not 64 bit ready
2273 noconfigdirs="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2276 noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
2279 noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
2281 sh*-*-pe|mips*-*-pe|*arm-wince-pe)
2282 noconfigdirs="$noconfigdirs ${libgcj}"
2283 noconfigdirs="$noconfigdirs target-examples"
2284 noconfigdirs="$noconfigdirs target-libiberty texinfo send-pr"
2285 noconfigdirs="$noconfigdirs tcl tk itcl libgui sim"
2286 noconfigdirs="$noconfigdirs expect dejagnu"
2287 # the C++ libraries don't build on top of CE's C libraries
2288 noconfigdirs="$noconfigdirs target-libstdc++-v3"
2289 noconfigdirs="$noconfigdirs target-newlib"
2291 *-*-cygwin*) ;; # keep gdb and readline
2292 *) noconfigdirs="$noconfigdirs gdb readline"
2298 noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
2302 arm-*-coff | strongarm-*-coff | xscale-*-coff)
2303 noconfigdirs="$noconfigdirs ${libgcj}"
2306 arm-*-elf* | strongarm-*-elf* | xscale-*-elf* | arm*-*-eabi* )
2307 noconfigdirs="$noconfigdirs target-libffi target-qthreads"
2310 arm*-*-linux-gnueabi)
2311 noconfigdirs="$noconfigdirs target-qthreads"
2312 case ${with_newlib} in
2313 no) noconfigdirs="$noconfigdirs target-newlib target-libgloss"
2318 noconfigdirs="$noconfigdirs ${libgcj} target-libiberty"
2322 noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
2325 noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
2328 noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
2331 noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
2334 noconfigdirs="$noconfigdirs ld target-libgloss ${libgcj}"
2337 noconfigdirs="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj} target-libssp"
2340 noconfigdirs="$noconfigdirs gdb"
2341 if test x${is_cross_compiler} != xno ; then
2342 target_configdirs="${target_configdirs} target-bsp target-cygmon"
2345 c4x-*-* | tic4x-*-*)
2346 noconfigdirs="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
2348 c54x*-*-* | tic54x-*-*)
2349 noconfigdirs="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj} gcc gdb newlib"
2352 noconfigdirs="$noconfigdirs ${libgcj} gdb"
2354 cris-*-* | crisv32-*-*)
2355 unsupported_languages="$unsupported_languages java"
2358 unsupported_languages="$unsupported_languages fortran"
2359 noconfigdirs="$noconfigdirs target-libffi target-boehm-gc";;
2361 noconfigdirs="$noconfigdirs target-boehm-gc";;
2363 noconfigdirs="$noconfigdirs target-newlib target-libgloss";;
2365 unsupported_languages="$unsupported_languages fortran"
2366 noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss";;
2371 noconfigdirs="$noconfigdirs target-libstdc++-v3 target-mudflap ${libgcj}"
2374 noconfigdirs="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
2377 noconfigdirs="$noconfigdirs ${libgcj} gdb"
2379 ep9312-*-elf | ep9312-*-coff)
2383 noconfigdirs="$noconfigdirs ${libgcj} gdb"
2386 noconfigdirs="$noconfigdirs ${libgcj}"
2389 noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
2392 noconfigdirs="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
2394 hppa1.1-*-osf* | hppa1.1-*-bsd* )
2396 hppa*64*-*-linux* | parisc*64*-*-linux*)
2397 # In this case, it's because the hppa64-linux target is for
2398 # the kernel only at this point and has no libc, and thus no
2399 # headers, crt*.o, etc., all of which are needed by these.
2400 noconfigdirs="$noconfigdirs target-zlib"
2402 parisc*-*-linux* | hppa*-*-linux*)
2406 hppa*-*-openbsd* | \
2408 noconfigdirs="$noconfigdirs ${libgcj}"
2411 noconfigdirs="$noconfigdirs ld shellutils"
2417 # According to Alexandre Oliva <aoliva@redhat.com>, libjava won't
2418 # build on HP-UX 10.20.
2419 noconfigdirs="$noconfigdirs ld shellutils ${libgcj}"
2422 noconfigdirs="$noconfigdirs ${libgcj} gdb"
2425 # No gdb support yet.
2426 noconfigdirs="$noconfigdirs readline mmalloc libgui itcl gdb"
2429 # No gdb or ld support yet.
2430 noconfigdirs="$noconfigdirs ${libgcj} readline mmalloc libgui itcl gdb ld"
2434 i[3456789]86-*-coff | i[3456789]86-*-elf)
2435 noconfigdirs="$noconfigdirs ${libgcj}"
2438 i[3456789]86-*-linux*)
2439 # The GCC port for glibc1 has no MD_FALLBACK_FRAME_STATE_FOR, so let's
2440 # not build java stuff by default.
2443 noconfigdirs="$noconfigdirs ${libgcj}";;
2446 # This section makes it possible to build newlib natively on linux.
2447 # If we are using a cross compiler then don't configure newlib.
2448 if test x${is_cross_compiler} != xno ; then
2449 noconfigdirs="$noconfigdirs target-newlib"
2451 noconfigdirs="$noconfigdirs target-libgloss"
2452 # If we are not using a cross compiler, do configure newlib.
2453 # Note however, that newlib will only be configured in this situation
2454 # if the --with-newlib option has been given, because otherwise
2455 # 'target-newlib' will appear in skipdirs.
2457 i[3456789]86-*-mingw32*)
2458 target_configdirs="$target_configdirs target-winsup"
2459 noconfigdirs="$noconfigdirs expect target-libgloss target-newlib ${libgcj}"
2462 target_configdirs="$target_configdirs target-winsup"
2463 noconfigdirs="$noconfigdirs expect target-libgloss target-newlib ${libgcj}"
2466 target_configdirs="$target_configdirs target-libtermcap target-winsup"
2467 noconfigdirs="$noconfigdirs target-gperf target-libgloss ${libgcj}"
2468 # always build newlib if winsup directory is present.
2469 if test -d "$srcdir/winsup/cygwin"; then
2470 skipdirs=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
2471 elif test -d "$srcdir/newlib"; then
2472 echo "Warning: winsup/cygwin is missing so newlib can't be built."
2475 i[3456789]86-moss-msdos | i[3456789]86-*-moss* | \
2476 i[3456789]86-*-uwin* | i[3456789]86-*-interix* )
2479 noconfigdirs="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
2481 i[3456789]86-*-sco3.2v5*)
2482 # The linker does not yet know about weak symbols in COFF,
2483 # and is not configured to handle mixed ELF and COFF.
2484 noconfigdirs="$noconfigdirs ld target-libgloss ${libgcj}"
2486 i[3456789]86-*-sco*)
2487 noconfigdirs="$noconfigdirs gprof target-libgloss ${libgcj}"
2489 i[3456789]86-*-solaris2*)
2490 noconfigdirs="$noconfigdirs target-libgloss"
2492 i[3456789]86-*-sysv4*)
2493 noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
2495 i[3456789]86-*-beos*)
2496 noconfigdirs="$noconfigdirs gdb target-newlib target-libgloss ${libgcj}"
2498 i[3456789]86-*-rdos*)
2499 noconfigdirs="$noconfigdirs gdb target-newlib target-libgloss"
2502 noconfigdirs="$noconfigdirs ${libgcj}"
2504 m68hc11-*-*|m6811-*-*|m68hc12-*-*|m6812-*-*)
2505 noconfigdirs="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
2506 libgloss_dir=m68hc11
2509 noconfigdirs="$noconfigdirs ${libgcj}"
2512 noconfigdirs="$noconfigdirs ${libgcj}"
2514 m68*-*-* | fido-*-*)
2518 # The EPOC C++ environment does not support exceptions or rtti,
2519 # and so building libstdc++-v3 tends not to always work.
2520 noconfigdirs="$noconfigdirs target-libstdc++-v3"
2523 noconfigdirs="$noconfigdirs target-libffi target-boehm-gc gdb libgloss"
2524 unsupported_languages="$unsupported_languages fortran java"
2527 noconfigdirs="$noconfigdirs ${libgcj}"
2530 noconfigdirs="$noconfigdirs ${libgcj}"
2533 noconfigdirs="$noconfigdirs sim"
2536 # copied from rs6000-*-* entry
2537 noconfigdirs="$noconfigdirs gprof target-libgloss target-libssp ${libgcj}"
2539 powerpc*-*-winnt* | powerpc*-*-pe* | ppc*-*-pe)
2540 target_configdirs="$target_configdirs target-winsup"
2541 noconfigdirs="$noconfigdirs gdb tcl tk make expect target-libgloss itcl gnuserv ${libgcj}"
2542 # always build newlib.
2543 skipdirs=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
2545 # This is temporary until we can link against shared libraries
2546 powerpcle-*-solaris*)
2547 noconfigdirs="$noconfigdirs gdb sim make tcl tk expect itcl gnuserv ${libgcj}"
2551 noconfigdirs="$noconfigdirs gdb target-newlib target-libgloss ${libgcj}"
2554 noconfigdirs="$noconfigdirs ${libgcj}"
2557 powerpc-*-eabi* | powerpcle-*-eabi* | powerpc-*-rtems* )
2561 noconfigdirs="$noconfigdirs target-newlib gprof ${libgcj}"
2564 noconfigdirs="$noconfigdirs gprof target-libgloss target-libssp ${libgcj}"
2567 noconfigdirs="$noconfigdirs gprof ${libgcj}"
2570 noconfigdirs="$noconfigdirs ld binutils gprof target-libgloss ${libgcj}"
2573 skipdirs="$skipdirs target-libiberty"
2574 noconfigdirs="$noconfigdirs ${libgcj}"
2575 if test x$with_newlib = xyes; then
2576 noconfigdirs="$noconfigdirs gprof"
2581 noconfigdirs="$noconfigdirs gprof target-libgloss ${libgcj}"
2584 # Linking libjava exceeds command-line length limits on at least
2585 # IRIX 6.2, but not on IRIX 6.5.
2586 # Also, boehm-gc won't build on IRIX 6.5, according to Jeffrey Oldham
2587 # <oldham@codesourcery.com>
2588 noconfigdirs="$noconfigdirs gprof target-libgloss ${libgcj}"
2591 noconfigdirs="$noconfigdirs gprof target-libgloss ${libgcj}"
2594 noconfigdirs="$noconfigdirs target-newlib target-libgloss"
2597 noconfigdirs="$noconfigdirs gprof ${libgcj}"
2601 noconfigdirs="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}"
2605 i[3456789]86-*-vsta) ;; # don't add gprof back in
2606 i[3456789]86-*-go32*) ;; # don't add gprof back in
2607 i[3456789]86-*-msdosdjgpp*) ;; # don't add gprof back in
2608 *) skipdirs=`echo " ${skipdirs} " | sed -e 's/ gprof / /'` ;;
2610 noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
2612 sparclet-*-aout* | sparc86x-*-*)
2616 noconfigdirs="$noconfigdirs ${libgcj}"
2619 noconfigdirs="$noconfigdirs ${libgcj}"
2623 noconfigdirs="$noconfigdirs ${libgcj}"
2627 noconfigdirs="$noconfigdirs ${libgcj}"
2628 if test x${is_cross_compiler} != xno ; then
2629 noconfigdirs="$noconfigdirs gdb target-newlib target-libgloss"
2634 sparc-*-solaris2.[0-6] | sparc-*-solaris2.[0-6].*)
2635 noconfigdirs="$noconfigdirs ${libgcj}"
2637 sparc-*-solaris* | sparc64-*-solaris* | sparcv9-*-solaris*)
2640 skipdirs="target-libssp"
2643 noconfigdirs="$noconfigdirs bfd binutils gas gcc gdb ld target-libstdc++-v3 opcodes target-libgloss ${libgcj}"
2646 noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
2649 noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
2652 noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
2655 noconfigdirs="$noconfigdirs bfd binutils gdb ld target-newlib opcodes target-libgloss ${libgcj}"
2658 noconfigdirs="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2661 noconfigdirs="$noconfigdirs ${libgcj}"
2664 noconfigdirs="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
2666 *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu)
2667 noconfigdirs="$noconfigdirs target-newlib target-libgloss"
2670 noconfigdirs="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2673 noconfigdirs="$noconfigdirs ${libgcj}"
2677 # If we aren't building newlib, then don't build libgloss, since libgloss
2678 # depends upon some newlib header files.
2679 case "${noconfigdirs}" in
2680 *target-libgloss*) ;;
2681 *target-newlib*) noconfigdirs="$noconfigdirs target-libgloss" ;;
2684 # Work in distributions that contain no compiler tools, like Autoconf.
2686 host_makefile_frag=/dev/null
2687 if test -d ${srcdir}/config ; then
2690 # Avoid "too much defining" errors from HPUX compiler.
2691 tentative_cc="cc -Wp,-H256000"
2692 # If "ar" in $PATH is GNU ar, the symbol table may need rebuilding.
2693 # If it's HP/UX ar, this should be harmless.
2697 tentative_cc="cc -A ansi -A runtype,any -A systype,any -U__STDC__ -DUSG"
2700 #None of the Apollo compilers can compile gas or binutils. The preprocessor
2701 # chokes on bfd, the compiler won't let you assign integers to enums, and
2702 # other problems. Defining CC to gcc is a questionable way to say "don't use
2703 # the apollo compiler" (the preferred version of GCC could be called cc,
2704 # or whatever), but I'm not sure leaving CC as cc is any better...
2705 #CC=cc -A ansi -A runtype,any -A systype,any -U__STDC__ -DNO_STDARG
2706 # Used to have BISON=yacc.
2710 tentative_cc="gcc -Wall -ansi -D__using_DGUX"
2713 # Under CX/UX, we want to tell the compiler to use ANSI mode.
2714 tentative_cc="cc -Xa"
2715 host_makefile_frag="config/mh-cxux"
2717 m88k-motorola-sysv*)
2720 tentative_cc="cc -Wf,-XNg1000"
2721 host_makefile_frag="config/mh-decstation"
2724 # The C compiler on NEC MIPS SVR4 needs bigger tables.
2725 tentative_cc="cc -ZXNd=5000 -ZXNg=1000"
2726 host_makefile_frag="config/mh-necv4"
2729 # Tell compiler to use K&R C. We can't compile under the SGI Ansi
2730 # environment. Also bump switch table size so that cp-parse will
2731 # compile. Bump string length limit so linker builds.
2732 tentative_cc="cc -cckr -Wf,-XNg1500 -Wf,-XNk1000 -Wf,-XNh2000 -Wf,-XNl8192"
2735 host_makefile_frag="config/mh-sysv4"
2738 # This is for a MIPS running RISC/os 4.52C.
2740 # This is needed for GDB, but needs to be in the top-level make because
2741 # if a library is compiled with the bsd headers and gets linked with the
2742 # sysv system libraries all hell can break loose (e.g. a jmp_buf might be
2743 # a different size).
2744 # ptrace(2) apparently has problems in the BSD environment. No workaround is
2745 # known except to select the sysv environment. Could we use /proc instead?
2746 # These "sysv environments" and "bsd environments" often end up being a pain.
2748 # This is not part of CFLAGS because perhaps not all C compilers have this
2750 tentative_cc="cc -systype sysv"
2755 i[3456789]86-*-sysv5*)
2756 host_makefile_frag="config/mh-sysv5"
2758 i[3456789]86-*-dgux*)
2759 tentative_cc="gcc -Wall -ansi -D__using_DGUX"
2760 host_makefile_frag="config/mh-dgux386"
2762 i[3456789]86-ncr-sysv4.3*)
2763 # The MetaWare compiler will generate a copyright message unless you
2764 # turn it off by adding the -Hnocopyr flag.
2765 tentative_cc="cc -Hnocopyr"
2767 i[3456789]86-ncr-sysv4*)
2768 # for an NCR 3000 (i486/SVR4) system.
2769 # The NCR 3000 ships with a MetaWare compiler installed as /bin/cc.
2770 # This compiler not only emits obnoxious copyright messages every time
2771 # you run it, but it chokes and dies on a whole bunch of GNU source
2772 # files. Default to using the AT&T compiler installed in /usr/ccs/ATT/cc.
2773 tentative_cc="/usr/ccs/ATT/cc"
2774 host_makefile_frag="config/mh-ncr3000"
2776 i[3456789]86-*-sco3.2v5*)
2778 i[3456789]86-*-sco*)
2779 # The native C compiler botches some simple uses of const. Unfortunately,
2780 # it doesn't defined anything like "__sco__" for us to test for in ansidecl.h.
2781 tentative_cc="cc -Dconst="
2782 host_makefile_frag="config/mh-sco"
2784 i[3456789]86-*-udk*)
2785 host_makefile_frag="config/mh-sysv5"
2787 i[3456789]86-*-solaris2*)
2788 host_makefile_frag="config/mh-sysv4"
2790 i[3456789]86-*-msdosdjgpp*)
2791 host_makefile_frag="config/mh-djgpp"
2795 echo "$as_me:$LINENO: checking to see if cat works as expected" >&5
2796 echo $ECHO_N "checking to see if cat works as expected... $ECHO_C" >&6
2797 echo a >cygwin-cat-check
2798 if test `cat cygwin-cat-check` == a ; then
2800 echo "$as_me:$LINENO: result: yes" >&5
2801 echo "${ECHO_T}yes" >&6
2804 echo "$as_me:$LINENO: result: no" >&5
2805 echo "${ECHO_T}no" >&6
2806 { { echo "$as_me:$LINENO: error: The cat command does not ignore carriage return characters.
2807 Please either mount the build directory in binary mode or run the following
2808 commands before running any configure script:
2812 echo "$as_me: error: The cat command does not ignore carriage return characters.
2813 Please either mount the build directory in binary mode or run the following
2814 commands before running any configure script:
2818 { (exit 1); exit 1; }; }
2821 host_makefile_frag="config/mh-cygwin"
2824 host_makefile_frag="config/mh-mingw"
2827 host_makefile_frag="config/mh-interix"
2830 # The old BSD pcc isn't up to compiling parts of gdb so use gcc
2834 host_makefile_frag="config/mh-solaris"
2837 # Sun's C compiler needs the -J flag to be able to compile cp-parse.c
2838 # without overflowing the jump tables (-J says to use a 32 bit table)
2839 tentative_cc="cc -J"
2842 tentative_cc="cc -Wp,-H256000"
2845 tentative_cc="cc -Wp,-H256000"
2848 # /bin/cc is less than useful for our purposes. Always use GCC
2849 tentative_cc="/usr/cygnus/progressive/bin/gcc"
2850 host_makefile_frag="config/mh-lynxrs6k"
2853 host_makefile_frag="config/mh-ppc-darwin"
2856 host_makefile_frag="config/mh-ppc-aix"
2859 host_makefile_frag="config/mh-ppc-aix"
2862 # /bin/cc is less than useful for our purposes. Always use GCC
2863 tentative_cc="/bin/gcc"
2866 host_makefile_frag="config/mh-sysv4"
2868 # This is placed last to prevent interfering with the cases above.
2870 # Build the stage2 and stage3 compilers with -fomit-frame-pointer.
2871 host_makefile_frag="config/mh-x86omitfp"
2876 # If we aren't going to be using gcc, see if we can extract a definition
2877 # of CC from the fragment.
2878 # Actually, use the 'pre-extracted' version above.
2879 if test -z "${CC}" && test "${build}" = "${host}" ; then
2880 IFS="${IFS= }"; save_ifs="$IFS"; IFS="${IFS}:"
2882 for dir in $PATH; do
2883 test -z "$dir" && dir=.
2884 if test -f $dir/gcc; then
2890 if test -z "${found}" && test -n "${tentative_cc}" ; then
2895 if test "${build}" != "${host}" ; then
2896 AR_FOR_BUILD=${AR_FOR_BUILD-ar}
2897 AS_FOR_BUILD=${AS_FOR_BUILD-as}
2898 CC_FOR_BUILD=${CC_FOR_BUILD-gcc}
2899 CXX_FOR_BUILD=${CXX_FOR_BUILD-g++}
2900 GCJ_FOR_BUILD=${GCJ_FOR_BUILD-gcj}
2901 GFORTRAN_FOR_BUILD=${GFORTRAN_FOR_BUILD-gfortran}
2902 DLLTOOL_FOR_BUILD=${DLLTOOL_FOR_BUILD-dlltool}
2903 LD_FOR_BUILD=${LD_FOR_BUILD-ld}
2904 NM_FOR_BUILD=${NM_FOR_BUILD-nm}
2905 RANLIB_FOR_BUILD=${RANLIB_FOR_BUILD-ranlib}
2906 WINDRES_FOR_BUILD=${WINDRES_FOR_BUILD-windres}
2907 WINDMC_FOR_BUILD=${WINDMC_FOR_BUILD-windmc}
2909 AR_FOR_BUILD="\$(AR)"
2910 AS_FOR_BUILD="\$(AS)"
2911 CC_FOR_BUILD="\$(CC)"
2912 CXX_FOR_BUILD="\$(CXX)"
2913 GCJ_FOR_BUILD="\$(GCJ)"
2914 GFORTRAN_FOR_BUILD="\$(GFORTRAN)"
2915 DLLTOOL_FOR_BUILD="\$(DLLTOOL)"
2916 LD_FOR_BUILD="\$(LD)"
2917 NM_FOR_BUILD="\$(NM)"
2918 RANLIB_FOR_BUILD="\$(RANLIB)"
2919 WINDRES_FOR_BUILD="\$(WINDRES)"
2920 WINDMC_FOR_BUILD="\$(WINDMC)"
2924 ac_cpp='$CPP $CPPFLAGS'
2925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2928 if test -n "$ac_tool_prefix"; then
2929 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2930 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2931 echo "$as_me:$LINENO: checking for $ac_word" >&5
2932 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2933 if test "${ac_cv_prog_CC+set}" = set; then
2934 echo $ECHO_N "(cached) $ECHO_C" >&6
2936 if test -n "$CC"; then
2937 ac_cv_prog_CC="$CC" # Let the user override the test.
2939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2943 test -z "$as_dir" && as_dir=.
2944 for ac_exec_ext in '' $ac_executable_extensions; do
2945 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2946 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2947 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2956 if test -n "$CC"; then
2957 echo "$as_me:$LINENO: result: $CC" >&5
2958 echo "${ECHO_T}$CC" >&6
2960 echo "$as_me:$LINENO: result: no" >&5
2961 echo "${ECHO_T}no" >&6
2965 if test -z "$ac_cv_prog_CC"; then
2967 # Extract the first word of "gcc", so it can be a program name with args.
2968 set dummy gcc; ac_word=$2
2969 echo "$as_me:$LINENO: checking for $ac_word" >&5
2970 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2971 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2972 echo $ECHO_N "(cached) $ECHO_C" >&6
2974 if test -n "$ac_ct_CC"; then
2975 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2981 test -z "$as_dir" && as_dir=.
2982 for ac_exec_ext in '' $ac_executable_extensions; do
2983 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2984 ac_cv_prog_ac_ct_CC="gcc"
2985 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2993 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2994 if test -n "$ac_ct_CC"; then
2995 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2996 echo "${ECHO_T}$ac_ct_CC" >&6
2998 echo "$as_me:$LINENO: result: no" >&5
2999 echo "${ECHO_T}no" >&6
3007 if test -z "$CC"; then
3008 if test -n "$ac_tool_prefix"; then
3009 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3010 set dummy ${ac_tool_prefix}cc; ac_word=$2
3011 echo "$as_me:$LINENO: checking for $ac_word" >&5
3012 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3013 if test "${ac_cv_prog_CC+set}" = set; then
3014 echo $ECHO_N "(cached) $ECHO_C" >&6
3016 if test -n "$CC"; then
3017 ac_cv_prog_CC="$CC" # Let the user override the test.
3019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3023 test -z "$as_dir" && as_dir=.
3024 for ac_exec_ext in '' $ac_executable_extensions; do
3025 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3026 ac_cv_prog_CC="${ac_tool_prefix}cc"
3027 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3036 if test -n "$CC"; then
3037 echo "$as_me:$LINENO: result: $CC" >&5
3038 echo "${ECHO_T}$CC" >&6
3040 echo "$as_me:$LINENO: result: no" >&5
3041 echo "${ECHO_T}no" >&6
3045 if test -z "$ac_cv_prog_CC"; then
3047 # Extract the first word of "cc", so it can be a program name with args.
3048 set dummy cc; ac_word=$2
3049 echo "$as_me:$LINENO: checking for $ac_word" >&5
3050 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3051 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3052 echo $ECHO_N "(cached) $ECHO_C" >&6
3054 if test -n "$ac_ct_CC"; then
3055 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3061 test -z "$as_dir" && as_dir=.
3062 for ac_exec_ext in '' $ac_executable_extensions; do
3063 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3064 ac_cv_prog_ac_ct_CC="cc"
3065 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3073 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3074 if test -n "$ac_ct_CC"; then
3075 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3076 echo "${ECHO_T}$ac_ct_CC" >&6
3078 echo "$as_me:$LINENO: result: no" >&5
3079 echo "${ECHO_T}no" >&6
3088 if test -z "$CC"; then
3089 # Extract the first word of "cc", so it can be a program name with args.
3090 set dummy cc; ac_word=$2
3091 echo "$as_me:$LINENO: checking for $ac_word" >&5
3092 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3093 if test "${ac_cv_prog_CC+set}" = set; then
3094 echo $ECHO_N "(cached) $ECHO_C" >&6
3096 if test -n "$CC"; then
3097 ac_cv_prog_CC="$CC" # Let the user override the test.
3100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3104 test -z "$as_dir" && as_dir=.
3105 for ac_exec_ext in '' $ac_executable_extensions; do
3106 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3107 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3108 ac_prog_rejected=yes
3112 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3118 if test $ac_prog_rejected = yes; then
3119 # We found a bogon in the path, so make sure we never use it.
3120 set dummy $ac_cv_prog_CC
3122 if test $# != 0; then
3123 # We chose a different compiler from the bogus one.
3124 # However, it has the same basename, so the bogon will be chosen
3125 # first if we set CC to just the basename; use the full file name.
3127 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3133 if test -n "$CC"; then
3134 echo "$as_me:$LINENO: result: $CC" >&5
3135 echo "${ECHO_T}$CC" >&6
3137 echo "$as_me:$LINENO: result: no" >&5
3138 echo "${ECHO_T}no" >&6
3142 if test -z "$CC"; then
3143 if test -n "$ac_tool_prefix"; then
3146 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3147 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3148 echo "$as_me:$LINENO: checking for $ac_word" >&5
3149 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3150 if test "${ac_cv_prog_CC+set}" = set; then
3151 echo $ECHO_N "(cached) $ECHO_C" >&6
3153 if test -n "$CC"; then
3154 ac_cv_prog_CC="$CC" # Let the user override the test.
3156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3160 test -z "$as_dir" && as_dir=.
3161 for ac_exec_ext in '' $ac_executable_extensions; do
3162 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3163 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3164 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3173 if test -n "$CC"; then
3174 echo "$as_me:$LINENO: result: $CC" >&5
3175 echo "${ECHO_T}$CC" >&6
3177 echo "$as_me:$LINENO: result: no" >&5
3178 echo "${ECHO_T}no" >&6
3181 test -n "$CC" && break
3184 if test -z "$CC"; then
3188 # Extract the first word of "$ac_prog", so it can be a program name with args.
3189 set dummy $ac_prog; ac_word=$2
3190 echo "$as_me:$LINENO: checking for $ac_word" >&5
3191 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3192 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3193 echo $ECHO_N "(cached) $ECHO_C" >&6
3195 if test -n "$ac_ct_CC"; then
3196 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3202 test -z "$as_dir" && as_dir=.
3203 for ac_exec_ext in '' $ac_executable_extensions; do
3204 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3205 ac_cv_prog_ac_ct_CC="$ac_prog"
3206 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3214 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3215 if test -n "$ac_ct_CC"; then
3216 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3217 echo "${ECHO_T}$ac_ct_CC" >&6
3219 echo "$as_me:$LINENO: result: no" >&5
3220 echo "${ECHO_T}no" >&6
3223 test -n "$ac_ct_CC" && break
3232 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3233 See \`config.log' for more details." >&5
3234 echo "$as_me: error: no acceptable C compiler found in \$PATH
3235 See \`config.log' for more details." >&2;}
3236 { (exit 1); exit 1; }; }
3238 # Provide some information about the compiler.
3239 echo "$as_me:$LINENO:" \
3240 "checking for C compiler version" >&5
3241 ac_compiler=`set X $ac_compile; echo $2`
3242 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3243 (eval $ac_compiler --version </dev/null >&5) 2>&5
3245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3246 (exit $ac_status); }
3247 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3248 (eval $ac_compiler -v </dev/null >&5) 2>&5
3250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3251 (exit $ac_status); }
3252 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3253 (eval $ac_compiler -V </dev/null >&5) 2>&5
3255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3256 (exit $ac_status); }
3258 cat >conftest.$ac_ext <<_ACEOF
3261 cat confdefs.h >>conftest.$ac_ext
3262 cat >>conftest.$ac_ext <<_ACEOF
3263 /* end confdefs.h. */
3273 ac_clean_files_save=$ac_clean_files
3274 ac_clean_files="$ac_clean_files a.out a.exe b.out"
3275 # Try to create an executable without -o first, disregard a.out.
3276 # It will help us diagnose broken compilers, and finding out an intuition
3278 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3279 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
3280 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3281 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
3282 (eval $ac_link_default) 2>&5
3284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3285 (exit $ac_status); }; then
3286 # Find the output, starting from the most likely. This scheme is
3287 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
3290 # Be careful to initialize this variable, since it used to be cached.
3291 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
3293 # b.out is created by i960 compilers.
3294 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
3296 test -f "$ac_file" || continue
3298 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
3301 # This is the source file.
3304 # We found the default executable, but exeext='' is most
3308 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3309 # FIXME: I believe we export ac_cv_exeext for Libtool,
3310 # but it would be cool to find out if it's true. Does anybody
3311 # maintain Libtool? --akim.
3319 echo "$as_me: failed program was:" >&5
3320 sed 's/^/| /' conftest.$ac_ext >&5
3322 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3323 See \`config.log' for more details." >&5
3324 echo "$as_me: error: C compiler cannot create executables
3325 See \`config.log' for more details." >&2;}
3326 { (exit 77); exit 77; }; }
3329 ac_exeext=$ac_cv_exeext
3330 echo "$as_me:$LINENO: result: $ac_file" >&5
3331 echo "${ECHO_T}$ac_file" >&6
3333 # Check the compiler produces executables we can run. If not, either
3334 # the compiler is broken, or we cross compile.
3335 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3336 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
3337 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3338 # If not cross compiling, check that we can run a simple program.
3339 if test "$cross_compiling" != yes; then
3340 if { ac_try='./$ac_file'
3341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3345 (exit $ac_status); }; }; then
3348 if test "$cross_compiling" = maybe; then
3351 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3352 If you meant to cross compile, use \`--host'.
3353 See \`config.log' for more details." >&5
3354 echo "$as_me: error: cannot run C compiled programs.
3355 If you meant to cross compile, use \`--host'.
3356 See \`config.log' for more details." >&2;}
3357 { (exit 1); exit 1; }; }
3361 echo "$as_me:$LINENO: result: yes" >&5
3362 echo "${ECHO_T}yes" >&6
3364 rm -f a.out a.exe conftest$ac_cv_exeext b.out
3365 ac_clean_files=$ac_clean_files_save
3366 # Check the compiler produces executables we can run. If not, either
3367 # the compiler is broken, or we cross compile.
3368 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3369 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
3370 echo "$as_me:$LINENO: result: $cross_compiling" >&5
3371 echo "${ECHO_T}$cross_compiling" >&6
3373 echo "$as_me:$LINENO: checking for suffix of executables" >&5
3374 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
3375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3376 (eval $ac_link) 2>&5
3378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3379 (exit $ac_status); }; then
3380 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3381 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3382 # work properly (i.e., refer to `conftest.exe'), while it won't with
3384 for ac_file in conftest.exe conftest conftest.*; do
3385 test -f "$ac_file" || continue
3387 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
3388 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3395 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3396 See \`config.log' for more details." >&5
3397 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3398 See \`config.log' for more details." >&2;}
3399 { (exit 1); exit 1; }; }
3402 rm -f conftest$ac_cv_exeext
3403 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3404 echo "${ECHO_T}$ac_cv_exeext" >&6
3406 rm -f conftest.$ac_ext
3407 EXEEXT=$ac_cv_exeext
3409 echo "$as_me:$LINENO: checking for suffix of object files" >&5
3410 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
3411 if test "${ac_cv_objext+set}" = set; then
3412 echo $ECHO_N "(cached) $ECHO_C" >&6
3414 cat >conftest.$ac_ext <<_ACEOF
3417 cat confdefs.h >>conftest.$ac_ext
3418 cat >>conftest.$ac_ext <<_ACEOF
3419 /* end confdefs.h. */
3429 rm -f conftest.o conftest.obj
3430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3431 (eval $ac_compile) 2>&5
3433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3434 (exit $ac_status); }; then
3435 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
3437 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
3438 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3443 echo "$as_me: failed program was:" >&5
3444 sed 's/^/| /' conftest.$ac_ext >&5
3446 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3447 See \`config.log' for more details." >&5
3448 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3449 See \`config.log' for more details." >&2;}
3450 { (exit 1); exit 1; }; }
3453 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3455 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3456 echo "${ECHO_T}$ac_cv_objext" >&6
3457 OBJEXT=$ac_cv_objext
3459 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3460 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3461 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3462 echo $ECHO_N "(cached) $ECHO_C" >&6
3464 cat >conftest.$ac_ext <<_ACEOF
3467 cat confdefs.h >>conftest.$ac_ext
3468 cat >>conftest.$ac_ext <<_ACEOF
3469 /* end confdefs.h. */
3482 rm -f conftest.$ac_objext
3483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3484 (eval $ac_compile) 2>conftest.er1
3486 grep -v '^ *+' conftest.er1 >conftest.err
3488 cat conftest.err >&5
3489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3490 (exit $ac_status); } &&
3491 { ac_try='test -z "$ac_c_werror_flag"
3492 || test ! -s conftest.err'
3493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3497 (exit $ac_status); }; } &&
3498 { ac_try='test -s conftest.$ac_objext'
3499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3503 (exit $ac_status); }; }; then
3506 echo "$as_me: failed program was:" >&5
3507 sed 's/^/| /' conftest.$ac_ext >&5
3511 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3512 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3515 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3516 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3517 GCC=`test $ac_compiler_gnu = yes && echo yes`
3518 ac_test_CFLAGS=${CFLAGS+set}
3519 ac_save_CFLAGS=$CFLAGS
3521 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3522 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3523 if test "${ac_cv_prog_cc_g+set}" = set; then
3524 echo $ECHO_N "(cached) $ECHO_C" >&6
3526 cat >conftest.$ac_ext <<_ACEOF
3529 cat confdefs.h >>conftest.$ac_ext
3530 cat >>conftest.$ac_ext <<_ACEOF
3531 /* end confdefs.h. */
3541 rm -f conftest.$ac_objext
3542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3543 (eval $ac_compile) 2>conftest.er1
3545 grep -v '^ *+' conftest.er1 >conftest.err
3547 cat conftest.err >&5
3548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3549 (exit $ac_status); } &&
3550 { ac_try='test -z "$ac_c_werror_flag"
3551 || test ! -s conftest.err'
3552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3556 (exit $ac_status); }; } &&
3557 { ac_try='test -s conftest.$ac_objext'
3558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3562 (exit $ac_status); }; }; then
3565 echo "$as_me: failed program was:" >&5
3566 sed 's/^/| /' conftest.$ac_ext >&5
3570 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3572 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3573 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3574 if test "$ac_test_CFLAGS" = set; then
3575 CFLAGS=$ac_save_CFLAGS
3576 elif test $ac_cv_prog_cc_g = yes; then
3577 if test "$GCC" = yes; then
3583 if test "$GCC" = yes; then
3589 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3590 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3591 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3592 echo $ECHO_N "(cached) $ECHO_C" >&6
3594 ac_cv_prog_cc_stdc=no
3596 cat >conftest.$ac_ext <<_ACEOF
3599 cat confdefs.h >>conftest.$ac_ext
3600 cat >>conftest.$ac_ext <<_ACEOF
3601 /* end confdefs.h. */
3604 #include <sys/types.h>
3605 #include <sys/stat.h>
3606 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3607 struct buf { int x; };
3608 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3609 static char *e (p, i)
3615 static char *f (char * (*g) (char **, int), char **p, ...)
3620 s = g (p, va_arg (v,int));
3625 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3626 function prototypes and stuff, but not '\xHH' hex character constants.
3627 These don't provoke an error unfortunately, instead are silently treated
3628 as 'x'. The following induces an error, until -std1 is added to get
3629 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3630 array size at least. It's necessary to write '\x00'==0 to get something
3631 that's true only with -std1. */
3632 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3634 int test (int i, double x);
3635 struct s1 {int (*f) (int a);};
3636 struct s2 {int (*f) (double a);};
3637 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3643 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3648 # Don't try gcc -ansi; that turns off useful extensions and
3649 # breaks some systems' header files.
3650 # AIX -qlanglvl=ansi
3651 # Ultrix and OSF/1 -std1
3652 # HP-UX 10.20 and later -Ae
3653 # HP-UX older versions -Aa -D_HPUX_SOURCE
3654 # SVR4 -Xc -D__EXTENSIONS__
3655 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3657 CC="$ac_save_CC $ac_arg"
3658 rm -f conftest.$ac_objext
3659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3660 (eval $ac_compile) 2>conftest.er1
3662 grep -v '^ *+' conftest.er1 >conftest.err
3664 cat conftest.err >&5
3665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3666 (exit $ac_status); } &&
3667 { ac_try='test -z "$ac_c_werror_flag"
3668 || test ! -s conftest.err'
3669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3673 (exit $ac_status); }; } &&
3674 { ac_try='test -s conftest.$ac_objext'
3675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3679 (exit $ac_status); }; }; then
3680 ac_cv_prog_cc_stdc=$ac_arg
3683 echo "$as_me: failed program was:" >&5
3684 sed 's/^/| /' conftest.$ac_ext >&5
3687 rm -f conftest.err conftest.$ac_objext
3689 rm -f conftest.$ac_ext conftest.$ac_objext
3694 case "x$ac_cv_prog_cc_stdc" in
3696 echo "$as_me:$LINENO: result: none needed" >&5
3697 echo "${ECHO_T}none needed" >&6 ;;
3699 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3700 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3701 CC="$CC $ac_cv_prog_cc_stdc" ;;
3704 # Some people use a C++ compiler to compile C. Since we use `exit',
3705 # in C++ we need to declare it. In case someone uses the same compiler
3706 # for both compiling C and C++ we need to have the C++ compiler decide
3707 # the declaration of exit, since it's the most demanding environment.
3708 cat >conftest.$ac_ext <<_ACEOF
3713 rm -f conftest.$ac_objext
3714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3715 (eval $ac_compile) 2>conftest.er1
3717 grep -v '^ *+' conftest.er1 >conftest.err
3719 cat conftest.err >&5
3720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3721 (exit $ac_status); } &&
3722 { ac_try='test -z "$ac_c_werror_flag"
3723 || test ! -s conftest.err'
3724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3728 (exit $ac_status); }; } &&
3729 { ac_try='test -s conftest.$ac_objext'
3730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3734 (exit $ac_status); }; }; then
3735 for ac_declaration in \
3737 'extern "C" void std::exit (int) throw (); using std::exit;' \
3738 'extern "C" void std::exit (int); using std::exit;' \
3739 'extern "C" void exit (int) throw ();' \
3740 'extern "C" void exit (int);' \
3743 cat >conftest.$ac_ext <<_ACEOF
3746 cat confdefs.h >>conftest.$ac_ext
3747 cat >>conftest.$ac_ext <<_ACEOF
3748 /* end confdefs.h. */
3759 rm -f conftest.$ac_objext
3760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3761 (eval $ac_compile) 2>conftest.er1
3763 grep -v '^ *+' conftest.er1 >conftest.err
3765 cat conftest.err >&5
3766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3767 (exit $ac_status); } &&
3768 { ac_try='test -z "$ac_c_werror_flag"
3769 || test ! -s conftest.err'
3770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3774 (exit $ac_status); }; } &&
3775 { ac_try='test -s conftest.$ac_objext'
3776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3780 (exit $ac_status); }; }; then
3783 echo "$as_me: failed program was:" >&5
3784 sed 's/^/| /' conftest.$ac_ext >&5
3788 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3789 cat >conftest.$ac_ext <<_ACEOF
3792 cat confdefs.h >>conftest.$ac_ext
3793 cat >>conftest.$ac_ext <<_ACEOF
3794 /* end confdefs.h. */
3804 rm -f conftest.$ac_objext
3805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3806 (eval $ac_compile) 2>conftest.er1
3808 grep -v '^ *+' conftest.er1 >conftest.err
3810 cat conftest.err >&5
3811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3812 (exit $ac_status); } &&
3813 { ac_try='test -z "$ac_c_werror_flag"
3814 || test ! -s conftest.err'
3815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3819 (exit $ac_status); }; } &&
3820 { ac_try='test -s conftest.$ac_objext'
3821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3825 (exit $ac_status); }; }; then
3828 echo "$as_me: failed program was:" >&5
3829 sed 's/^/| /' conftest.$ac_ext >&5
3832 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3835 if test -n "$ac_declaration"; then
3836 echo '#ifdef __cplusplus' >>confdefs.h
3837 echo $ac_declaration >>confdefs.h
3838 echo '#endif' >>confdefs.h
3842 echo "$as_me: failed program was:" >&5
3843 sed 's/^/| /' conftest.$ac_ext >&5
3846 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3848 ac_cpp='$CPP $CPPFLAGS'
3849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3854 ac_cpp='$CXXCPP $CPPFLAGS'
3855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3858 if test -n "$ac_tool_prefix"; then
3859 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3861 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3862 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3863 echo "$as_me:$LINENO: checking for $ac_word" >&5
3864 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3865 if test "${ac_cv_prog_CXX+set}" = set; then
3866 echo $ECHO_N "(cached) $ECHO_C" >&6
3868 if test -n "$CXX"; then
3869 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3875 test -z "$as_dir" && as_dir=.
3876 for ac_exec_ext in '' $ac_executable_extensions; do
3877 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3878 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3879 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3888 if test -n "$CXX"; then
3889 echo "$as_me:$LINENO: result: $CXX" >&5
3890 echo "${ECHO_T}$CXX" >&6
3892 echo "$as_me:$LINENO: result: no" >&5
3893 echo "${ECHO_T}no" >&6
3896 test -n "$CXX" && break
3899 if test -z "$CXX"; then
3901 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3903 # Extract the first word of "$ac_prog", so it can be a program name with args.
3904 set dummy $ac_prog; ac_word=$2
3905 echo "$as_me:$LINENO: checking for $ac_word" >&5
3906 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3907 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3908 echo $ECHO_N "(cached) $ECHO_C" >&6
3910 if test -n "$ac_ct_CXX"; then
3911 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3917 test -z "$as_dir" && as_dir=.
3918 for ac_exec_ext in '' $ac_executable_extensions; do
3919 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3920 ac_cv_prog_ac_ct_CXX="$ac_prog"
3921 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3929 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3930 if test -n "$ac_ct_CXX"; then
3931 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3932 echo "${ECHO_T}$ac_ct_CXX" >&6
3934 echo "$as_me:$LINENO: result: no" >&5
3935 echo "${ECHO_T}no" >&6
3938 test -n "$ac_ct_CXX" && break
3940 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3946 # Provide some information about the compiler.
3947 echo "$as_me:$LINENO:" \
3948 "checking for C++ compiler version" >&5
3949 ac_compiler=`set X $ac_compile; echo $2`
3950 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3951 (eval $ac_compiler --version </dev/null >&5) 2>&5
3953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3954 (exit $ac_status); }
3955 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3956 (eval $ac_compiler -v </dev/null >&5) 2>&5
3958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3959 (exit $ac_status); }
3960 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3961 (eval $ac_compiler -V </dev/null >&5) 2>&5
3963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3964 (exit $ac_status); }
3966 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3967 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3968 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3969 echo $ECHO_N "(cached) $ECHO_C" >&6
3971 cat >conftest.$ac_ext <<_ACEOF
3974 cat confdefs.h >>conftest.$ac_ext
3975 cat >>conftest.$ac_ext <<_ACEOF
3976 /* end confdefs.h. */
3989 rm -f conftest.$ac_objext
3990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3991 (eval $ac_compile) 2>conftest.er1
3993 grep -v '^ *+' conftest.er1 >conftest.err
3995 cat conftest.err >&5
3996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3997 (exit $ac_status); } &&
3998 { ac_try='test -z "$ac_cxx_werror_flag"
3999 || test ! -s conftest.err'
4000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4004 (exit $ac_status); }; } &&
4005 { ac_try='test -s conftest.$ac_objext'
4006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4010 (exit $ac_status); }; }; then
4013 echo "$as_me: failed program was:" >&5
4014 sed 's/^/| /' conftest.$ac_ext >&5
4018 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4019 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4022 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4023 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
4024 GXX=`test $ac_compiler_gnu = yes && echo yes`
4025 ac_test_CXXFLAGS=${CXXFLAGS+set}
4026 ac_save_CXXFLAGS=$CXXFLAGS
4028 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4029 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
4030 if test "${ac_cv_prog_cxx_g+set}" = set; then
4031 echo $ECHO_N "(cached) $ECHO_C" >&6
4033 cat >conftest.$ac_ext <<_ACEOF
4036 cat confdefs.h >>conftest.$ac_ext
4037 cat >>conftest.$ac_ext <<_ACEOF
4038 /* end confdefs.h. */
4048 rm -f conftest.$ac_objext
4049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4050 (eval $ac_compile) 2>conftest.er1
4052 grep -v '^ *+' conftest.er1 >conftest.err
4054 cat conftest.err >&5
4055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4056 (exit $ac_status); } &&
4057 { ac_try='test -z "$ac_cxx_werror_flag"
4058 || test ! -s conftest.err'
4059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4063 (exit $ac_status); }; } &&
4064 { ac_try='test -s conftest.$ac_objext'
4065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4069 (exit $ac_status); }; }; then
4070 ac_cv_prog_cxx_g=yes
4072 echo "$as_me: failed program was:" >&5
4073 sed 's/^/| /' conftest.$ac_ext >&5
4077 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4079 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4080 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
4081 if test "$ac_test_CXXFLAGS" = set; then
4082 CXXFLAGS=$ac_save_CXXFLAGS
4083 elif test $ac_cv_prog_cxx_g = yes; then
4084 if test "$GXX" = yes; then
4090 if test "$GXX" = yes; then
4096 for ac_declaration in \
4098 'extern "C" void std::exit (int) throw (); using std::exit;' \
4099 'extern "C" void std::exit (int); using std::exit;' \
4100 'extern "C" void exit (int) throw ();' \
4101 'extern "C" void exit (int);' \
4104 cat >conftest.$ac_ext <<_ACEOF
4107 cat confdefs.h >>conftest.$ac_ext
4108 cat >>conftest.$ac_ext <<_ACEOF
4109 /* end confdefs.h. */
4120 rm -f conftest.$ac_objext
4121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4122 (eval $ac_compile) 2>conftest.er1
4124 grep -v '^ *+' conftest.er1 >conftest.err
4126 cat conftest.err >&5
4127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4128 (exit $ac_status); } &&
4129 { ac_try='test -z "$ac_cxx_werror_flag"
4130 || test ! -s conftest.err'
4131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4135 (exit $ac_status); }; } &&
4136 { ac_try='test -s conftest.$ac_objext'
4137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4141 (exit $ac_status); }; }; then
4144 echo "$as_me: failed program was:" >&5
4145 sed 's/^/| /' conftest.$ac_ext >&5
4149 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4150 cat >conftest.$ac_ext <<_ACEOF
4153 cat confdefs.h >>conftest.$ac_ext
4154 cat >>conftest.$ac_ext <<_ACEOF
4155 /* end confdefs.h. */
4165 rm -f conftest.$ac_objext
4166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4167 (eval $ac_compile) 2>conftest.er1
4169 grep -v '^ *+' conftest.er1 >conftest.err
4171 cat conftest.err >&5
4172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4173 (exit $ac_status); } &&
4174 { ac_try='test -z "$ac_cxx_werror_flag"
4175 || test ! -s conftest.err'
4176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4180 (exit $ac_status); }; } &&
4181 { ac_try='test -s conftest.$ac_objext'
4182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4186 (exit $ac_status); }; }; then
4189 echo "$as_me: failed program was:" >&5
4190 sed 's/^/| /' conftest.$ac_ext >&5
4193 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4196 if test -n "$ac_declaration"; then
4197 echo '#ifdef __cplusplus' >>confdefs.h
4198 echo $ac_declaration >>confdefs.h
4199 echo '#endif' >>confdefs.h
4203 ac_cpp='$CPP $CPPFLAGS'
4204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4209 # We must set the default linker to the linker used by gcc for the correct
4210 # operation of libtool. If LD is not defined and we are using gcc, try to
4211 # set the LD default to the ld used by gcc.
4212 if test -z "$LD"; then
4213 if test "$GCC" = yes; then
4216 gcc_prog_ld=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
4218 gcc_prog_ld=`$CC -print-prog-name=ld 2>&1` ;;
4220 case $gcc_prog_ld in
4221 # Accept absolute paths.
4222 [\\/]* | [A-Za-z]:[\\/]*)
4223 LD="$gcc_prog_ld" ;;
4231 if test -n "$ac_tool_prefix"; then
4232 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
4233 set dummy ${ac_tool_prefix}gnatbind; ac_word=$2
4234 echo "$as_me:$LINENO: checking for $ac_word" >&5
4235 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4236 if test "${ac_cv_prog_GNATBIND+set}" = set; then
4237 echo $ECHO_N "(cached) $ECHO_C" >&6
4239 if test -n "$GNATBIND"; then
4240 ac_cv_prog_GNATBIND="$GNATBIND" # Let the user override the test.
4242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4246 test -z "$as_dir" && as_dir=.
4247 for ac_exec_ext in '' $ac_executable_extensions; do
4248 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4249 ac_cv_prog_GNATBIND="${ac_tool_prefix}gnatbind"
4250 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4258 GNATBIND=$ac_cv_prog_GNATBIND
4259 if test -n "$GNATBIND"; then
4260 echo "$as_me:$LINENO: result: $GNATBIND" >&5
4261 echo "${ECHO_T}$GNATBIND" >&6
4263 echo "$as_me:$LINENO: result: no" >&5
4264 echo "${ECHO_T}no" >&6
4268 if test -z "$ac_cv_prog_GNATBIND"; then
4269 ac_ct_GNATBIND=$GNATBIND
4270 # Extract the first word of "gnatbind", so it can be a program name with args.
4271 set dummy gnatbind; ac_word=$2
4272 echo "$as_me:$LINENO: checking for $ac_word" >&5
4273 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4274 if test "${ac_cv_prog_ac_ct_GNATBIND+set}" = set; then
4275 echo $ECHO_N "(cached) $ECHO_C" >&6
4277 if test -n "$ac_ct_GNATBIND"; then
4278 ac_cv_prog_ac_ct_GNATBIND="$ac_ct_GNATBIND" # Let the user override the test.
4280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4284 test -z "$as_dir" && as_dir=.
4285 for ac_exec_ext in '' $ac_executable_extensions; do
4286 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4287 ac_cv_prog_ac_ct_GNATBIND="gnatbind"
4288 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4294 test -z "$ac_cv_prog_ac_ct_GNATBIND" && ac_cv_prog_ac_ct_GNATBIND="no"
4297 ac_ct_GNATBIND=$ac_cv_prog_ac_ct_GNATBIND
4298 if test -n "$ac_ct_GNATBIND"; then
4299 echo "$as_me:$LINENO: result: $ac_ct_GNATBIND" >&5
4300 echo "${ECHO_T}$ac_ct_GNATBIND" >&6
4302 echo "$as_me:$LINENO: result: no" >&5
4303 echo "${ECHO_T}no" >&6
4306 GNATBIND=$ac_ct_GNATBIND
4308 GNATBIND="$ac_cv_prog_GNATBIND"
4311 if test -n "$ac_tool_prefix"; then
4312 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
4313 set dummy ${ac_tool_prefix}gnatmake; ac_word=$2
4314 echo "$as_me:$LINENO: checking for $ac_word" >&5
4315 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4316 if test "${ac_cv_prog_GNATMAKE+set}" = set; then
4317 echo $ECHO_N "(cached) $ECHO_C" >&6
4319 if test -n "$GNATMAKE"; then
4320 ac_cv_prog_GNATMAKE="$GNATMAKE" # Let the user override the test.
4322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4326 test -z "$as_dir" && as_dir=.
4327 for ac_exec_ext in '' $ac_executable_extensions; do
4328 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4329 ac_cv_prog_GNATMAKE="${ac_tool_prefix}gnatmake"
4330 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4338 GNATMAKE=$ac_cv_prog_GNATMAKE
4339 if test -n "$GNATMAKE"; then
4340 echo "$as_me:$LINENO: result: $GNATMAKE" >&5
4341 echo "${ECHO_T}$GNATMAKE" >&6
4343 echo "$as_me:$LINENO: result: no" >&5
4344 echo "${ECHO_T}no" >&6
4348 if test -z "$ac_cv_prog_GNATMAKE"; then
4349 ac_ct_GNATMAKE=$GNATMAKE
4350 # Extract the first word of "gnatmake", so it can be a program name with args.
4351 set dummy gnatmake; ac_word=$2
4352 echo "$as_me:$LINENO: checking for $ac_word" >&5
4353 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4354 if test "${ac_cv_prog_ac_ct_GNATMAKE+set}" = set; then
4355 echo $ECHO_N "(cached) $ECHO_C" >&6
4357 if test -n "$ac_ct_GNATMAKE"; then
4358 ac_cv_prog_ac_ct_GNATMAKE="$ac_ct_GNATMAKE" # Let the user override the test.
4360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4364 test -z "$as_dir" && as_dir=.
4365 for ac_exec_ext in '' $ac_executable_extensions; do
4366 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4367 ac_cv_prog_ac_ct_GNATMAKE="gnatmake"
4368 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4374 test -z "$ac_cv_prog_ac_ct_GNATMAKE" && ac_cv_prog_ac_ct_GNATMAKE="no"
4377 ac_ct_GNATMAKE=$ac_cv_prog_ac_ct_GNATMAKE
4378 if test -n "$ac_ct_GNATMAKE"; then
4379 echo "$as_me:$LINENO: result: $ac_ct_GNATMAKE" >&5
4380 echo "${ECHO_T}$ac_ct_GNATMAKE" >&6
4382 echo "$as_me:$LINENO: result: no" >&5
4383 echo "${ECHO_T}no" >&6
4386 GNATMAKE=$ac_ct_GNATMAKE
4388 GNATMAKE="$ac_cv_prog_GNATMAKE"
4391 echo "$as_me:$LINENO: checking whether compiler driver understands Ada" >&5
4392 echo $ECHO_N "checking whether compiler driver understands Ada... $ECHO_C" >&6
4393 if test "${acx_cv_cc_gcc_supports_ada+set}" = set; then
4394 echo $ECHO_N "(cached) $ECHO_C" >&6
4396 cat >conftest.adb <<EOF
4397 procedure conftest is begin null; end conftest;
4399 acx_cv_cc_gcc_supports_ada=no
4400 # There is a bug in old released versions of GCC which causes the
4401 # driver to exit successfully when the appropriate language module
4402 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
4403 # Therefore we must check for the error message as well as an
4404 # unsuccessful exit.
4405 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
4406 # given a .adb file, but produce no object file. So we must check
4407 # if an object file was really produced to guard against this.
4408 errors=`(${CC} -c conftest.adb) 2>&1 || echo failure`
4409 if test x"$errors" = x && test -f conftest.$ac_objext; then
4410 acx_cv_cc_gcc_supports_ada=yes
4414 echo "$as_me:$LINENO: result: $acx_cv_cc_gcc_supports_ada" >&5
4415 echo "${ECHO_T}$acx_cv_cc_gcc_supports_ada" >&6
4417 if test x$GNATBIND != xno && test x$GNATMAKE != xno && test x$acx_cv_cc_gcc_supports_ada != xno; then
4423 echo "$as_me:$LINENO: checking how to compare bootstrapped objects" >&5
4424 echo $ECHO_N "checking how to compare bootstrapped objects... $ECHO_C" >&6
4425 if test "${gcc_cv_prog_cmp_skip+set}" = set; then
4426 echo $ECHO_N "(cached) $ECHO_C" >&6
4430 gcc_cv_prog_cmp_skip='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
4431 if cmp t1 t2 2 2 > /dev/null 2>&1; then
4432 if cmp t1 t2 1 1 > /dev/null 2>&1; then
4435 gcc_cv_prog_cmp_skip='cmp $$f1 $$f2 16 16'
4438 if cmp --ignore-initial=2 t1 t2 > /dev/null 2>&1; then
4439 if cmp --ignore-initial=1 t1 t2 > /dev/null 2>&1; then
4442 gcc_cv_prog_cmp_skip='cmp --ignore-initial=16 $$f1 $$f2'
4448 echo "$as_me:$LINENO: result: $gcc_cv_prog_cmp_skip" >&5
4449 echo "${ECHO_T}$gcc_cv_prog_cmp_skip" >&6
4450 do_compare="$gcc_cv_prog_cmp_skip"
4454 # Check for GMP and MPFR
4455 gmplibs="-lmpfr -lgmp"
4459 # Specify a location for mpfr
4460 # check for this first so it ends up on the link line before gmp.
4462 # Check whether --with-mpfr-dir or --without-mpfr-dir was given.
4463 if test "${with_mpfr_dir+set}" = set; then
4464 withval="$with_mpfr_dir"
4465 { { echo "$as_me:$LINENO: error: The --with-mpfr-dir=PATH option has been removed.
4466 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" >&5
4467 echo "$as_me: error: The --with-mpfr-dir=PATH option has been removed.
4468 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" >&2;}
4469 { (exit 1); exit 1; }; }
4473 # Check whether --with-mpfr or --without-mpfr was given.
4474 if test "${with_mpfr+set}" = set; then
4475 withval="$with_mpfr"
4479 # Check whether --with-mpfr_include or --without-mpfr_include was given.
4480 if test "${with_mpfr_include+set}" = set; then
4481 withval="$with_mpfr_include"
4485 # Check whether --with-mpfr_lib or --without-mpfr_lib was given.
4486 if test "${with_mpfr_lib+set}" = set; then
4487 withval="$with_mpfr_lib"
4491 if test "x$with_mpfr" != x; then
4492 gmplibs="-L$with_mpfr/lib $gmplibs"
4493 gmpinc="-I$with_mpfr/include"
4495 if test "x$with_mpfr_include" != x; then
4496 gmpinc="-I$with_mpfr_include"
4498 if test "x$with_mpfr_lib" != x; then
4499 gmplibs="-L$with_mpfr_lib $gmplibs"
4501 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x && test -d ${srcdir}/mpfr; then
4502 gmplibs='-L$$r/$(HOST_SUBDIR)/mpfr/.libs -L$$r/$(HOST_SUBDIR)/mpfr/_libs '"$gmplibs"
4503 gmpinc='-I$$r/$(HOST_SUBDIR)/mpfr -I$$s/mpfr '"$gmpinc"
4504 # Do not test the mpfr version. Assume that it is sufficient, since
4505 # it is in the source tree, and the library has not been built yet
4506 # but it would be included on the link line in the version check below
4507 # hence making the test fail.
4511 # Specify a location for gmp
4513 # Check whether --with-gmp-dir or --without-gmp-dir was given.
4514 if test "${with_gmp_dir+set}" = set; then
4515 withval="$with_gmp_dir"
4516 { { echo "$as_me:$LINENO: error: The --with-gmp-dir=PATH option has been removed.
4517 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" >&5
4518 echo "$as_me: error: The --with-gmp-dir=PATH option has been removed.
4519 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" >&2;}
4520 { (exit 1); exit 1; }; }
4524 # Check whether --with-gmp or --without-gmp was given.
4525 if test "${with_gmp+set}" = set; then
4530 # Check whether --with-gmp_include or --without-gmp_include was given.
4531 if test "${with_gmp_include+set}" = set; then
4532 withval="$with_gmp_include"
4536 # Check whether --with-gmp_lib or --without-gmp_lib was given.
4537 if test "${with_gmp_lib+set}" = set; then
4538 withval="$with_gmp_lib"
4543 if test "x$with_gmp" != x; then
4544 gmplibs="-L$with_gmp/lib $gmplibs"
4545 gmpinc="-I$with_gmp/include $gmpinc"
4547 if test "x$with_gmp_include" != x; then
4548 gmpinc="-I$with_gmp_include $gmpinc"
4550 if test "x$with_gmp_lib" != x; then
4551 gmplibs="-L$with_gmp_lib $gmplibs"
4553 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x && test -d ${srcdir}/gmp; then
4554 gmplibs='-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/gmp/_libs '"$gmplibs"
4555 gmpinc='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
4556 # Do not test the gmp version. Assume that it is sufficient, since
4557 # it is in the source tree, and the library has not been built yet
4558 # but it would be included on the link line in the version check below
4559 # hence making the test fail.
4563 if test -d ${srcdir}/gcc && test "x$have_gmp" = xno; then
4565 saved_CFLAGS="$CFLAGS"
4566 CFLAGS="$CFLAGS $gmpinc"
4567 # Check GMP actually works
4568 echo "$as_me:$LINENO: checking for correct version of gmp.h" >&5
4569 echo $ECHO_N "checking for correct version of gmp.h... $ECHO_C" >&6
4571 cat >conftest.$ac_ext <<_ACEOF
4574 cat confdefs.h >>conftest.$ac_ext
4575 cat >>conftest.$ac_ext <<_ACEOF
4576 /* end confdefs.h. */
4582 #if __GNU_MP_VERSION < 4 || (__GNU_MP_VERSION == 4 && __GNU_MP_VERSION_MINOR < 1)
4590 rm -f conftest.$ac_objext
4591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4592 (eval $ac_compile) 2>conftest.er1
4594 grep -v '^ *+' conftest.er1 >conftest.err
4596 cat conftest.err >&5
4597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4598 (exit $ac_status); } &&
4599 { ac_try='test -z "$ac_c_werror_flag"
4600 || test ! -s conftest.err'
4601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4605 (exit $ac_status); }; } &&
4606 { ac_try='test -s conftest.$ac_objext'
4607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4611 (exit $ac_status); }; }; then
4612 echo "$as_me:$LINENO: result: yes" >&5
4613 echo "${ECHO_T}yes" >&6
4615 echo "$as_me: failed program was:" >&5
4616 sed 's/^/| /' conftest.$ac_ext >&5
4618 echo "$as_me:$LINENO: result: no" >&5
4619 echo "${ECHO_T}no" >&6; have_gmp=no
4621 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4623 if test x"$have_gmp" = xyes; then
4625 LIBS="$LIBS $gmplibs"
4626 echo "$as_me:$LINENO: checking for correct version of mpfr.h" >&5
4627 echo $ECHO_N "checking for correct version of mpfr.h... $ECHO_C" >&6
4628 cat >conftest.$ac_ext <<_ACEOF
4631 cat confdefs.h >>conftest.$ac_ext
4632 cat >>conftest.$ac_ext <<_ACEOF
4633 /* end confdefs.h. */
4640 #if MPFR_VERSION < MPFR_VERSION_NUM(2,2,1)
4648 mpfr_atan2 (n, n, x, GMP_RNDN);
4649 mpfr_erfc (n, x, GMP_RNDN);
4650 mpfr_subnormalize (x, t, GMP_RNDN);
4656 rm -f conftest.$ac_objext conftest$ac_exeext
4657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4658 (eval $ac_link) 2>conftest.er1
4660 grep -v '^ *+' conftest.er1 >conftest.err
4662 cat conftest.err >&5
4663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4664 (exit $ac_status); } &&
4665 { ac_try='test -z "$ac_c_werror_flag"
4666 || test ! -s conftest.err'
4667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4671 (exit $ac_status); }; } &&
4672 { ac_try='test -s conftest$ac_exeext'
4673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4677 (exit $ac_status); }; }; then
4678 cat >conftest.$ac_ext <<_ACEOF
4681 cat confdefs.h >>conftest.$ac_ext
4682 cat >>conftest.$ac_ext <<_ACEOF
4683 /* end confdefs.h. */
4690 #if MPFR_VERSION < MPFR_VERSION_NUM(2,3,0)
4693 mpfr_t n; mpfr_init(n);
4699 rm -f conftest.$ac_objext conftest$ac_exeext
4700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4701 (eval $ac_link) 2>conftest.er1
4703 grep -v '^ *+' conftest.er1 >conftest.err
4705 cat conftest.err >&5
4706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4707 (exit $ac_status); } &&
4708 { ac_try='test -z "$ac_c_werror_flag"
4709 || test ! -s conftest.err'
4710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4714 (exit $ac_status); }; } &&
4715 { ac_try='test -s conftest$ac_exeext'
4716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4720 (exit $ac_status); }; }; then
4721 echo "$as_me:$LINENO: result: yes" >&5
4722 echo "${ECHO_T}yes" >&6
4724 echo "$as_me: failed program was:" >&5
4725 sed 's/^/| /' conftest.$ac_ext >&5
4727 echo "$as_me:$LINENO: result: buggy but acceptable" >&5
4728 echo "${ECHO_T}buggy but acceptable" >&6
4730 rm -f conftest.err conftest.$ac_objext \
4731 conftest$ac_exeext conftest.$ac_ext
4733 echo "$as_me: failed program was:" >&5
4734 sed 's/^/| /' conftest.$ac_ext >&5
4736 echo "$as_me:$LINENO: result: no" >&5
4737 echo "${ECHO_T}no" >&6; have_gmp=no
4739 rm -f conftest.err conftest.$ac_objext \
4740 conftest$ac_exeext conftest.$ac_ext
4743 CFLAGS="$saved_CFLAGS"
4745 if test x$have_gmp != xyes; then
4746 { { echo "$as_me:$LINENO: error: Building GCC requires GMP 4.1+ and MPFR 2.3.0+.
4747 Try the --with-gmp and/or --with-mpfr options to specify their locations.
4748 Copies of these libraries' source code can be found at their respective
4749 hosting sites as well as at ftp://gcc.gnu.org/pub/gcc/infrastructure/.
4750 See also http://gcc.gnu.org/install/prerequisites.html for additional info.
4751 If you obtained GMP and/or MPFR from a vendor distribution package, make
4752 sure that you have installed both the libraries and the header files.
4753 They may be located in separate packages." >&5
4754 echo "$as_me: error: Building GCC requires GMP 4.1+ and MPFR 2.3.0+.
4755 Try the --with-gmp and/or --with-mpfr options to specify their locations.
4756 Copies of these libraries' source code can be found at their respective
4757 hosting sites as well as at ftp://gcc.gnu.org/pub/gcc/infrastructure/.
4758 See also http://gcc.gnu.org/install/prerequisites.html for additional info.
4759 If you obtained GMP and/or MPFR from a vendor distribution package, make
4760 sure that you have installed both the libraries and the header files.
4761 They may be located in separate packages." >&2;}
4762 { (exit 1); exit 1; }; }
4766 # Flags needed for both GMP and/or MPFR
4770 # By default, C is the only stage 1 language.
4771 stage1_languages=,c,
4773 # Figure out what language subdirectories are present.
4774 # Look if the user specified --enable-languages="..."; if not, use
4775 # the environment variable $LANGUAGES if defined. $LANGUAGES might
4777 # NB: embedded tabs in this IF block -- do not untabify
4778 if test -d ${srcdir}/gcc; then
4779 if test x"${enable_languages+set}" != xset; then
4780 if test x"${LANGUAGES+set}" = xset; then
4781 enable_languages="${LANGUAGES}"
4782 echo configure.in: warning: setting LANGUAGES is deprecated, use --enable-languages instead 1>&2
4784 enable_languages=all
4787 if test x"${enable_languages}" = x ||
4788 test x"${enable_languages}" = xyes;
4790 echo configure.in: --enable-languages needs at least one language argument 1>&2
4794 enable_languages=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
4796 # 'f95' is the old name for the 'fortran' language. We issue a warning
4797 # and make the substitution.
4798 case ,${enable_languages}, in
4800 echo configure.in: warning: 'f95' as language name is deprecated, use 'fortran' instead 1>&2
4801 enable_languages=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
4805 # First scan to see if an enabled language requires some other language.
4806 # We assume that a given config-lang.in will list all the language
4807 # front ends it requires, even if some are required indirectly.
4808 for lang_frag in ${srcdir}/gcc/*/config-lang.in .. ; do
4809 case ${lang_frag} in
4811 # The odd quoting in the next line works around
4812 # an apparent bug in bash 1.12 on linux.
4813 ${srcdir}/gcc/[*]/config-lang.in) ;;
4815 # From the config-lang.in, get $language, $lang_requires
4819 for other in ${lang_requires} ; do
4820 case ,${enable_languages}, in
4824 echo " \`$other' language required by \`$language'; enabling" 1>&2
4825 enable_languages="${enable_languages},${other}"
4833 new_enable_languages=,c,
4834 missing_languages=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
4835 potential_languages=,c,
4837 for lang_frag in ${srcdir}/gcc/*/config-lang.in .. ; do
4838 case ${lang_frag} in
4840 # The odd quoting in the next line works around
4841 # an apparent bug in bash 1.12 on linux.
4842 ${srcdir}/gcc/[*]/config-lang.in) ;;
4844 # From the config-lang.in, get $language, $target_libs,
4845 # $lang_dirs, $boot_language, and $build_by_default
4851 build_by_default=yes
4853 if test x${language} = x; then
4854 echo "${lang_frag} doesn't set \$language." 1>&2
4858 case ,${enable_languages}, in
4860 # Language was explicitly selected; include it.
4864 # 'all' was selected, select it if it is a default language
4865 add_this_lang=${build_by_default}
4872 # Disable languages that need other directories if these aren't available.
4873 for i in $subdir_requires; do
4874 test -f "$srcdir/gcc/$i/config-lang.in" && continue
4875 case ,${enable_languages}, in
4877 # Specifically requested language; tell them.
4878 { { echo "$as_me:$LINENO: error: The gcc/$i directory contains parts of $language but is missing" >&5
4879 echo "$as_me: error: The gcc/$i directory contains parts of $language but is missing" >&2;}
4880 { (exit 1); exit 1; }; }
4884 add_this_lang=unsupported
4889 # Disable Ada if no preexisting GNAT is available.
4890 case ,${enable_languages},:${language}:${have_gnat} in
4891 *,${language},*:ada:no)
4892 # Specifically requested language; tell them.
4893 { { echo "$as_me:$LINENO: error: GNAT is required to build $language" >&5
4894 echo "$as_me: error: GNAT is required to build $language" >&2;}
4895 { (exit 1); exit 1; }; }
4899 add_this_lang=unsupported
4903 # Disable a language that is unsupported by the target.
4904 case " $unsupported_languages " in
4906 add_this_lang=unsupported
4910 case $add_this_lang in
4912 # Remove language-dependent dirs.
4913 eval noconfigdirs='"$noconfigdirs "'\"$target_libs $lang_dirs\"
4916 # Remove language-dependent dirs; still show language as supported.
4917 eval noconfigdirs='"$noconfigdirs "'\"$target_libs $lang_dirs\"
4918 potential_languages="${potential_languages}${language},"
4921 new_enable_languages="${new_enable_languages}${language},"
4922 potential_languages="${potential_languages}${language},"
4923 missing_languages=`echo "$missing_languages" | sed "s/,$language,/,/"`
4924 case ${boot_language} in
4926 # Add to (comma-separated) list of stage 1 languages.
4927 stage1_languages="${stage1_languages}${language},"
4936 # Check whether --enable-stage1-languages or --disable-stage1-languages was given.
4937 if test "${enable_stage1_languages+set}" = set; then
4938 enableval="$enable_stage1_languages"
4939 case ,${enable_stage1_languages}, in
4941 # Set it to something that will have no effect in the loop below
4942 enable_stage1_languages=c ;;
4944 enable_stage1_languages=`echo $new_enable_languages | \
4945 sed -e "s/^,//" -e "s/,$//" ` ;;
4947 enable_stage1_languages=`echo ,$enable_stage1_languages, | \
4948 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
4951 # Add "good" languages from enable_stage1_languages to stage1_languages,
4952 # while "bad" languages go in missing_languages. Leave no duplicates.
4953 for i in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
4954 case $potential_languages in
4956 case $stage1_languages in
4958 *) stage1_languages="$stage1_languages$i," ;;
4961 case $missing_languages in
4963 *) missing_languages="$missing_languages$i," ;;
4969 # Remove leading/trailing commas that were added for simplicity
4970 potential_languages=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
4971 missing_languages=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
4972 stage1_languages=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
4973 new_enable_languages=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
4975 if test "x$missing_languages" != x; then
4976 { { echo "$as_me:$LINENO: error:
4977 The following requested languages could not be built: ${missing_languages}
4978 Supported languages are: ${potential_languages}" >&5
4979 echo "$as_me: error:
4980 The following requested languages could not be built: ${missing_languages}
4981 Supported languages are: ${potential_languages}" >&2;}
4982 { (exit 1); exit 1; }; }
4984 if test "x$new_enable_languages" != "x$enable_languages"; then
4985 echo The following languages will be built: ${new_enable_languages}
4986 enable_languages="$new_enable_languages"
4990 ac_configure_args=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
4993 # Handle --disable-<component> generically.
4994 for dir in $configdirs $build_configdirs $target_configdirs ; do
4995 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
4996 varname=`echo $dirname | sed -e s/+/_/g`
4997 if eval test x\${enable_${varname}} "=" xno ; then
4998 noconfigdirs="$noconfigdirs $dir"
5002 # Check for Boehm's garbage collector
5003 # Check whether --enable-objc-gc or --disable-objc-gc was given.
5004 if test "${enable_objc_gc+set}" = set; then
5005 enableval="$enable_objc_gc"
5006 case ,${enable_languages},:${enable_objc_gc}:${noconfigdirs} in
5007 *,objc,*:*:yes:*target-boehm-gc*)
5008 { { echo "$as_me:$LINENO: error: Boehm's garbage collector was requested yet not supported in this configuration" >&5
5009 echo "$as_me: error: Boehm's garbage collector was requested yet not supported in this configuration" >&2;}
5010 { (exit 1); exit 1; }; }
5015 # Make sure we only build Boehm's garbage collector if required.
5016 case ,${enable_languages},:${enable_objc_gc} in
5018 # Keep target-boehm-gc if requested for Objective-C.
5021 # Otherwise remove target-boehm-gc depending on target-libjava.
5022 if echo " ${noconfigdirs} " | grep "target-libjava" >/dev/null 2>&1; then
5023 noconfigdirs="$noconfigdirs target-boehm-gc"
5028 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
5029 # $build_configdirs and $target_configdirs.
5030 # If we have the source for $noconfigdirs entries, add them to $notsupp.
5033 for dir in . $skipdirs $noconfigdirs ; do
5034 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
5035 if test $dir != . && echo " ${configdirs} " | grep " ${dir} " >/dev/null 2>&1; then
5036 configdirs=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
5037 if test -r $srcdir/$dirname/configure ; then
5038 if echo " ${skipdirs} " | grep " ${dir} " >/dev/null 2>&1; then
5041 notsupp="$notsupp $dir"
5045 if test $dir != . && echo " ${build_configdirs} " | grep " ${dir} " >/dev/null 2>&1; then
5046 build_configdirs=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
5047 if test -r $srcdir/$dirname/configure ; then
5048 if echo " ${skipdirs} " | grep " ${dir} " >/dev/null 2>&1; then
5051 notsupp="$notsupp $dir"
5055 if test $dir != . && echo " ${target_configdirs} " | grep " ${dir} " >/dev/null 2>&1; then
5056 target_configdirs=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
5057 if test -r $srcdir/$dirname/configure ; then
5058 if echo " ${skipdirs} " | grep " ${dir} " >/dev/null 2>&1; then
5061 notsupp="$notsupp $dir"
5067 # Sometimes the tools are distributed with libiberty but with no other
5068 # libraries. In that case, we don't want to build target-libiberty.
5069 # Don't let libgcc imply libiberty either.
5070 if test -n "${target_configdirs}" ; then
5073 for i in `echo ${target_configdirs} | sed -e s/target-//g` ; do
5074 if test "$i" = "libgcc"; then
5075 libgcc=target-libgcc
5076 elif test "$i" != "libiberty" ; then
5077 if test -r $srcdir/$i/configure ; then
5083 if test -z "${others}" ; then
5084 target_configdirs=$libgcc
5088 # Quietly strip out all directories which aren't configurable in this tree.
5089 # This relies on all configurable subdirectories being autoconfiscated, which
5091 build_configdirs_all="$build_configdirs"
5093 for i in ${build_configdirs_all} ; do
5094 j=`echo $i | sed -e s/build-//g`
5095 if test -f ${srcdir}/$j/configure ; then
5096 build_configdirs="${build_configdirs} $i"
5100 configdirs_all="$configdirs"
5102 for i in ${configdirs_all} ; do
5103 if test -f ${srcdir}/$i/configure ; then
5104 configdirs="${configdirs} $i"
5108 target_configdirs_all="$target_configdirs"
5110 for i in ${target_configdirs_all} ; do
5111 j=`echo $i | sed -e s/target-//g`
5112 if test -f ${srcdir}/$j/configure ; then
5113 target_configdirs="${target_configdirs} $i"
5117 # Produce a warning message for the subdirs we can't configure.
5118 # This isn't especially interesting in the Cygnus tree, but in the individual
5119 # FSF releases, it's important to let people know when their machine isn't
5120 # supported by the one or two programs in a package.
5122 if test -n "${notsupp}" && test -z "${norecursion}" ; then
5123 # If $appdirs is non-empty, at least one of those directories must still
5124 # be configured, or we error out. (E.g., if the gas release supports a
5125 # specified target in some subdirs but not the gas subdir, we shouldn't
5126 # pretend that all is well.)
5127 if test -n "$appdirs" ; then
5128 for dir in $appdirs ; do
5129 if test -r $dir/Makefile.in ; then
5130 if echo " ${configdirs} " | grep " ${dir} " >/dev/null 2>&1; then
5134 if echo " ${target_configdirs} " | grep " target-${dir} " >/dev/null 2>&1; then
5140 if test -n "$appdirs" ; then
5141 echo "*** This configuration is not supported by this package." 1>&2
5145 # Okay, some application will build, or we don't care to check. Still
5146 # notify of subdirs not getting built.
5147 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
5148 echo " ${notsupp}" 1>&2
5149 echo " (Any other directories should still work fine.)" 1>&2
5157 # To find our prefix, in gcc_cv_tool_prefix.
5159 # The user is always right.
5160 if test "${PATH_SEPARATOR+set}" != set; then
5161 echo "#! /bin/sh" >conf$$.sh
5162 echo "exit 0" >>conf$$.sh
5164 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5174 if test "x$exec_prefix" = xNONE; then
5175 if test "x$prefix" = xNONE; then
5176 gcc_cv_tool_prefix=$ac_default_prefix
5178 gcc_cv_tool_prefix=$prefix
5181 gcc_cv_tool_prefix=$exec_prefix
5184 # If there is no compiler in the tree, use the PATH only. In any
5185 # case, if there is no compiler in the tree nobody should use
5186 # AS_FOR_TARGET and LD_FOR_TARGET.
5187 if test x$host = x$build && test -f $srcdir/gcc/BASE-VER; then
5188 gcc_version=`cat $srcdir/gcc/BASE-VER`
5189 gcc_cv_tool_dirs="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
5190 gcc_cv_tool_dirs="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
5191 gcc_cv_tool_dirs="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
5192 gcc_cv_tool_dirs="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
5193 gcc_cv_tool_dirs="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
5194 gcc_cv_tool_dirs="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
5199 if test x$build = x$target && test -n "$md_exec_prefix"; then
5200 gcc_cv_tool_dirs="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
5208 # Check whether --with-build-sysroot or --without-build-sysroot was given.
5209 if test "${with_build_sysroot+set}" = set; then
5210 withval="$with_build_sysroot"
5211 if test x"$withval" != x ; then
5212 SYSROOT_CFLAGS_FOR_TARGET="--sysroot=$withval"
5215 SYSROOT_CFLAGS_FOR_TARGET=
5220 # Check whether --with-debug-prefix-map or --without-debug-prefix-map was given.
5221 if test "${with_debug_prefix_map+set}" = set; then
5222 withval="$with_debug_prefix_map"
5223 if test x"$withval" != x; then
5224 DEBUG_PREFIX_CFLAGS_FOR_TARGET=
5225 for debug_map in $withval; do
5226 DEBUG_PREFIX_CFLAGS_FOR_TARGET="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
5230 DEBUG_PREFIX_CFLAGS_FOR_TARGET=
5234 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
5235 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
5236 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
5237 # We want to ensure that TARGET libraries (which we know are built with
5238 # gcc) are built with "-O2 -g", so include those options when setting
5239 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
5240 if test "x$CFLAGS_FOR_TARGET" = x; then
5241 CFLAGS_FOR_TARGET=$CFLAGS
5244 *) CFLAGS_FOR_TARGET="-O2 $CFLAGS" ;;
5247 *" -g "* | *" -g3 "*) ;;
5248 *) CFLAGS_FOR_TARGET="-g $CFLAGS" ;;
5253 if test "x$CXXFLAGS_FOR_TARGET" = x; then
5254 CXXFLAGS_FOR_TARGET=$CXXFLAGS
5255 case " $CXXFLAGS " in
5257 *) CXXFLAGS_FOR_TARGET="-O2 $CXXFLAGS" ;;
5259 case " $CXXFLAGS " in
5260 *" -g "* | *" -g3 "*) ;;
5261 *) CXXFLAGS_FOR_TARGET="-g $CXXFLAGS" ;;
5266 # Handle --with-headers=XXX. If the value is not "yes", the contents of
5267 # the named directory are copied to $(tooldir)/sys-include.
5268 if test x"${with_headers}" != x && test x"${with_headers}" != xno ; then
5269 if test x${is_cross_compiler} = xno ; then
5270 echo 1>&2 '***' --with-headers is only supported when cross compiling
5273 if test x"${with_headers}" != xyes ; then
5274 x=${gcc_cv_tool_prefix}
5275 copy_dirs="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
5279 # Handle --with-libs=XXX. If the value is not "yes", the contents of
5280 # the name directories are copied to $(tooldir)/lib. Multiple directories
5282 if test x"${with_libs}" != x && test x"${with_libs}" != xno ; then
5283 if test x${is_cross_compiler} = xno ; then
5284 echo 1>&2 '***' --with-libs is only supported when cross compiling
5287 if test x"${with_libs}" != xyes ; then
5288 # Copy the libraries in reverse order, so that files in the first named
5289 # library override files in subsequent libraries.
5290 x=${gcc_cv_tool_prefix}
5291 for l in ${with_libs}; do
5292 copy_dirs="$l $x/${target_noncanonical}/lib ${copy_dirs}"
5297 # Set with_gnu_as and with_gnu_ld as appropriate.
5299 # This is done by determining whether or not the appropriate directory
5300 # is available, and by checking whether or not specific configurations
5301 # have requested that this magic not happen.
5303 # The command line options always override the explicit settings in
5304 # configure.in, and the settings in configure.in override this magic.
5306 # If the default for a toolchain is to use GNU as and ld, and you don't
5307 # want to do that, then you should use the --without-gnu-as and
5308 # --without-gnu-ld options for the configure script.
5310 if test x${use_gnu_as} = x &&
5311 echo " ${configdirs} " | grep " gas " > /dev/null 2>&1 ; then
5313 extra_host_args="$extra_host_args --with-gnu-as"
5316 if test x${use_gnu_ld} = x &&
5317 echo " ${configdirs} " | egrep " (go)?ld " > /dev/null 2>&1 ; then
5319 extra_host_args="$extra_host_args --with-gnu-ld"
5322 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
5323 # can detect this case.
5325 if test x${with_newlib} != xno && echo " ${target_configdirs} " | grep " target-newlib " > /dev/null 2>&1 ; then
5327 extra_host_args="$extra_host_args --with-newlib"
5330 # Handle ${copy_dirs}
5331 set fnord ${copy_dirs}
5333 while test $# != 0 ; do
5334 if test -f $2/COPIED && test x"`cat $2/COPIED`" = x"$1" ; then
5337 echo Copying $1 to $2
5339 # Use the install script to create the directory and all required
5340 # parent directories.
5341 if test -d $2 ; then
5345 ${srcdir}/install-sh -c -m 644 config.temp $2/COPIED
5348 # Copy the directory, assuming we have tar.
5349 # FIXME: Should we use B in the second tar? Not all systems support it.
5350 (cd $1; tar -cf - .) | (cd $2; tar -xpf -)
5352 # It is the responsibility of the user to correctly adjust all
5353 # symlinks. If somebody can figure out how to handle them correctly
5354 # here, feel free to add the code.
5361 # Determine a target-dependent exec_prefix that the installed
5362 # gcc will search in. Keep this list sorted by triplet, with
5363 # the *-*-osname triplets last.
5367 md_exec_prefix=/gnu/lib/gcc-lib
5369 i[34567]86-pc-msdosdjgpp*)
5370 md_exec_prefix=/dev/env/DJDIR/bin
5372 i[34567]86-*-sco3.2v5*)
5373 if test $with_gnu_as = yes; then
5374 md_exec_prefix=/usr/gnu/bin
5376 md_exec_prefix=/usr/ccs/bin/elf
5381 powerpc-*-chorusos* | \
5382 powerpc*-*-eabi* | \
5383 powerpc*-*-sysv* | \
5384 powerpc*-*-kaos* | \
5386 md_exec_prefix=/usr/ccs/bin
5391 md_exec_prefix=/usr/ccs/bin
5406 md_exec_prefix=/usr/ccs/bin
5410 extra_arflags_for_target=
5411 extra_nmflags_for_target=
5412 extra_ranlibflags_for_target=
5413 target_makefile_frag=/dev/null
5416 target_makefile_frag="config/mt-mep"
5419 target_makefile_frag="config/mt-spu"
5422 target_makefile_frag="config/mt-sde"
5424 mipsisa*-*-elfoabi*)
5425 target_makefile_frag="config/mt-mips-elfoabi"
5428 target_makefile_frag="config/mt-netware"
5430 *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu)
5431 target_makefile_frag="config/mt-gnu"
5433 *-*-aix4.[3456789]* | *-*-aix[56789].*)
5434 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
5435 # commands to handle both 32-bit and 64-bit objects. These flags are
5436 # harmless if we're using GNU nm or ar.
5437 extra_arflags_for_target=" -X32_64"
5438 extra_nmflags_for_target=" -B -X32_64"
5441 # ranlib from Darwin requires the -c flag to look at common symbols.
5442 extra_ranlibflags_for_target=" -c"
5444 mips*-*-pe | sh*-*-pe | *arm-wince-pe)
5445 target_makefile_frag="config/mt-wince"
5449 alphaieee_frag=/dev/null
5452 # This just makes sure to use the -mieee option to build target libs.
5453 # This should probably be set individually by each library.
5454 alphaieee_frag="config/mt-alphaieee"
5458 # If --enable-target-optspace always use -Os instead of -O2 to build
5459 # the target libraries, similarly if it is not specified, use -Os
5460 # on selected platforms.
5461 ospace_frag=/dev/null
5462 case "${enable_target_optspace}:${target}" in
5464 ospace_frag="config/mt-ospace"
5467 ospace_frag="config/mt-d30v"
5469 :m32r-* | :d10v-* | :fr30-*)
5470 ospace_frag="config/mt-ospace"
5475 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
5479 # Default to using --with-stabs for certain targets.
5480 if test x${with_stabs} = x ; then
5484 mips*-*-* | alpha*-*-osf*)
5486 extra_host_args="${extra_host_args} --with-stabs"
5491 # hpux11 in 64bit mode has libraries in a weird place. Arrange to find
5492 # them automatically.
5495 extra_host_args="$extra_host_args -x-libraries=/usr/lib/pa20_64 -x-includes=/usr/X11R6/include"
5499 # Some systems (e.g., one of the i386-aix systems the gas testers are
5500 # using) don't handle "\$" correctly, so don't use it here.
5501 tooldir='${exec_prefix}'/${target_noncanonical}
5502 build_tooldir=${tooldir}
5504 # Create a .gdbinit file which runs the one in srcdir
5505 # and tells GDB to look there for source files.
5507 if test -r ${srcdir}/.gdbinit ; then
5510 *) cat > ./.gdbinit <<EOF
5514 source ${srcdir}/.gdbinit
5520 # Make sure that the compiler is able to generate an executable. If it
5521 # can't, we are probably in trouble. We don't care whether we can run the
5522 # executable--we might be using a cross compiler--we only care whether it
5523 # can be created. At this point the main configure script has set CC.
5525 echo "int main () { return 0; }" > conftest.c
5526 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
5527 if test $? = 0 ; then
5528 if test -s conftest || test -s conftest.exe ; then
5534 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
5535 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
5542 # The Solaris /usr/ucb/cc compiler does not appear to work.
5544 sparc-sun-solaris2*)
5545 CCBASE="`echo ${CC-cc} | sed 's/ .*$//'`"
5546 if test "`type $CCBASE | sed 's/^[^/]*//'`" = "/usr/ucb/cc" ; then
5548 test -d /opt/SUNWspro/bin && could_use="/opt/SUNWspro/bin"
5549 if test -d /opt/cygnus/bin ; then
5550 if test "$could_use" = "" ; then
5551 could_use="/opt/cygnus/bin"
5553 could_use="$could_use or /opt/cygnus/bin"
5556 if test "$could_use" = "" ; then
5557 echo "Warning: compilation may fail because you're using"
5558 echo "/usr/ucb/cc. You should change your PATH or CC "
5559 echo "variable and rerun configure."
5561 echo "Warning: compilation may fail because you're using"
5562 echo "/usr/ucb/cc, when you should use the C compiler from"
5563 echo "$could_use. You should change your"
5564 echo "PATH or CC variable and rerun configure."
5571 *-*-hpux*) RPATH_ENVVAR=SHLIB_PATH ;;
5572 *-*-darwin* | *-*-rhapsody* ) RPATH_ENVVAR=DYLD_LIBRARY_PATH ;;
5573 *) RPATH_ENVVAR=LD_LIBRARY_PATH ;;
5576 # Record target_configdirs and the configure arguments for target and
5577 # build configuration in Makefile.
5578 target_configdirs=`echo "${target_configdirs}" | sed -e 's/target-//g'`
5579 build_configdirs=`echo "${build_configdirs}" | sed -e 's/build-//g'`
5581 # Determine whether gdb needs tk/tcl or not.
5582 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
5583 # and in that case we want gdb to be built without tk. Ugh!
5584 # In fact I believe gdb is the *only* package directly dependent on tk,
5585 # so we should be able to put the 'maybe's in unconditionally and
5586 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
5587 # 100% sure that that's safe though.
5589 gdb_tk="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
5590 case "$enable_gdbtk" in
5594 GDB_TK="${gdb_tk}" ;;
5596 # Only add the dependency on gdbtk when GDBtk is part of the gdb
5597 # distro. Eventually someone will fix this and move Insight, nee
5598 # gdbtk to a separate directory.
5599 if test -d ${srcdir}/gdb/gdbtk ; then
5606 CONFIGURE_GDB_TK=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
5607 INSTALL_GDB_TK=`echo ${GDB_TK} | sed s/-all-/-install-/g`
5609 # Strip out unwanted targets.
5611 # While at that, we remove Makefiles if we were started for recursive
5612 # configuration, so that the top-level Makefile reconfigures them,
5613 # like we used to do when configure itself was recursive.
5615 # Loop over modules. $extrasub must be used with care, limiting as
5616 # much as possible the usage of range addresses. That's because autoconf
5617 # splits the sed script to overcome limits in the number of commands,
5618 # and relying on carefully-timed sed passes may turn out to be very hard
5619 # to maintain later. In this particular case, you just have to be careful
5620 # not to nest @if/@endif pairs, because configure will not warn you at all.
5622 # Check whether --enable-bootstrap or --disable-bootstrap was given.
5623 if test "${enable_bootstrap+set}" = set; then
5624 enableval="$enable_bootstrap"
5627 enable_bootstrap=default
5630 # Issue errors and warnings for invalid/strange bootstrap combinations.
5631 case "$configdirs" in
5632 *gcc*) have_compiler=yes ;;
5633 *) have_compiler=no ;;
5636 case "$have_compiler:$host:$target:$enable_bootstrap" in
5639 # Default behavior. Enable bootstrap if we have a compiler
5640 # and we are in a native configuration.
5641 yes:$build:$build:default)
5642 enable_bootstrap=yes ;;
5645 enable_bootstrap=no ;;
5647 # We have a compiler and we are in a native configuration, bootstrap is ok
5648 yes:$build:$build:yes)
5651 # Other configurations, but we have a compiler. Assume the user knows
5654 { echo "$as_me:$LINENO: WARNING: trying to bootstrap a cross compiler" >&5
5655 echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
5658 # No compiler: if they passed --enable-bootstrap explicitly, fail
5660 { { echo "$as_me:$LINENO: error: cannot bootstrap without a compiler" >&5
5661 echo "$as_me: error: cannot bootstrap without a compiler" >&2;}
5662 { (exit 1); exit 1; }; } ;;
5664 # Fail if wrong command line
5666 { { echo "$as_me:$LINENO: error: invalid option for --enable-bootstrap" >&5
5667 echo "$as_me: error: invalid option for --enable-bootstrap" >&2;}
5668 { (exit 1); exit 1; }; }
5672 # Adjust the toplevel makefile according to whether bootstrap was selected.
5673 case "$enable_bootstrap" in
5675 bootstrap_suffix=bootstrap ;;
5677 bootstrap_suffix=no-bootstrap ;;
5680 for module in ${build_configdirs} ; do
5681 if test -z "${no_recursion}" \
5682 && test -f ${build_subdir}/${module}/Makefile; then
5683 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
5684 rm -f ${build_subdir}/${module}/Makefile
5687 /^@if build-$module\$/d
5688 /^@endif build-$module\$/d
5689 /^@if build-$module-$bootstrap_suffix\$/d
5690 /^@endif build-$module-$bootstrap_suffix\$/d"
5692 for module in ${configdirs} ; do
5693 if test -z "${no_recursion}"; then
5694 for file in stage*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile; do
5695 if test -f ${file}; then
5696 echo 1>&2 "*** removing ${file} to force reconfigure"
5703 /^@endif $module\$/d
5704 /^@if $module-$bootstrap_suffix\$/d
5705 /^@endif $module-$bootstrap_suffix\$/d"
5707 for module in ${target_configdirs} ; do
5708 if test -z "${no_recursion}" \
5709 && test -f ${target_subdir}/${module}/Makefile; then
5710 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
5711 rm -f ${target_subdir}/${module}/Makefile
5714 /^@if target-$module\$/d
5715 /^@endif target-$module\$/d
5716 /^@if target-$module-$bootstrap_suffix\$/d
5717 /^@endif target-$module-$bootstrap_suffix\$/d"
5721 /^@if /,/^@endif /d"
5723 # Create the serialization dependencies. This uses a temporary file.
5725 # Check whether --enable-serial-configure or --disable-serial-configure was given.
5726 if test "${enable_serial_configure+set}" = set; then
5727 enableval="$enable_serial_configure"
5731 case ${enable_serial_configure} in
5733 enable_serial_build_configure=yes
5734 enable_serial_host_configure=yes
5735 enable_serial_target_configure=yes
5739 # These force 'configure's to be done one at a time, to avoid problems
5740 # with contention over a shared config.cache.
5742 echo '# serdep.tmp' > serdep.tmp
5744 test "x${enable_serial_build_configure}" = xyes &&
5745 for item in ${build_configdirs} ; do
5748 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp ;;
5753 test "x${enable_serial_host_configure}" = xyes &&
5754 for item in ${configdirs} ; do
5757 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp ;;
5762 test "x${enable_serial_target_configure}" = xyes &&
5763 for item in ${target_configdirs} ; do
5766 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp ;;
5770 serialization_dependencies=serdep.tmp
5773 # Base args. Strip norecursion, cache-file, srcdir, host, build,
5774 # target, nonopt, and variable assignments. These are the ones we
5775 # might not want to pass down to subconfigures. Also strip
5776 # program-prefix, program-suffix, and program-transform-name, so that
5777 # we can pass down a consistent program-transform-name.
5781 eval "set -- $ac_configure_args"
5784 if test X"$skip_next" = X"yes"; then
5788 if test X"$keep_next" = X"yes"; then
5791 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
5793 baseargs="$baseargs '$ac_arg'"
5798 # Handle separated arguments. Based on the logic generated by
5801 *=* | --config-cache | -C | -disable-* | --disable-* \
5802 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
5803 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
5804 | -with-* | --with-* | -without-* | --without-* | --x)
5830 -program-prefix* | \
5831 -program-suffix* | \
5832 -program-transform-name* )
5833 skip_next=$separate_arg
5837 # An option. Add it.
5840 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
5842 baseargs="$baseargs '$ac_arg'"
5843 keep_next=$separate_arg
5846 # Either a variable assignment, or a nonopt (triplet). Don't
5847 # pass it down; let the Makefile handle this.
5852 # Remove the initial space we just introduced and, as these will be
5853 # expanded by make, quote '$'.
5854 baseargs=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
5856 # Add in --program-transform-name, after --program-prefix and
5857 # --program-suffix have been applied to it. Autoconf has already
5858 # doubled dollar signs and backslashes in program_transform_name; we want
5859 # the backslashes un-doubled, and then the entire thing wrapped in single
5860 # quotes, because this will be expanded first by make and then by the shell.
5861 # Also, because we want to override the logic in subdir configure scripts to
5862 # choose program_transform_name, replace any s,x,x, with s,y,y,.
5863 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
5864 ${program_transform_name}
5866 gcc_transform_name=`cat conftestsed.out`
5867 rm -f conftestsed.out
5868 baseargs="$baseargs --program-transform-name='${gcc_transform_name}'"
5869 if test "$silent" = yes; then
5870 baseargs="$baseargs --silent"
5873 # For the build-side libraries, we just need to pretend we're native,
5874 # and not use the same cache file. Multilibs are neither needed nor
5876 build_configargs="--cache-file=../config.cache ${baseargs}"
5878 # For host modules, accept cache file option, or specification as blank.
5879 case "${cache_file}" in
5881 cache_file_option="" ;;
5882 /* | [A-Za-z]:[\\/]* ) # absolute path
5883 cache_file_option="--cache-file=${cache_file}" ;;
5885 cache_file_option="--cache-file=../${cache_file}" ;;
5888 # Host dirs don't like to share a cache file either, horribly enough.
5889 # This seems to be due to autoconf 2.5x stupidity.
5890 host_configargs="--cache-file=./config.cache ${extra_host_args} ${baseargs}"
5892 target_configargs=${baseargs}
5894 # Passing a --with-cross-host argument lets the target libraries know
5895 # whether they are being built with a cross-compiler or being built
5896 # native. However, it would be better to use other mechanisms to make the
5897 # sorts of decisions they want to make on this basis. Please consider
5898 # this option to be deprecated. FIXME.
5899 if test x${is_cross_compiler} = xyes ; then
5900 target_configargs="--with-cross-host=${host_noncanonical} ${target_configargs}"
5903 # Default to --enable-multilib.
5904 if test x${enable_multilib} = x ; then
5905 target_configargs="--enable-multilib ${target_configargs}"
5908 # Pass --with-newlib if appropriate. Note that target_configdirs has
5909 # changed from the earlier setting of with_newlib.
5910 if test x${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib ; then
5911 target_configargs="--with-newlib ${target_configargs}"
5914 # Different target subdirs use different values of certain variables
5915 # (notably CXX). Worse, multilibs use *lots* of different values.
5916 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
5917 # it doesn't automatically accept command-line overrides of them.
5918 # This means it's not safe for target subdirs to share a cache file,
5919 # which is disgusting, but there you have it. Hopefully this can be
5920 # fixed in future. It's still worthwhile to use a cache file for each
5921 # directory. I think.
5923 # Pass the appropriate --build, --host, --target and --cache-file arguments.
5924 # We need to pass --target, as newer autoconf's requires consistency
5925 # for target_alias and gcc doesn't manage it consistently.
5926 target_configargs="--cache-file=./config.cache ${target_configargs}"
5929 case " $target_configdirs " in
5931 case " $target_configargs " in
5932 *" --with-newlib "*)
5935 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' ;;
5938 # If we're not building GCC, don't discard standard headers.
5939 if test -d ${srcdir}/gcc; then
5940 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -nostdinc'
5942 if test "${build}" != "${host}"; then
5943 # On Canadian crosses, CC_FOR_TARGET will have already been set
5944 # by `configure', so we won't have an opportunity to add -Bgcc/
5945 # to it. This is right: we don't want to search that directory
5946 # for binaries, but we want the header files in there, so add
5948 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include'
5950 # Someone might think of using the pre-installed headers on
5951 # Canadian crosses, in case the installed compiler is not fully
5952 # compatible with the compiler being built. In this case, it
5953 # would be better to flag an error than risking having
5954 # incompatible object files being constructed. We can't
5955 # guarantee that an error will be flagged, but let's hope the
5956 # compiler will do it, when presented with incompatible header
5961 case "${target}-${is_cross_compiler}" in
5962 i[3456789]86-*-linux*-no)
5963 # Here host == target, so we don't need to build gcc,
5964 # so we don't want to discard standard headers.
5965 FLAGS_FOR_TARGET=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
5968 # If we're building newlib, use its generic headers last, but search
5969 # for any libc-related directories first (so make it the last -B
5971 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
5973 # If we're building libgloss, find the startup file, simulator library
5974 # and linker script.
5975 case " $target_configdirs " in
5977 # Look for startup file, simulator library and maybe linker script.
5978 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
5979 # Look for libnosys.a in case the target needs it.
5980 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
5981 # Most targets have the linker script in the source directory.
5982 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
5993 # Can't be handled as Cygwin above since Mingw does not use newlib.
5994 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' ;;
5997 # Allow the user to override the flags for
5998 # our build compiler if desired.
5999 if test x"${build}" = x"${host}" ; then
6000 CFLAGS_FOR_BUILD=${CFLAGS_FOR_BUILD-${CFLAGS}}
6001 CXXFLAGS_FOR_BUILD=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
6002 LDFLAGS_FOR_BUILD=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
6005 # On Canadian crosses, we'll be searching the right directories for
6006 # the previously-installed cross compiler, so don't bother to add
6007 # flags for directories within the install tree of the compiler
6008 # being built; programs in there won't even run.
6009 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
6010 # Search for pre-installed headers if nothing else fits.
6011 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
6014 if test "x${use_gnu_ld}" = x &&
6015 echo " ${configdirs} " | grep " ld " > /dev/null ; then
6016 # Arrange for us to find uninstalled linker scripts.
6017 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
6020 # Search for other target-specific linker scripts and such.
6023 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
6027 # Makefile fragments.
6028 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
6030 eval fragval=\$$frag
6031 if test $fragval != /dev/null; then
6032 eval $frag=${srcdir}/$fragval
6040 # Miscellanea: directories, flags, etc.
6048 # Build module lists & subconfigure args.
6052 # Host module lists & subconfigure args.
6056 # Target module lists & subconfigure args.
6078 # Generate default definitions for YACC, M4, LEX and other programs that run
6079 # on the build machine. These are used if the Makefile can't locate these
6080 # programs in objdir.
6081 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
6083 for ac_prog in 'bison -y' byacc yacc
6085 # Extract the first word of "$ac_prog", so it can be a program name with args.
6086 set dummy $ac_prog; ac_word=$2
6087 echo "$as_me:$LINENO: checking for $ac_word" >&5
6088 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6089 if test "${ac_cv_prog_YACC+set}" = set; then
6090 echo $ECHO_N "(cached) $ECHO_C" >&6
6092 if test -n "$YACC"; then
6093 ac_cv_prog_YACC="$YACC" # Let the user override the test.
6095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6099 test -z "$as_dir" && as_dir=.
6100 for ac_exec_ext in '' $ac_executable_extensions; do
6101 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6102 ac_cv_prog_YACC="$ac_prog"
6103 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6111 YACC=$ac_cv_prog_YACC
6112 if test -n "$YACC"; then
6113 echo "$as_me:$LINENO: result: $YACC" >&5
6114 echo "${ECHO_T}$YACC" >&6
6116 echo "$as_me:$LINENO: result: no" >&5
6117 echo "${ECHO_T}no" >&6
6120 test -n "$YACC" && break
6122 test -n "$YACC" || YACC="$MISSING bison -y"
6124 case " $build_configdirs " in
6125 *" bison "*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
6126 *" byacc "*) YACC='$$r/$(BUILD_SUBDIR)/byacc/byacc' ;;
6129 for ac_prog in bison
6131 # Extract the first word of "$ac_prog", so it can be a program name with args.
6132 set dummy $ac_prog; ac_word=$2
6133 echo "$as_me:$LINENO: checking for $ac_word" >&5
6134 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6135 if test "${ac_cv_prog_BISON+set}" = set; then
6136 echo $ECHO_N "(cached) $ECHO_C" >&6
6138 if test -n "$BISON"; then
6139 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6145 test -z "$as_dir" && as_dir=.
6146 for ac_exec_ext in '' $ac_executable_extensions; do
6147 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6148 ac_cv_prog_BISON="$ac_prog"
6149 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6157 BISON=$ac_cv_prog_BISON
6158 if test -n "$BISON"; then
6159 echo "$as_me:$LINENO: result: $BISON" >&5
6160 echo "${ECHO_T}$BISON" >&6
6162 echo "$as_me:$LINENO: result: no" >&5
6163 echo "${ECHO_T}no" >&6
6166 test -n "$BISON" && break
6168 test -n "$BISON" || BISON="$MISSING bison"
6170 case " $build_configdirs " in
6171 *" bison "*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
6174 for ac_prog in gm4 gnum4 m4
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_M4+set}" = set; then
6181 echo $ECHO_N "(cached) $ECHO_C" >&6
6183 if test -n "$M4"; then
6184 ac_cv_prog_M4="$M4" # 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_M4="$ac_prog"
6194 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6203 if test -n "$M4"; then
6204 echo "$as_me:$LINENO: result: $M4" >&5
6205 echo "${ECHO_T}$M4" >&6
6207 echo "$as_me:$LINENO: result: no" >&5
6208 echo "${ECHO_T}no" >&6
6211 test -n "$M4" && break
6213 test -n "$M4" || M4="$MISSING m4"
6215 case " $build_configdirs " in
6216 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
6219 for ac_prog in flex lex
6221 # Extract the first word of "$ac_prog", so it can be a program name with args.
6222 set dummy $ac_prog; ac_word=$2
6223 echo "$as_me:$LINENO: checking for $ac_word" >&5
6224 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6225 if test "${ac_cv_prog_LEX+set}" = set; then
6226 echo $ECHO_N "(cached) $ECHO_C" >&6
6228 if test -n "$LEX"; then
6229 ac_cv_prog_LEX="$LEX" # Let the user override the test.
6231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6235 test -z "$as_dir" && as_dir=.
6236 for ac_exec_ext in '' $ac_executable_extensions; do
6237 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6238 ac_cv_prog_LEX="$ac_prog"
6239 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6248 if test -n "$LEX"; then
6249 echo "$as_me:$LINENO: result: $LEX" >&5
6250 echo "${ECHO_T}$LEX" >&6
6252 echo "$as_me:$LINENO: result: no" >&5
6253 echo "${ECHO_T}no" >&6
6256 test -n "$LEX" && break
6258 test -n "$LEX" || LEX="$MISSING flex"
6260 case " $build_configdirs " in
6261 *" flex "*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
6262 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
6267 # Extract the first word of "$ac_prog", so it can be a program name with args.
6268 set dummy $ac_prog; ac_word=$2
6269 echo "$as_me:$LINENO: checking for $ac_word" >&5
6270 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6271 if test "${ac_cv_prog_FLEX+set}" = set; then
6272 echo $ECHO_N "(cached) $ECHO_C" >&6
6274 if test -n "$FLEX"; then
6275 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6281 test -z "$as_dir" && as_dir=.
6282 for ac_exec_ext in '' $ac_executable_extensions; do
6283 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6284 ac_cv_prog_FLEX="$ac_prog"
6285 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6293 FLEX=$ac_cv_prog_FLEX
6294 if test -n "$FLEX"; then
6295 echo "$as_me:$LINENO: result: $FLEX" >&5
6296 echo "${ECHO_T}$FLEX" >&6
6298 echo "$as_me:$LINENO: result: no" >&5
6299 echo "${ECHO_T}no" >&6
6302 test -n "$FLEX" && break
6304 test -n "$FLEX" || FLEX="$MISSING flex"
6306 case " $build_configdirs " in
6307 *" flex "*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
6310 for ac_prog in makeinfo
6312 # Extract the first word of "$ac_prog", so it can be a program name with args.
6313 set dummy $ac_prog; ac_word=$2
6314 echo "$as_me:$LINENO: checking for $ac_word" >&5
6315 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6316 if test "${ac_cv_prog_MAKEINFO+set}" = set; then
6317 echo $ECHO_N "(cached) $ECHO_C" >&6
6319 if test -n "$MAKEINFO"; then
6320 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
6322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6326 test -z "$as_dir" && as_dir=.
6327 for ac_exec_ext in '' $ac_executable_extensions; do
6328 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6329 ac_cv_prog_MAKEINFO="$ac_prog"
6330 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6338 MAKEINFO=$ac_cv_prog_MAKEINFO
6339 if test -n "$MAKEINFO"; then
6340 echo "$as_me:$LINENO: result: $MAKEINFO" >&5
6341 echo "${ECHO_T}$MAKEINFO" >&6
6343 echo "$as_me:$LINENO: result: no" >&5
6344 echo "${ECHO_T}no" >&6
6347 test -n "$MAKEINFO" && break
6349 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo"
6351 case " $build_configdirs " in
6352 *" texinfo "*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
6355 # For an installed makeinfo, we require it to be from texinfo 4.6 or
6356 # higher, else we use the "missing" dummy.
6357 if ${MAKEINFO} --version \
6358 | egrep 'texinfo[^0-9]*(4\.([6-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
6361 MAKEINFO="$MISSING makeinfo"
6367 # FIXME: expect and dejagnu may become build tools?
6369 for ac_prog in expect
6371 # Extract the first word of "$ac_prog", so it can be a program name with args.
6372 set dummy $ac_prog; ac_word=$2
6373 echo "$as_me:$LINENO: checking for $ac_word" >&5
6374 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6375 if test "${ac_cv_prog_EXPECT+set}" = set; then
6376 echo $ECHO_N "(cached) $ECHO_C" >&6
6378 if test -n "$EXPECT"; then
6379 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
6381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6385 test -z "$as_dir" && as_dir=.
6386 for ac_exec_ext in '' $ac_executable_extensions; do
6387 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6388 ac_cv_prog_EXPECT="$ac_prog"
6389 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6397 EXPECT=$ac_cv_prog_EXPECT
6398 if test -n "$EXPECT"; then
6399 echo "$as_me:$LINENO: result: $EXPECT" >&5
6400 echo "${ECHO_T}$EXPECT" >&6
6402 echo "$as_me:$LINENO: result: no" >&5
6403 echo "${ECHO_T}no" >&6
6406 test -n "$EXPECT" && break
6408 test -n "$EXPECT" || EXPECT="expect"
6410 case " $configdirs " in
6412 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
6416 for ac_prog in runtest
6418 # Extract the first word of "$ac_prog", so it can be a program name with args.
6419 set dummy $ac_prog; ac_word=$2
6420 echo "$as_me:$LINENO: checking for $ac_word" >&5
6421 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6422 if test "${ac_cv_prog_RUNTEST+set}" = set; then
6423 echo $ECHO_N "(cached) $ECHO_C" >&6
6425 if test -n "$RUNTEST"; then
6426 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
6428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6432 test -z "$as_dir" && as_dir=.
6433 for ac_exec_ext in '' $ac_executable_extensions; do
6434 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6435 ac_cv_prog_RUNTEST="$ac_prog"
6436 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6444 RUNTEST=$ac_cv_prog_RUNTEST
6445 if test -n "$RUNTEST"; then
6446 echo "$as_me:$LINENO: result: $RUNTEST" >&5
6447 echo "${ECHO_T}$RUNTEST" >&6
6449 echo "$as_me:$LINENO: result: no" >&5
6450 echo "${ECHO_T}no" >&6
6453 test -n "$RUNTEST" && break
6455 test -n "$RUNTEST" || RUNTEST="runtest"
6457 case " $configdirs " in
6459 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
6466 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
6467 ncn_target_tool_prefix=
6468 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
6472 if test -n "$AR"; then
6474 elif test -n "$ac_cv_prog_AR"; then
6478 if test -n "$ac_cv_prog_AR"; then
6479 for ncn_progname in ar; do
6480 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6481 set dummy ${ncn_progname}; ac_word=$2
6482 echo "$as_me:$LINENO: checking for $ac_word" >&5
6483 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6484 if test "${ac_cv_prog_AR+set}" = set; then
6485 echo $ECHO_N "(cached) $ECHO_C" >&6
6487 if test -n "$AR"; then
6488 ac_cv_prog_AR="$AR" # Let the user override the test.
6490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6494 test -z "$as_dir" && as_dir=.
6495 for ac_exec_ext in '' $ac_executable_extensions; do
6496 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6497 ac_cv_prog_AR="${ncn_progname}"
6498 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6507 if test -n "$AR"; then
6508 echo "$as_me:$LINENO: result: $AR" >&5
6509 echo "${ECHO_T}$AR" >&6
6511 echo "$as_me:$LINENO: result: no" >&5
6512 echo "${ECHO_T}no" >&6
6518 for ncn_progname in ar; do
6519 if test -n "$ncn_tool_prefix"; then
6520 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
6521 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
6522 echo "$as_me:$LINENO: checking for $ac_word" >&5
6523 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6524 if test "${ac_cv_prog_AR+set}" = set; then
6525 echo $ECHO_N "(cached) $ECHO_C" >&6
6527 if test -n "$AR"; then
6528 ac_cv_prog_AR="$AR" # Let the user override the test.
6530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6534 test -z "$as_dir" && as_dir=.
6535 for ac_exec_ext in '' $ac_executable_extensions; do
6536 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6537 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
6538 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6547 if test -n "$AR"; then
6548 echo "$as_me:$LINENO: result: $AR" >&5
6549 echo "${ECHO_T}$AR" >&6
6551 echo "$as_me:$LINENO: result: no" >&5
6552 echo "${ECHO_T}no" >&6
6556 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
6557 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6558 set dummy ${ncn_progname}; ac_word=$2
6559 echo "$as_me:$LINENO: checking for $ac_word" >&5
6560 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6561 if test "${ac_cv_prog_AR+set}" = set; then
6562 echo $ECHO_N "(cached) $ECHO_C" >&6
6564 if test -n "$AR"; then
6565 ac_cv_prog_AR="$AR" # Let the user override the test.
6567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6571 test -z "$as_dir" && as_dir=.
6572 for ac_exec_ext in '' $ac_executable_extensions; do
6573 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6574 ac_cv_prog_AR="${ncn_progname}"
6575 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6584 if test -n "$AR"; then
6585 echo "$as_me:$LINENO: result: $AR" >&5
6586 echo "${ECHO_T}$AR" >&6
6588 echo "$as_me:$LINENO: result: no" >&5
6589 echo "${ECHO_T}no" >&6
6593 test -n "$ac_cv_prog_AR" && break
6596 if test -z "$ac_cv_prog_AR" ; then
6598 if test $build = $host ; then
6601 AR="${ncn_tool_prefix}$2"
6607 if test -n "$AS"; then
6609 elif test -n "$ac_cv_prog_AS"; then
6613 if test -n "$ac_cv_prog_AS"; then
6614 for ncn_progname in as; do
6615 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6616 set dummy ${ncn_progname}; ac_word=$2
6617 echo "$as_me:$LINENO: checking for $ac_word" >&5
6618 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6619 if test "${ac_cv_prog_AS+set}" = set; then
6620 echo $ECHO_N "(cached) $ECHO_C" >&6
6622 if test -n "$AS"; then
6623 ac_cv_prog_AS="$AS" # Let the user override the test.
6625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6629 test -z "$as_dir" && as_dir=.
6630 for ac_exec_ext in '' $ac_executable_extensions; do
6631 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6632 ac_cv_prog_AS="${ncn_progname}"
6633 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6642 if test -n "$AS"; then
6643 echo "$as_me:$LINENO: result: $AS" >&5
6644 echo "${ECHO_T}$AS" >&6
6646 echo "$as_me:$LINENO: result: no" >&5
6647 echo "${ECHO_T}no" >&6
6653 for ncn_progname in as; do
6654 if test -n "$ncn_tool_prefix"; then
6655 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
6656 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
6657 echo "$as_me:$LINENO: checking for $ac_word" >&5
6658 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6659 if test "${ac_cv_prog_AS+set}" = set; then
6660 echo $ECHO_N "(cached) $ECHO_C" >&6
6662 if test -n "$AS"; then
6663 ac_cv_prog_AS="$AS" # Let the user override the test.
6665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6669 test -z "$as_dir" && as_dir=.
6670 for ac_exec_ext in '' $ac_executable_extensions; do
6671 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6672 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
6673 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6682 if test -n "$AS"; then
6683 echo "$as_me:$LINENO: result: $AS" >&5
6684 echo "${ECHO_T}$AS" >&6
6686 echo "$as_me:$LINENO: result: no" >&5
6687 echo "${ECHO_T}no" >&6
6691 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
6692 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6693 set dummy ${ncn_progname}; ac_word=$2
6694 echo "$as_me:$LINENO: checking for $ac_word" >&5
6695 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6696 if test "${ac_cv_prog_AS+set}" = set; then
6697 echo $ECHO_N "(cached) $ECHO_C" >&6
6699 if test -n "$AS"; then
6700 ac_cv_prog_AS="$AS" # Let the user override the test.
6702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6706 test -z "$as_dir" && as_dir=.
6707 for ac_exec_ext in '' $ac_executable_extensions; do
6708 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6709 ac_cv_prog_AS="${ncn_progname}"
6710 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6719 if test -n "$AS"; then
6720 echo "$as_me:$LINENO: result: $AS" >&5
6721 echo "${ECHO_T}$AS" >&6
6723 echo "$as_me:$LINENO: result: no" >&5
6724 echo "${ECHO_T}no" >&6
6728 test -n "$ac_cv_prog_AS" && break
6731 if test -z "$ac_cv_prog_AS" ; then
6733 if test $build = $host ; then
6736 AS="${ncn_tool_prefix}$2"
6742 if test -n "$DLLTOOL"; then
6743 ac_cv_prog_DLLTOOL=$DLLTOOL
6744 elif test -n "$ac_cv_prog_DLLTOOL"; then
6745 DLLTOOL=$ac_cv_prog_DLLTOOL
6748 if test -n "$ac_cv_prog_DLLTOOL"; then
6749 for ncn_progname in dlltool; do
6750 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6751 set dummy ${ncn_progname}; ac_word=$2
6752 echo "$as_me:$LINENO: checking for $ac_word" >&5
6753 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6754 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
6755 echo $ECHO_N "(cached) $ECHO_C" >&6
6757 if test -n "$DLLTOOL"; then
6758 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6764 test -z "$as_dir" && as_dir=.
6765 for ac_exec_ext in '' $ac_executable_extensions; do
6766 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6767 ac_cv_prog_DLLTOOL="${ncn_progname}"
6768 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6776 DLLTOOL=$ac_cv_prog_DLLTOOL
6777 if test -n "$DLLTOOL"; then
6778 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
6779 echo "${ECHO_T}$DLLTOOL" >&6
6781 echo "$as_me:$LINENO: result: no" >&5
6782 echo "${ECHO_T}no" >&6
6788 for ncn_progname in dlltool; do
6789 if test -n "$ncn_tool_prefix"; then
6790 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
6791 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
6792 echo "$as_me:$LINENO: checking for $ac_word" >&5
6793 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6794 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
6795 echo $ECHO_N "(cached) $ECHO_C" >&6
6797 if test -n "$DLLTOOL"; then
6798 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6804 test -z "$as_dir" && as_dir=.
6805 for ac_exec_ext in '' $ac_executable_extensions; do
6806 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6807 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
6808 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6816 DLLTOOL=$ac_cv_prog_DLLTOOL
6817 if test -n "$DLLTOOL"; then
6818 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
6819 echo "${ECHO_T}$DLLTOOL" >&6
6821 echo "$as_me:$LINENO: result: no" >&5
6822 echo "${ECHO_T}no" >&6
6826 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
6827 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6828 set dummy ${ncn_progname}; ac_word=$2
6829 echo "$as_me:$LINENO: checking for $ac_word" >&5
6830 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6831 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
6832 echo $ECHO_N "(cached) $ECHO_C" >&6
6834 if test -n "$DLLTOOL"; then
6835 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6841 test -z "$as_dir" && as_dir=.
6842 for ac_exec_ext in '' $ac_executable_extensions; do
6843 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6844 ac_cv_prog_DLLTOOL="${ncn_progname}"
6845 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6853 DLLTOOL=$ac_cv_prog_DLLTOOL
6854 if test -n "$DLLTOOL"; then
6855 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
6856 echo "${ECHO_T}$DLLTOOL" >&6
6858 echo "$as_me:$LINENO: result: no" >&5
6859 echo "${ECHO_T}no" >&6
6863 test -n "$ac_cv_prog_DLLTOOL" && break
6866 if test -z "$ac_cv_prog_DLLTOOL" ; then
6868 if test $build = $host ; then
6871 DLLTOOL="${ncn_tool_prefix}$2"
6877 if test -n "$LD"; then
6879 elif test -n "$ac_cv_prog_LD"; then
6883 if test -n "$ac_cv_prog_LD"; then
6884 for ncn_progname in ld; do
6885 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6886 set dummy ${ncn_progname}; ac_word=$2
6887 echo "$as_me:$LINENO: checking for $ac_word" >&5
6888 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6889 if test "${ac_cv_prog_LD+set}" = set; then
6890 echo $ECHO_N "(cached) $ECHO_C" >&6
6892 if test -n "$LD"; then
6893 ac_cv_prog_LD="$LD" # Let the user override the test.
6895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6899 test -z "$as_dir" && as_dir=.
6900 for ac_exec_ext in '' $ac_executable_extensions; do
6901 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6902 ac_cv_prog_LD="${ncn_progname}"
6903 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6912 if test -n "$LD"; then
6913 echo "$as_me:$LINENO: result: $LD" >&5
6914 echo "${ECHO_T}$LD" >&6
6916 echo "$as_me:$LINENO: result: no" >&5
6917 echo "${ECHO_T}no" >&6
6923 for ncn_progname in ld; do
6924 if test -n "$ncn_tool_prefix"; then
6925 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
6926 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
6927 echo "$as_me:$LINENO: checking for $ac_word" >&5
6928 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6929 if test "${ac_cv_prog_LD+set}" = set; then
6930 echo $ECHO_N "(cached) $ECHO_C" >&6
6932 if test -n "$LD"; then
6933 ac_cv_prog_LD="$LD" # Let the user override the test.
6935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6939 test -z "$as_dir" && as_dir=.
6940 for ac_exec_ext in '' $ac_executable_extensions; do
6941 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6942 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
6943 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6952 if test -n "$LD"; then
6953 echo "$as_me:$LINENO: result: $LD" >&5
6954 echo "${ECHO_T}$LD" >&6
6956 echo "$as_me:$LINENO: result: no" >&5
6957 echo "${ECHO_T}no" >&6
6961 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
6962 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6963 set dummy ${ncn_progname}; ac_word=$2
6964 echo "$as_me:$LINENO: checking for $ac_word" >&5
6965 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6966 if test "${ac_cv_prog_LD+set}" = set; then
6967 echo $ECHO_N "(cached) $ECHO_C" >&6
6969 if test -n "$LD"; then
6970 ac_cv_prog_LD="$LD" # Let the user override the test.
6972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6976 test -z "$as_dir" && as_dir=.
6977 for ac_exec_ext in '' $ac_executable_extensions; do
6978 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6979 ac_cv_prog_LD="${ncn_progname}"
6980 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6989 if test -n "$LD"; then
6990 echo "$as_me:$LINENO: result: $LD" >&5
6991 echo "${ECHO_T}$LD" >&6
6993 echo "$as_me:$LINENO: result: no" >&5
6994 echo "${ECHO_T}no" >&6
6998 test -n "$ac_cv_prog_LD" && break
7001 if test -z "$ac_cv_prog_LD" ; then
7003 if test $build = $host ; then
7006 LD="${ncn_tool_prefix}$2"
7012 if test -n "$LIPO"; then
7013 ac_cv_prog_LIPO=$LIPO
7014 elif test -n "$ac_cv_prog_LIPO"; then
7015 LIPO=$ac_cv_prog_LIPO
7018 if test -n "$ac_cv_prog_LIPO"; then
7019 for ncn_progname in lipo; do
7020 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7021 set dummy ${ncn_progname}; ac_word=$2
7022 echo "$as_me:$LINENO: checking for $ac_word" >&5
7023 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7024 if test "${ac_cv_prog_LIPO+set}" = set; then
7025 echo $ECHO_N "(cached) $ECHO_C" >&6
7027 if test -n "$LIPO"; then
7028 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7034 test -z "$as_dir" && as_dir=.
7035 for ac_exec_ext in '' $ac_executable_extensions; do
7036 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7037 ac_cv_prog_LIPO="${ncn_progname}"
7038 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7046 LIPO=$ac_cv_prog_LIPO
7047 if test -n "$LIPO"; then
7048 echo "$as_me:$LINENO: result: $LIPO" >&5
7049 echo "${ECHO_T}$LIPO" >&6
7051 echo "$as_me:$LINENO: result: no" >&5
7052 echo "${ECHO_T}no" >&6
7058 for ncn_progname in lipo; do
7059 if test -n "$ncn_tool_prefix"; then
7060 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7061 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7062 echo "$as_me:$LINENO: checking for $ac_word" >&5
7063 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7064 if test "${ac_cv_prog_LIPO+set}" = set; then
7065 echo $ECHO_N "(cached) $ECHO_C" >&6
7067 if test -n "$LIPO"; then
7068 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7074 test -z "$as_dir" && as_dir=.
7075 for ac_exec_ext in '' $ac_executable_extensions; do
7076 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7077 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
7078 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7086 LIPO=$ac_cv_prog_LIPO
7087 if test -n "$LIPO"; then
7088 echo "$as_me:$LINENO: result: $LIPO" >&5
7089 echo "${ECHO_T}$LIPO" >&6
7091 echo "$as_me:$LINENO: result: no" >&5
7092 echo "${ECHO_T}no" >&6
7096 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
7097 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7098 set dummy ${ncn_progname}; ac_word=$2
7099 echo "$as_me:$LINENO: checking for $ac_word" >&5
7100 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7101 if test "${ac_cv_prog_LIPO+set}" = set; then
7102 echo $ECHO_N "(cached) $ECHO_C" >&6
7104 if test -n "$LIPO"; then
7105 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7111 test -z "$as_dir" && as_dir=.
7112 for ac_exec_ext in '' $ac_executable_extensions; do
7113 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7114 ac_cv_prog_LIPO="${ncn_progname}"
7115 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7123 LIPO=$ac_cv_prog_LIPO
7124 if test -n "$LIPO"; then
7125 echo "$as_me:$LINENO: result: $LIPO" >&5
7126 echo "${ECHO_T}$LIPO" >&6
7128 echo "$as_me:$LINENO: result: no" >&5
7129 echo "${ECHO_T}no" >&6
7133 test -n "$ac_cv_prog_LIPO" && break
7136 if test -z "$ac_cv_prog_LIPO" ; then
7138 if test $build = $host ; then
7141 LIPO="${ncn_tool_prefix}$2"
7147 if test -n "$NM"; then
7149 elif test -n "$ac_cv_prog_NM"; then
7153 if test -n "$ac_cv_prog_NM"; then
7154 for ncn_progname in nm; do
7155 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7156 set dummy ${ncn_progname}; ac_word=$2
7157 echo "$as_me:$LINENO: checking for $ac_word" >&5
7158 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7159 if test "${ac_cv_prog_NM+set}" = set; then
7160 echo $ECHO_N "(cached) $ECHO_C" >&6
7162 if test -n "$NM"; then
7163 ac_cv_prog_NM="$NM" # Let the user override the test.
7165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7169 test -z "$as_dir" && as_dir=.
7170 for ac_exec_ext in '' $ac_executable_extensions; do
7171 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7172 ac_cv_prog_NM="${ncn_progname}"
7173 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7182 if test -n "$NM"; then
7183 echo "$as_me:$LINENO: result: $NM" >&5
7184 echo "${ECHO_T}$NM" >&6
7186 echo "$as_me:$LINENO: result: no" >&5
7187 echo "${ECHO_T}no" >&6
7193 for ncn_progname in nm; do
7194 if test -n "$ncn_tool_prefix"; then
7195 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7196 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7197 echo "$as_me:$LINENO: checking for $ac_word" >&5
7198 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7199 if test "${ac_cv_prog_NM+set}" = set; then
7200 echo $ECHO_N "(cached) $ECHO_C" >&6
7202 if test -n "$NM"; then
7203 ac_cv_prog_NM="$NM" # Let the user override the test.
7205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7209 test -z "$as_dir" && as_dir=.
7210 for ac_exec_ext in '' $ac_executable_extensions; do
7211 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7212 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
7213 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7222 if test -n "$NM"; then
7223 echo "$as_me:$LINENO: result: $NM" >&5
7224 echo "${ECHO_T}$NM" >&6
7226 echo "$as_me:$LINENO: result: no" >&5
7227 echo "${ECHO_T}no" >&6
7231 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
7232 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7233 set dummy ${ncn_progname}; ac_word=$2
7234 echo "$as_me:$LINENO: checking for $ac_word" >&5
7235 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7236 if test "${ac_cv_prog_NM+set}" = set; then
7237 echo $ECHO_N "(cached) $ECHO_C" >&6
7239 if test -n "$NM"; then
7240 ac_cv_prog_NM="$NM" # Let the user override the test.
7242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7246 test -z "$as_dir" && as_dir=.
7247 for ac_exec_ext in '' $ac_executable_extensions; do
7248 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7249 ac_cv_prog_NM="${ncn_progname}"
7250 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7259 if test -n "$NM"; then
7260 echo "$as_me:$LINENO: result: $NM" >&5
7261 echo "${ECHO_T}$NM" >&6
7263 echo "$as_me:$LINENO: result: no" >&5
7264 echo "${ECHO_T}no" >&6
7268 test -n "$ac_cv_prog_NM" && break
7271 if test -z "$ac_cv_prog_NM" ; then
7273 if test $build = $host ; then
7276 NM="${ncn_tool_prefix}$2"
7282 if test -n "$RANLIB"; then
7283 ac_cv_prog_RANLIB=$RANLIB
7284 elif test -n "$ac_cv_prog_RANLIB"; then
7285 RANLIB=$ac_cv_prog_RANLIB
7288 if test -n "$ac_cv_prog_RANLIB"; then
7289 for ncn_progname in ranlib; do
7290 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7291 set dummy ${ncn_progname}; ac_word=$2
7292 echo "$as_me:$LINENO: checking for $ac_word" >&5
7293 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7294 if test "${ac_cv_prog_RANLIB+set}" = set; then
7295 echo $ECHO_N "(cached) $ECHO_C" >&6
7297 if test -n "$RANLIB"; then
7298 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7304 test -z "$as_dir" && as_dir=.
7305 for ac_exec_ext in '' $ac_executable_extensions; do
7306 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7307 ac_cv_prog_RANLIB="${ncn_progname}"
7308 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7316 RANLIB=$ac_cv_prog_RANLIB
7317 if test -n "$RANLIB"; then
7318 echo "$as_me:$LINENO: result: $RANLIB" >&5
7319 echo "${ECHO_T}$RANLIB" >&6
7321 echo "$as_me:$LINENO: result: no" >&5
7322 echo "${ECHO_T}no" >&6
7328 for ncn_progname in ranlib; do
7329 if test -n "$ncn_tool_prefix"; then
7330 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7331 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7332 echo "$as_me:$LINENO: checking for $ac_word" >&5
7333 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7334 if test "${ac_cv_prog_RANLIB+set}" = set; then
7335 echo $ECHO_N "(cached) $ECHO_C" >&6
7337 if test -n "$RANLIB"; then
7338 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7344 test -z "$as_dir" && as_dir=.
7345 for ac_exec_ext in '' $ac_executable_extensions; do
7346 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7347 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
7348 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7356 RANLIB=$ac_cv_prog_RANLIB
7357 if test -n "$RANLIB"; then
7358 echo "$as_me:$LINENO: result: $RANLIB" >&5
7359 echo "${ECHO_T}$RANLIB" >&6
7361 echo "$as_me:$LINENO: result: no" >&5
7362 echo "${ECHO_T}no" >&6
7366 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
7367 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7368 set dummy ${ncn_progname}; ac_word=$2
7369 echo "$as_me:$LINENO: checking for $ac_word" >&5
7370 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7371 if test "${ac_cv_prog_RANLIB+set}" = set; then
7372 echo $ECHO_N "(cached) $ECHO_C" >&6
7374 if test -n "$RANLIB"; then
7375 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7381 test -z "$as_dir" && as_dir=.
7382 for ac_exec_ext in '' $ac_executable_extensions; do
7383 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7384 ac_cv_prog_RANLIB="${ncn_progname}"
7385 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7393 RANLIB=$ac_cv_prog_RANLIB
7394 if test -n "$RANLIB"; then
7395 echo "$as_me:$LINENO: result: $RANLIB" >&5
7396 echo "${ECHO_T}$RANLIB" >&6
7398 echo "$as_me:$LINENO: result: no" >&5
7399 echo "${ECHO_T}no" >&6
7403 test -n "$ac_cv_prog_RANLIB" && break
7406 if test -z "$ac_cv_prog_RANLIB" ; then
7412 if test -n "$STRIP"; then
7413 ac_cv_prog_STRIP=$STRIP
7414 elif test -n "$ac_cv_prog_STRIP"; then
7415 STRIP=$ac_cv_prog_STRIP
7418 if test -n "$ac_cv_prog_STRIP"; then
7419 for ncn_progname in strip; do
7420 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7421 set dummy ${ncn_progname}; ac_word=$2
7422 echo "$as_me:$LINENO: checking for $ac_word" >&5
7423 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7424 if test "${ac_cv_prog_STRIP+set}" = set; then
7425 echo $ECHO_N "(cached) $ECHO_C" >&6
7427 if test -n "$STRIP"; then
7428 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7434 test -z "$as_dir" && as_dir=.
7435 for ac_exec_ext in '' $ac_executable_extensions; do
7436 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7437 ac_cv_prog_STRIP="${ncn_progname}"
7438 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7446 STRIP=$ac_cv_prog_STRIP
7447 if test -n "$STRIP"; then
7448 echo "$as_me:$LINENO: result: $STRIP" >&5
7449 echo "${ECHO_T}$STRIP" >&6
7451 echo "$as_me:$LINENO: result: no" >&5
7452 echo "${ECHO_T}no" >&6
7458 for ncn_progname in strip; do
7459 if test -n "$ncn_tool_prefix"; then
7460 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7461 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7462 echo "$as_me:$LINENO: checking for $ac_word" >&5
7463 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7464 if test "${ac_cv_prog_STRIP+set}" = set; then
7465 echo $ECHO_N "(cached) $ECHO_C" >&6
7467 if test -n "$STRIP"; then
7468 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7474 test -z "$as_dir" && as_dir=.
7475 for ac_exec_ext in '' $ac_executable_extensions; do
7476 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7477 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
7478 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7486 STRIP=$ac_cv_prog_STRIP
7487 if test -n "$STRIP"; then
7488 echo "$as_me:$LINENO: result: $STRIP" >&5
7489 echo "${ECHO_T}$STRIP" >&6
7491 echo "$as_me:$LINENO: result: no" >&5
7492 echo "${ECHO_T}no" >&6
7496 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
7497 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7498 set dummy ${ncn_progname}; ac_word=$2
7499 echo "$as_me:$LINENO: checking for $ac_word" >&5
7500 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7501 if test "${ac_cv_prog_STRIP+set}" = set; then
7502 echo $ECHO_N "(cached) $ECHO_C" >&6
7504 if test -n "$STRIP"; then
7505 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7511 test -z "$as_dir" && as_dir=.
7512 for ac_exec_ext in '' $ac_executable_extensions; do
7513 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7514 ac_cv_prog_STRIP="${ncn_progname}"
7515 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7523 STRIP=$ac_cv_prog_STRIP
7524 if test -n "$STRIP"; then
7525 echo "$as_me:$LINENO: result: $STRIP" >&5
7526 echo "${ECHO_T}$STRIP" >&6
7528 echo "$as_me:$LINENO: result: no" >&5
7529 echo "${ECHO_T}no" >&6
7533 test -n "$ac_cv_prog_STRIP" && break
7536 if test -z "$ac_cv_prog_STRIP" ; then
7542 if test -n "$WINDRES"; then
7543 ac_cv_prog_WINDRES=$WINDRES
7544 elif test -n "$ac_cv_prog_WINDRES"; then
7545 WINDRES=$ac_cv_prog_WINDRES
7548 if test -n "$ac_cv_prog_WINDRES"; then
7549 for ncn_progname in windres; do
7550 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7551 set dummy ${ncn_progname}; ac_word=$2
7552 echo "$as_me:$LINENO: checking for $ac_word" >&5
7553 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7554 if test "${ac_cv_prog_WINDRES+set}" = set; then
7555 echo $ECHO_N "(cached) $ECHO_C" >&6
7557 if test -n "$WINDRES"; then
7558 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
7560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7564 test -z "$as_dir" && as_dir=.
7565 for ac_exec_ext in '' $ac_executable_extensions; do
7566 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7567 ac_cv_prog_WINDRES="${ncn_progname}"
7568 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7576 WINDRES=$ac_cv_prog_WINDRES
7577 if test -n "$WINDRES"; then
7578 echo "$as_me:$LINENO: result: $WINDRES" >&5
7579 echo "${ECHO_T}$WINDRES" >&6
7581 echo "$as_me:$LINENO: result: no" >&5
7582 echo "${ECHO_T}no" >&6
7588 for ncn_progname in windres; do
7589 if test -n "$ncn_tool_prefix"; then
7590 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7591 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7592 echo "$as_me:$LINENO: checking for $ac_word" >&5
7593 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7594 if test "${ac_cv_prog_WINDRES+set}" = set; then
7595 echo $ECHO_N "(cached) $ECHO_C" >&6
7597 if test -n "$WINDRES"; then
7598 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
7600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7604 test -z "$as_dir" && as_dir=.
7605 for ac_exec_ext in '' $ac_executable_extensions; do
7606 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7607 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
7608 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7616 WINDRES=$ac_cv_prog_WINDRES
7617 if test -n "$WINDRES"; then
7618 echo "$as_me:$LINENO: result: $WINDRES" >&5
7619 echo "${ECHO_T}$WINDRES" >&6
7621 echo "$as_me:$LINENO: result: no" >&5
7622 echo "${ECHO_T}no" >&6
7626 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
7627 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7628 set dummy ${ncn_progname}; ac_word=$2
7629 echo "$as_me:$LINENO: checking for $ac_word" >&5
7630 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7631 if test "${ac_cv_prog_WINDRES+set}" = set; then
7632 echo $ECHO_N "(cached) $ECHO_C" >&6
7634 if test -n "$WINDRES"; then
7635 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
7637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7641 test -z "$as_dir" && as_dir=.
7642 for ac_exec_ext in '' $ac_executable_extensions; do
7643 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7644 ac_cv_prog_WINDRES="${ncn_progname}"
7645 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7653 WINDRES=$ac_cv_prog_WINDRES
7654 if test -n "$WINDRES"; then
7655 echo "$as_me:$LINENO: result: $WINDRES" >&5
7656 echo "${ECHO_T}$WINDRES" >&6
7658 echo "$as_me:$LINENO: result: no" >&5
7659 echo "${ECHO_T}no" >&6
7663 test -n "$ac_cv_prog_WINDRES" && break
7666 if test -z "$ac_cv_prog_WINDRES" ; then
7668 if test $build = $host ; then
7671 WINDRES="${ncn_tool_prefix}$2"
7677 if test -n "$WINDMC"; then
7678 ac_cv_prog_WINDMC=$WINDMC
7679 elif test -n "$ac_cv_prog_WINDMC"; then
7680 WINDMC=$ac_cv_prog_WINDMC
7683 if test -n "$ac_cv_prog_WINDMC"; then
7684 for ncn_progname in windmc; do
7685 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7686 set dummy ${ncn_progname}; ac_word=$2
7687 echo "$as_me:$LINENO: checking for $ac_word" >&5
7688 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7689 if test "${ac_cv_prog_WINDMC+set}" = set; then
7690 echo $ECHO_N "(cached) $ECHO_C" >&6
7692 if test -n "$WINDMC"; then
7693 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
7695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7699 test -z "$as_dir" && as_dir=.
7700 for ac_exec_ext in '' $ac_executable_extensions; do
7701 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7702 ac_cv_prog_WINDMC="${ncn_progname}"
7703 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7711 WINDMC=$ac_cv_prog_WINDMC
7712 if test -n "$WINDMC"; then
7713 echo "$as_me:$LINENO: result: $WINDMC" >&5
7714 echo "${ECHO_T}$WINDMC" >&6
7716 echo "$as_me:$LINENO: result: no" >&5
7717 echo "${ECHO_T}no" >&6
7723 for ncn_progname in windmc; do
7724 if test -n "$ncn_tool_prefix"; then
7725 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7726 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7727 echo "$as_me:$LINENO: checking for $ac_word" >&5
7728 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7729 if test "${ac_cv_prog_WINDMC+set}" = set; then
7730 echo $ECHO_N "(cached) $ECHO_C" >&6
7732 if test -n "$WINDMC"; then
7733 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
7735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7739 test -z "$as_dir" && as_dir=.
7740 for ac_exec_ext in '' $ac_executable_extensions; do
7741 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7742 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
7743 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7751 WINDMC=$ac_cv_prog_WINDMC
7752 if test -n "$WINDMC"; then
7753 echo "$as_me:$LINENO: result: $WINDMC" >&5
7754 echo "${ECHO_T}$WINDMC" >&6
7756 echo "$as_me:$LINENO: result: no" >&5
7757 echo "${ECHO_T}no" >&6
7761 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
7762 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7763 set dummy ${ncn_progname}; ac_word=$2
7764 echo "$as_me:$LINENO: checking for $ac_word" >&5
7765 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7766 if test "${ac_cv_prog_WINDMC+set}" = set; then
7767 echo $ECHO_N "(cached) $ECHO_C" >&6
7769 if test -n "$WINDMC"; then
7770 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
7772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7776 test -z "$as_dir" && as_dir=.
7777 for ac_exec_ext in '' $ac_executable_extensions; do
7778 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7779 ac_cv_prog_WINDMC="${ncn_progname}"
7780 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7788 WINDMC=$ac_cv_prog_WINDMC
7789 if test -n "$WINDMC"; then
7790 echo "$as_me:$LINENO: result: $WINDMC" >&5
7791 echo "${ECHO_T}$WINDMC" >&6
7793 echo "$as_me:$LINENO: result: no" >&5
7794 echo "${ECHO_T}no" >&6
7798 test -n "$ac_cv_prog_WINDMC" && break
7801 if test -z "$ac_cv_prog_WINDMC" ; then
7803 if test $build = $host ; then
7806 WINDMC="${ncn_tool_prefix}$2"
7812 if test -n "$OBJCOPY"; then
7813 ac_cv_prog_OBJCOPY=$OBJCOPY
7814 elif test -n "$ac_cv_prog_OBJCOPY"; then
7815 OBJCOPY=$ac_cv_prog_OBJCOPY
7818 if test -n "$ac_cv_prog_OBJCOPY"; then
7819 for ncn_progname in objcopy; do
7820 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7821 set dummy ${ncn_progname}; ac_word=$2
7822 echo "$as_me:$LINENO: checking for $ac_word" >&5
7823 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7824 if test "${ac_cv_prog_OBJCOPY+set}" = set; then
7825 echo $ECHO_N "(cached) $ECHO_C" >&6
7827 if test -n "$OBJCOPY"; then
7828 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
7830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7834 test -z "$as_dir" && as_dir=.
7835 for ac_exec_ext in '' $ac_executable_extensions; do
7836 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7837 ac_cv_prog_OBJCOPY="${ncn_progname}"
7838 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7846 OBJCOPY=$ac_cv_prog_OBJCOPY
7847 if test -n "$OBJCOPY"; then
7848 echo "$as_me:$LINENO: result: $OBJCOPY" >&5
7849 echo "${ECHO_T}$OBJCOPY" >&6
7851 echo "$as_me:$LINENO: result: no" >&5
7852 echo "${ECHO_T}no" >&6
7858 for ncn_progname in objcopy; do
7859 if test -n "$ncn_tool_prefix"; then
7860 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7861 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7862 echo "$as_me:$LINENO: checking for $ac_word" >&5
7863 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7864 if test "${ac_cv_prog_OBJCOPY+set}" = set; then
7865 echo $ECHO_N "(cached) $ECHO_C" >&6
7867 if test -n "$OBJCOPY"; then
7868 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
7870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7874 test -z "$as_dir" && as_dir=.
7875 for ac_exec_ext in '' $ac_executable_extensions; do
7876 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7877 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
7878 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7886 OBJCOPY=$ac_cv_prog_OBJCOPY
7887 if test -n "$OBJCOPY"; then
7888 echo "$as_me:$LINENO: result: $OBJCOPY" >&5
7889 echo "${ECHO_T}$OBJCOPY" >&6
7891 echo "$as_me:$LINENO: result: no" >&5
7892 echo "${ECHO_T}no" >&6
7896 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
7897 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7898 set dummy ${ncn_progname}; ac_word=$2
7899 echo "$as_me:$LINENO: checking for $ac_word" >&5
7900 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7901 if test "${ac_cv_prog_OBJCOPY+set}" = set; then
7902 echo $ECHO_N "(cached) $ECHO_C" >&6
7904 if test -n "$OBJCOPY"; then
7905 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
7907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7911 test -z "$as_dir" && as_dir=.
7912 for ac_exec_ext in '' $ac_executable_extensions; do
7913 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7914 ac_cv_prog_OBJCOPY="${ncn_progname}"
7915 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7923 OBJCOPY=$ac_cv_prog_OBJCOPY
7924 if test -n "$OBJCOPY"; then
7925 echo "$as_me:$LINENO: result: $OBJCOPY" >&5
7926 echo "${ECHO_T}$OBJCOPY" >&6
7928 echo "$as_me:$LINENO: result: no" >&5
7929 echo "${ECHO_T}no" >&6
7933 test -n "$ac_cv_prog_OBJCOPY" && break
7936 if test -z "$ac_cv_prog_OBJCOPY" ; then
7938 if test $build = $host ; then
7941 OBJCOPY="${ncn_tool_prefix}$2"
7947 if test -n "$OBJDUMP"; then
7948 ac_cv_prog_OBJDUMP=$OBJDUMP
7949 elif test -n "$ac_cv_prog_OBJDUMP"; then
7950 OBJDUMP=$ac_cv_prog_OBJDUMP
7953 if test -n "$ac_cv_prog_OBJDUMP"; then
7954 for ncn_progname in objdump; do
7955 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7956 set dummy ${ncn_progname}; ac_word=$2
7957 echo "$as_me:$LINENO: checking for $ac_word" >&5
7958 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7959 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
7960 echo $ECHO_N "(cached) $ECHO_C" >&6
7962 if test -n "$OBJDUMP"; then
7963 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7969 test -z "$as_dir" && as_dir=.
7970 for ac_exec_ext in '' $ac_executable_extensions; do
7971 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7972 ac_cv_prog_OBJDUMP="${ncn_progname}"
7973 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7981 OBJDUMP=$ac_cv_prog_OBJDUMP
7982 if test -n "$OBJDUMP"; then
7983 echo "$as_me:$LINENO: result: $OBJDUMP" >&5
7984 echo "${ECHO_T}$OBJDUMP" >&6
7986 echo "$as_me:$LINENO: result: no" >&5
7987 echo "${ECHO_T}no" >&6
7993 for ncn_progname in objdump; do
7994 if test -n "$ncn_tool_prefix"; then
7995 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7996 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7997 echo "$as_me:$LINENO: checking for $ac_word" >&5
7998 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7999 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
8000 echo $ECHO_N "(cached) $ECHO_C" >&6
8002 if test -n "$OBJDUMP"; then
8003 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8009 test -z "$as_dir" && as_dir=.
8010 for ac_exec_ext in '' $ac_executable_extensions; do
8011 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8012 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
8013 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8021 OBJDUMP=$ac_cv_prog_OBJDUMP
8022 if test -n "$OBJDUMP"; then
8023 echo "$as_me:$LINENO: result: $OBJDUMP" >&5
8024 echo "${ECHO_T}$OBJDUMP" >&6
8026 echo "$as_me:$LINENO: result: no" >&5
8027 echo "${ECHO_T}no" >&6
8031 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
8032 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8033 set dummy ${ncn_progname}; ac_word=$2
8034 echo "$as_me:$LINENO: checking for $ac_word" >&5
8035 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8036 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
8037 echo $ECHO_N "(cached) $ECHO_C" >&6
8039 if test -n "$OBJDUMP"; then
8040 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8046 test -z "$as_dir" && as_dir=.
8047 for ac_exec_ext in '' $ac_executable_extensions; do
8048 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8049 ac_cv_prog_OBJDUMP="${ncn_progname}"
8050 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8058 OBJDUMP=$ac_cv_prog_OBJDUMP
8059 if test -n "$OBJDUMP"; then
8060 echo "$as_me:$LINENO: result: $OBJDUMP" >&5
8061 echo "${ECHO_T}$OBJDUMP" >&6
8063 echo "$as_me:$LINENO: result: no" >&5
8064 echo "${ECHO_T}no" >&6
8068 test -n "$ac_cv_prog_OBJDUMP" && break
8071 if test -z "$ac_cv_prog_OBJDUMP" ; then
8073 if test $build = $host ; then
8076 OBJDUMP="${ncn_tool_prefix}$2"
8087 # Check whether --with-build-time-tools or --without-build-time-tools was given.
8088 if test "${with_build_time_tools+set}" = set; then
8089 withval="$with_build_time_tools"
8093 with_build_time_tools=
8094 { echo "$as_me:$LINENO: WARNING: argument to --with-build-time-tools must be an absolute path" >&5
8095 echo "$as_me: WARNING: argument to --with-build-time-tools must be an absolute path" >&2;}
8099 with_build_time_tools=
8104 if test -n "$CC_FOR_TARGET"; then
8105 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
8106 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
8107 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
8110 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
8111 for ncn_progname in cc gcc; do
8112 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8113 set dummy ${ncn_progname}; ac_word=$2
8114 echo "$as_me:$LINENO: checking for $ac_word" >&5
8115 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8116 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then
8117 echo $ECHO_N "(cached) $ECHO_C" >&6
8119 if test -n "$CC_FOR_TARGET"; then
8120 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
8122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8126 test -z "$as_dir" && as_dir=.
8127 for ac_exec_ext in '' $ac_executable_extensions; do
8128 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8129 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
8130 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8138 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
8139 if test -n "$CC_FOR_TARGET"; then
8140 echo "$as_me:$LINENO: result: $CC_FOR_TARGET" >&5
8141 echo "${ECHO_T}$CC_FOR_TARGET" >&6
8143 echo "$as_me:$LINENO: result: no" >&5
8144 echo "${ECHO_T}no" >&6
8150 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
8151 for ncn_progname in cc gcc; do
8152 echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5
8153 echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6
8154 if test -x $with_build_time_tools/${ncn_progname}; then
8155 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8156 echo "$as_me:$LINENO: result: yes" >&5
8157 echo "${ECHO_T}yes" >&6
8160 echo "$as_me:$LINENO: result: no" >&5
8161 echo "${ECHO_T}no" >&6
8166 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
8167 for ncn_progname in cc gcc; do
8168 if test -n "$ncn_target_tool_prefix"; then
8169 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8170 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
8171 echo "$as_me:$LINENO: checking for $ac_word" >&5
8172 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8173 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then
8174 echo $ECHO_N "(cached) $ECHO_C" >&6
8176 if test -n "$CC_FOR_TARGET"; then
8177 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
8179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8183 test -z "$as_dir" && as_dir=.
8184 for ac_exec_ext in '' $ac_executable_extensions; do
8185 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8186 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
8187 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8195 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
8196 if test -n "$CC_FOR_TARGET"; then
8197 echo "$as_me:$LINENO: result: $CC_FOR_TARGET" >&5
8198 echo "${ECHO_T}$CC_FOR_TARGET" >&6
8200 echo "$as_me:$LINENO: result: no" >&5
8201 echo "${ECHO_T}no" >&6
8205 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
8206 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8207 set dummy ${ncn_progname}; ac_word=$2
8208 echo "$as_me:$LINENO: checking for $ac_word" >&5
8209 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8210 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then
8211 echo $ECHO_N "(cached) $ECHO_C" >&6
8213 if test -n "$CC_FOR_TARGET"; then
8214 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
8216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8220 test -z "$as_dir" && as_dir=.
8221 for ac_exec_ext in '' $ac_executable_extensions; do
8222 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8223 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
8224 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8232 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
8233 if test -n "$CC_FOR_TARGET"; then
8234 echo "$as_me:$LINENO: result: $CC_FOR_TARGET" >&5
8235 echo "${ECHO_T}$CC_FOR_TARGET" >&6
8237 echo "$as_me:$LINENO: result: no" >&5
8238 echo "${ECHO_T}no" >&6
8242 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
8246 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
8248 if test $build = $target ; then
8251 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
8254 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
8259 if test -n "$CXX_FOR_TARGET"; then
8260 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
8261 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
8262 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
8265 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
8266 for ncn_progname in c++ g++ cxx gxx; do
8267 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8268 set dummy ${ncn_progname}; ac_word=$2
8269 echo "$as_me:$LINENO: checking for $ac_word" >&5
8270 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8271 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then
8272 echo $ECHO_N "(cached) $ECHO_C" >&6
8274 if test -n "$CXX_FOR_TARGET"; then
8275 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
8277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8281 test -z "$as_dir" && as_dir=.
8282 for ac_exec_ext in '' $ac_executable_extensions; do
8283 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8284 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
8285 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8293 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
8294 if test -n "$CXX_FOR_TARGET"; then
8295 echo "$as_me:$LINENO: result: $CXX_FOR_TARGET" >&5
8296 echo "${ECHO_T}$CXX_FOR_TARGET" >&6
8298 echo "$as_me:$LINENO: result: no" >&5
8299 echo "${ECHO_T}no" >&6
8305 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
8306 for ncn_progname in c++ g++ cxx gxx; do
8307 echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5
8308 echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6
8309 if test -x $with_build_time_tools/${ncn_progname}; then
8310 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8311 echo "$as_me:$LINENO: result: yes" >&5
8312 echo "${ECHO_T}yes" >&6
8315 echo "$as_me:$LINENO: result: no" >&5
8316 echo "${ECHO_T}no" >&6
8321 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
8322 for ncn_progname in c++ g++ cxx gxx; do
8323 if test -n "$ncn_target_tool_prefix"; then
8324 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8325 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
8326 echo "$as_me:$LINENO: checking for $ac_word" >&5
8327 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8328 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then
8329 echo $ECHO_N "(cached) $ECHO_C" >&6
8331 if test -n "$CXX_FOR_TARGET"; then
8332 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
8334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8338 test -z "$as_dir" && as_dir=.
8339 for ac_exec_ext in '' $ac_executable_extensions; do
8340 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8341 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
8342 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8350 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
8351 if test -n "$CXX_FOR_TARGET"; then
8352 echo "$as_me:$LINENO: result: $CXX_FOR_TARGET" >&5
8353 echo "${ECHO_T}$CXX_FOR_TARGET" >&6
8355 echo "$as_me:$LINENO: result: no" >&5
8356 echo "${ECHO_T}no" >&6
8360 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
8361 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8362 set dummy ${ncn_progname}; ac_word=$2
8363 echo "$as_me:$LINENO: checking for $ac_word" >&5
8364 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8365 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then
8366 echo $ECHO_N "(cached) $ECHO_C" >&6
8368 if test -n "$CXX_FOR_TARGET"; then
8369 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
8371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8375 test -z "$as_dir" && as_dir=.
8376 for ac_exec_ext in '' $ac_executable_extensions; do
8377 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8378 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
8379 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8387 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
8388 if test -n "$CXX_FOR_TARGET"; then
8389 echo "$as_me:$LINENO: result: $CXX_FOR_TARGET" >&5
8390 echo "${ECHO_T}$CXX_FOR_TARGET" >&6
8392 echo "$as_me:$LINENO: result: no" >&5
8393 echo "${ECHO_T}no" >&6
8397 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
8401 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
8402 set dummy c++ g++ cxx gxx
8403 if test $build = $target ; then
8406 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
8409 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
8414 if test -n "$GCC_FOR_TARGET"; then
8415 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
8416 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
8417 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
8420 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
8421 for ncn_progname in gcc; do
8422 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8423 set dummy ${ncn_progname}; ac_word=$2
8424 echo "$as_me:$LINENO: checking for $ac_word" >&5
8425 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8426 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then
8427 echo $ECHO_N "(cached) $ECHO_C" >&6
8429 if test -n "$GCC_FOR_TARGET"; then
8430 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
8432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8436 test -z "$as_dir" && as_dir=.
8437 for ac_exec_ext in '' $ac_executable_extensions; do
8438 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8439 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
8440 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8448 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
8449 if test -n "$GCC_FOR_TARGET"; then
8450 echo "$as_me:$LINENO: result: $GCC_FOR_TARGET" >&5
8451 echo "${ECHO_T}$GCC_FOR_TARGET" >&6
8453 echo "$as_me:$LINENO: result: no" >&5
8454 echo "${ECHO_T}no" >&6
8460 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
8461 for ncn_progname in gcc; do
8462 echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5
8463 echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6
8464 if test -x $with_build_time_tools/${ncn_progname}; then
8465 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8466 echo "$as_me:$LINENO: result: yes" >&5
8467 echo "${ECHO_T}yes" >&6
8470 echo "$as_me:$LINENO: result: no" >&5
8471 echo "${ECHO_T}no" >&6
8476 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
8477 for ncn_progname in gcc; do
8478 if test -n "$ncn_target_tool_prefix"; then
8479 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8480 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
8481 echo "$as_me:$LINENO: checking for $ac_word" >&5
8482 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8483 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then
8484 echo $ECHO_N "(cached) $ECHO_C" >&6
8486 if test -n "$GCC_FOR_TARGET"; then
8487 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
8489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8493 test -z "$as_dir" && as_dir=.
8494 for ac_exec_ext in '' $ac_executable_extensions; do
8495 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8496 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
8497 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8505 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
8506 if test -n "$GCC_FOR_TARGET"; then
8507 echo "$as_me:$LINENO: result: $GCC_FOR_TARGET" >&5
8508 echo "${ECHO_T}$GCC_FOR_TARGET" >&6
8510 echo "$as_me:$LINENO: result: no" >&5
8511 echo "${ECHO_T}no" >&6
8515 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
8516 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8517 set dummy ${ncn_progname}; ac_word=$2
8518 echo "$as_me:$LINENO: checking for $ac_word" >&5
8519 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8520 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then
8521 echo $ECHO_N "(cached) $ECHO_C" >&6
8523 if test -n "$GCC_FOR_TARGET"; then
8524 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
8526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8530 test -z "$as_dir" && as_dir=.
8531 for ac_exec_ext in '' $ac_executable_extensions; do
8532 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8533 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
8534 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8542 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
8543 if test -n "$GCC_FOR_TARGET"; then
8544 echo "$as_me:$LINENO: result: $GCC_FOR_TARGET" >&5
8545 echo "${ECHO_T}$GCC_FOR_TARGET" >&6
8547 echo "$as_me:$LINENO: result: no" >&5
8548 echo "${ECHO_T}no" >&6
8552 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
8556 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
8557 GCC_FOR_TARGET="${CC_FOR_TARGET}"
8559 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
8564 if test -n "$GCJ_FOR_TARGET"; then
8565 ac_cv_prog_GCJ_FOR_TARGET=$GCJ_FOR_TARGET
8566 elif test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
8567 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
8570 if test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
8571 for ncn_progname in gcj; do
8572 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8573 set dummy ${ncn_progname}; ac_word=$2
8574 echo "$as_me:$LINENO: checking for $ac_word" >&5
8575 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8576 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then
8577 echo $ECHO_N "(cached) $ECHO_C" >&6
8579 if test -n "$GCJ_FOR_TARGET"; then
8580 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
8582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8586 test -z "$as_dir" && as_dir=.
8587 for ac_exec_ext in '' $ac_executable_extensions; do
8588 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8589 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
8590 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8598 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
8599 if test -n "$GCJ_FOR_TARGET"; then
8600 echo "$as_me:$LINENO: result: $GCJ_FOR_TARGET" >&5
8601 echo "${ECHO_T}$GCJ_FOR_TARGET" >&6
8603 echo "$as_me:$LINENO: result: no" >&5
8604 echo "${ECHO_T}no" >&6
8610 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test -n "$with_build_time_tools"; then
8611 for ncn_progname in gcj; do
8612 echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5
8613 echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6
8614 if test -x $with_build_time_tools/${ncn_progname}; then
8615 ac_cv_prog_GCJ_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8616 echo "$as_me:$LINENO: result: yes" >&5
8617 echo "${ECHO_T}yes" >&6
8620 echo "$as_me:$LINENO: result: no" >&5
8621 echo "${ECHO_T}no" >&6
8626 if test -z "$ac_cv_prog_GCJ_FOR_TARGET"; then
8627 for ncn_progname in gcj; do
8628 if test -n "$ncn_target_tool_prefix"; then
8629 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8630 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
8631 echo "$as_me:$LINENO: checking for $ac_word" >&5
8632 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8633 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then
8634 echo $ECHO_N "(cached) $ECHO_C" >&6
8636 if test -n "$GCJ_FOR_TARGET"; then
8637 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
8639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8643 test -z "$as_dir" && as_dir=.
8644 for ac_exec_ext in '' $ac_executable_extensions; do
8645 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8646 ac_cv_prog_GCJ_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
8647 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8655 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
8656 if test -n "$GCJ_FOR_TARGET"; then
8657 echo "$as_me:$LINENO: result: $GCJ_FOR_TARGET" >&5
8658 echo "${ECHO_T}$GCJ_FOR_TARGET" >&6
8660 echo "$as_me:$LINENO: result: no" >&5
8661 echo "${ECHO_T}no" >&6
8665 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test $build = $target ; then
8666 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8667 set dummy ${ncn_progname}; ac_word=$2
8668 echo "$as_me:$LINENO: checking for $ac_word" >&5
8669 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8670 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then
8671 echo $ECHO_N "(cached) $ECHO_C" >&6
8673 if test -n "$GCJ_FOR_TARGET"; then
8674 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
8676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8680 test -z "$as_dir" && as_dir=.
8681 for ac_exec_ext in '' $ac_executable_extensions; do
8682 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8683 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
8684 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8692 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
8693 if test -n "$GCJ_FOR_TARGET"; then
8694 echo "$as_me:$LINENO: result: $GCJ_FOR_TARGET" >&5
8695 echo "${ECHO_T}$GCJ_FOR_TARGET" >&6
8697 echo "$as_me:$LINENO: result: no" >&5
8698 echo "${ECHO_T}no" >&6
8702 test -n "$ac_cv_prog_GCJ_FOR_TARGET" && break
8706 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" ; then
8708 if test $build = $target ; then
8711 GCJ_FOR_TARGET="${ncn_target_tool_prefix}$2"
8714 GCJ_FOR_TARGET="$ac_cv_prog_GCJ_FOR_TARGET"
8719 if test -n "$GFORTRAN_FOR_TARGET"; then
8720 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
8721 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
8722 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
8725 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
8726 for ncn_progname in gfortran; do
8727 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8728 set dummy ${ncn_progname}; ac_word=$2
8729 echo "$as_me:$LINENO: checking for $ac_word" >&5
8730 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8731 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then
8732 echo $ECHO_N "(cached) $ECHO_C" >&6
8734 if test -n "$GFORTRAN_FOR_TARGET"; then
8735 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
8737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8741 test -z "$as_dir" && as_dir=.
8742 for ac_exec_ext in '' $ac_executable_extensions; do
8743 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8744 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
8745 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8753 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
8754 if test -n "$GFORTRAN_FOR_TARGET"; then
8755 echo "$as_me:$LINENO: result: $GFORTRAN_FOR_TARGET" >&5
8756 echo "${ECHO_T}$GFORTRAN_FOR_TARGET" >&6
8758 echo "$as_me:$LINENO: result: no" >&5
8759 echo "${ECHO_T}no" >&6
8765 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
8766 for ncn_progname in gfortran; do
8767 echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5
8768 echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6
8769 if test -x $with_build_time_tools/${ncn_progname}; then
8770 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8771 echo "$as_me:$LINENO: result: yes" >&5
8772 echo "${ECHO_T}yes" >&6
8775 echo "$as_me:$LINENO: result: no" >&5
8776 echo "${ECHO_T}no" >&6
8781 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
8782 for ncn_progname in gfortran; do
8783 if test -n "$ncn_target_tool_prefix"; then
8784 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8785 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
8786 echo "$as_me:$LINENO: checking for $ac_word" >&5
8787 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8788 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then
8789 echo $ECHO_N "(cached) $ECHO_C" >&6
8791 if test -n "$GFORTRAN_FOR_TARGET"; then
8792 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
8794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8798 test -z "$as_dir" && as_dir=.
8799 for ac_exec_ext in '' $ac_executable_extensions; do
8800 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8801 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
8802 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8810 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
8811 if test -n "$GFORTRAN_FOR_TARGET"; then
8812 echo "$as_me:$LINENO: result: $GFORTRAN_FOR_TARGET" >&5
8813 echo "${ECHO_T}$GFORTRAN_FOR_TARGET" >&6
8815 echo "$as_me:$LINENO: result: no" >&5
8816 echo "${ECHO_T}no" >&6
8820 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
8821 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8822 set dummy ${ncn_progname}; ac_word=$2
8823 echo "$as_me:$LINENO: checking for $ac_word" >&5
8824 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8825 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then
8826 echo $ECHO_N "(cached) $ECHO_C" >&6
8828 if test -n "$GFORTRAN_FOR_TARGET"; then
8829 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
8831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8835 test -z "$as_dir" && as_dir=.
8836 for ac_exec_ext in '' $ac_executable_extensions; do
8837 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8838 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
8839 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8847 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
8848 if test -n "$GFORTRAN_FOR_TARGET"; then
8849 echo "$as_me:$LINENO: result: $GFORTRAN_FOR_TARGET" >&5
8850 echo "${ECHO_T}$GFORTRAN_FOR_TARGET" >&6
8852 echo "$as_me:$LINENO: result: no" >&5
8853 echo "${ECHO_T}no" >&6
8857 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
8861 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
8863 if test $build = $target ; then
8864 GFORTRAN_FOR_TARGET="$2"
8866 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
8869 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
8874 cat > conftest.c << \EOF
8879 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
8880 have_gcc_for_target=yes
8882 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
8883 have_gcc_for_target=no
8890 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
8891 if test -n "$with_build_time_tools"; then
8892 echo "$as_me:$LINENO: checking for ar in $with_build_time_tools" >&5
8893 echo $ECHO_N "checking for ar in $with_build_time_tools... $ECHO_C" >&6
8894 if test -x $with_build_time_tools/ar; then
8895 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
8896 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
8897 echo "$as_me:$LINENO: result: $ac_cv_path_AR_FOR_TARGET" >&5
8898 echo "${ECHO_T}$ac_cv_path_AR_FOR_TARGET" >&6
8900 echo "$as_me:$LINENO: result: no" >&5
8901 echo "${ECHO_T}no" >&6
8903 elif test $build != $host && test $have_gcc_for_target = yes; then
8904 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
8905 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
8906 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
8909 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
8910 # Extract the first word of "ar", so it can be a program name with args.
8911 set dummy ar; ac_word=$2
8912 echo "$as_me:$LINENO: checking for $ac_word" >&5
8913 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8914 if test "${ac_cv_path_AR_FOR_TARGET+set}" = set; then
8915 echo $ECHO_N "(cached) $ECHO_C" >&6
8917 case $AR_FOR_TARGET in
8919 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
8922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8923 for as_dir in $gcc_cv_tool_dirs
8926 test -z "$as_dir" && as_dir=.
8927 for ac_exec_ext in '' $ac_executable_extensions; do
8928 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8929 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
8930 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8939 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
8941 if test -n "$AR_FOR_TARGET"; then
8942 echo "$as_me:$LINENO: result: $AR_FOR_TARGET" >&5
8943 echo "${ECHO_T}$AR_FOR_TARGET" >&6
8945 echo "$as_me:$LINENO: result: no" >&5
8946 echo "${ECHO_T}no" >&6
8950 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
8953 if test -n "$AR_FOR_TARGET"; then
8954 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
8955 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
8956 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
8959 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
8960 for ncn_progname in ar; do
8961 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8962 set dummy ${ncn_progname}; ac_word=$2
8963 echo "$as_me:$LINENO: checking for $ac_word" >&5
8964 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8965 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then
8966 echo $ECHO_N "(cached) $ECHO_C" >&6
8968 if test -n "$AR_FOR_TARGET"; then
8969 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
8971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8975 test -z "$as_dir" && as_dir=.
8976 for ac_exec_ext in '' $ac_executable_extensions; do
8977 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8978 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
8979 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8987 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
8988 if test -n "$AR_FOR_TARGET"; then
8989 echo "$as_me:$LINENO: result: $AR_FOR_TARGET" >&5
8990 echo "${ECHO_T}$AR_FOR_TARGET" >&6
8992 echo "$as_me:$LINENO: result: no" >&5
8993 echo "${ECHO_T}no" >&6
8999 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
9000 for ncn_progname in ar; do
9001 echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5
9002 echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6
9003 if test -x $with_build_time_tools/${ncn_progname}; then
9004 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9005 echo "$as_me:$LINENO: result: yes" >&5
9006 echo "${ECHO_T}yes" >&6
9009 echo "$as_me:$LINENO: result: no" >&5
9010 echo "${ECHO_T}no" >&6
9015 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
9016 for ncn_progname in ar; do
9017 if test -n "$ncn_target_tool_prefix"; then
9018 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9019 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9020 echo "$as_me:$LINENO: checking for $ac_word" >&5
9021 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9022 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then
9023 echo $ECHO_N "(cached) $ECHO_C" >&6
9025 if test -n "$AR_FOR_TARGET"; then
9026 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
9028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9032 test -z "$as_dir" && as_dir=.
9033 for ac_exec_ext in '' $ac_executable_extensions; do
9034 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9035 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9036 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9044 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
9045 if test -n "$AR_FOR_TARGET"; then
9046 echo "$as_me:$LINENO: result: $AR_FOR_TARGET" >&5
9047 echo "${ECHO_T}$AR_FOR_TARGET" >&6
9049 echo "$as_me:$LINENO: result: no" >&5
9050 echo "${ECHO_T}no" >&6
9054 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
9055 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9056 set dummy ${ncn_progname}; ac_word=$2
9057 echo "$as_me:$LINENO: checking for $ac_word" >&5
9058 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9059 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then
9060 echo $ECHO_N "(cached) $ECHO_C" >&6
9062 if test -n "$AR_FOR_TARGET"; then
9063 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
9065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9069 test -z "$as_dir" && as_dir=.
9070 for ac_exec_ext in '' $ac_executable_extensions; do
9071 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9072 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
9073 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9081 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
9082 if test -n "$AR_FOR_TARGET"; then
9083 echo "$as_me:$LINENO: result: $AR_FOR_TARGET" >&5
9084 echo "${ECHO_T}$AR_FOR_TARGET" >&6
9086 echo "$as_me:$LINENO: result: no" >&5
9087 echo "${ECHO_T}no" >&6
9091 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
9095 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
9097 if test $build = $target ; then
9100 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
9103 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
9107 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
9113 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
9114 if test -n "$with_build_time_tools"; then
9115 echo "$as_me:$LINENO: checking for as in $with_build_time_tools" >&5
9116 echo $ECHO_N "checking for as in $with_build_time_tools... $ECHO_C" >&6
9117 if test -x $with_build_time_tools/as; then
9118 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
9119 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
9120 echo "$as_me:$LINENO: result: $ac_cv_path_AS_FOR_TARGET" >&5
9121 echo "${ECHO_T}$ac_cv_path_AS_FOR_TARGET" >&6
9123 echo "$as_me:$LINENO: result: no" >&5
9124 echo "${ECHO_T}no" >&6
9126 elif test $build != $host && test $have_gcc_for_target = yes; then
9127 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
9128 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
9129 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
9132 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
9133 # Extract the first word of "as", so it can be a program name with args.
9134 set dummy as; ac_word=$2
9135 echo "$as_me:$LINENO: checking for $ac_word" >&5
9136 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9137 if test "${ac_cv_path_AS_FOR_TARGET+set}" = set; then
9138 echo $ECHO_N "(cached) $ECHO_C" >&6
9140 case $AS_FOR_TARGET in
9142 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
9145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9146 for as_dir in $gcc_cv_tool_dirs
9149 test -z "$as_dir" && as_dir=.
9150 for ac_exec_ext in '' $ac_executable_extensions; do
9151 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9152 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
9153 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9162 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
9164 if test -n "$AS_FOR_TARGET"; then
9165 echo "$as_me:$LINENO: result: $AS_FOR_TARGET" >&5
9166 echo "${ECHO_T}$AS_FOR_TARGET" >&6
9168 echo "$as_me:$LINENO: result: no" >&5
9169 echo "${ECHO_T}no" >&6
9173 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
9176 if test -n "$AS_FOR_TARGET"; then
9177 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
9178 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
9179 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
9182 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
9183 for ncn_progname in as; do
9184 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9185 set dummy ${ncn_progname}; ac_word=$2
9186 echo "$as_me:$LINENO: checking for $ac_word" >&5
9187 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9188 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then
9189 echo $ECHO_N "(cached) $ECHO_C" >&6
9191 if test -n "$AS_FOR_TARGET"; then
9192 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
9194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9198 test -z "$as_dir" && as_dir=.
9199 for ac_exec_ext in '' $ac_executable_extensions; do
9200 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9201 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
9202 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9210 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
9211 if test -n "$AS_FOR_TARGET"; then
9212 echo "$as_me:$LINENO: result: $AS_FOR_TARGET" >&5
9213 echo "${ECHO_T}$AS_FOR_TARGET" >&6
9215 echo "$as_me:$LINENO: result: no" >&5
9216 echo "${ECHO_T}no" >&6
9222 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
9223 for ncn_progname in as; do
9224 echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5
9225 echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6
9226 if test -x $with_build_time_tools/${ncn_progname}; then
9227 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9228 echo "$as_me:$LINENO: result: yes" >&5
9229 echo "${ECHO_T}yes" >&6
9232 echo "$as_me:$LINENO: result: no" >&5
9233 echo "${ECHO_T}no" >&6
9238 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
9239 for ncn_progname in as; do
9240 if test -n "$ncn_target_tool_prefix"; then
9241 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9242 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9243 echo "$as_me:$LINENO: checking for $ac_word" >&5
9244 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9245 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then
9246 echo $ECHO_N "(cached) $ECHO_C" >&6
9248 if test -n "$AS_FOR_TARGET"; then
9249 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
9251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9255 test -z "$as_dir" && as_dir=.
9256 for ac_exec_ext in '' $ac_executable_extensions; do
9257 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9258 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9259 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9267 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
9268 if test -n "$AS_FOR_TARGET"; then
9269 echo "$as_me:$LINENO: result: $AS_FOR_TARGET" >&5
9270 echo "${ECHO_T}$AS_FOR_TARGET" >&6
9272 echo "$as_me:$LINENO: result: no" >&5
9273 echo "${ECHO_T}no" >&6
9277 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
9278 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9279 set dummy ${ncn_progname}; ac_word=$2
9280 echo "$as_me:$LINENO: checking for $ac_word" >&5
9281 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9282 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then
9283 echo $ECHO_N "(cached) $ECHO_C" >&6
9285 if test -n "$AS_FOR_TARGET"; then
9286 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
9288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9292 test -z "$as_dir" && as_dir=.
9293 for ac_exec_ext in '' $ac_executable_extensions; do
9294 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9295 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
9296 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9304 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
9305 if test -n "$AS_FOR_TARGET"; then
9306 echo "$as_me:$LINENO: result: $AS_FOR_TARGET" >&5
9307 echo "${ECHO_T}$AS_FOR_TARGET" >&6
9309 echo "$as_me:$LINENO: result: no" >&5
9310 echo "${ECHO_T}no" >&6
9314 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
9318 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
9320 if test $build = $target ; then
9323 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
9326 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
9330 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
9336 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
9337 if test -n "$with_build_time_tools"; then
9338 echo "$as_me:$LINENO: checking for dlltool in $with_build_time_tools" >&5
9339 echo $ECHO_N "checking for dlltool in $with_build_time_tools... $ECHO_C" >&6
9340 if test -x $with_build_time_tools/dlltool; then
9341 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
9342 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
9343 echo "$as_me:$LINENO: result: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
9344 echo "${ECHO_T}$ac_cv_path_DLLTOOL_FOR_TARGET" >&6
9346 echo "$as_me:$LINENO: result: no" >&5
9347 echo "${ECHO_T}no" >&6
9349 elif test $build != $host && test $have_gcc_for_target = yes; then
9350 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
9351 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
9352 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
9355 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
9356 # Extract the first word of "dlltool", so it can be a program name with args.
9357 set dummy dlltool; ac_word=$2
9358 echo "$as_me:$LINENO: checking for $ac_word" >&5
9359 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9360 if test "${ac_cv_path_DLLTOOL_FOR_TARGET+set}" = set; then
9361 echo $ECHO_N "(cached) $ECHO_C" >&6
9363 case $DLLTOOL_FOR_TARGET in
9365 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
9368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9369 for as_dir in $gcc_cv_tool_dirs
9372 test -z "$as_dir" && as_dir=.
9373 for ac_exec_ext in '' $ac_executable_extensions; do
9374 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9375 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
9376 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9385 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
9387 if test -n "$DLLTOOL_FOR_TARGET"; then
9388 echo "$as_me:$LINENO: result: $DLLTOOL_FOR_TARGET" >&5
9389 echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6
9391 echo "$as_me:$LINENO: result: no" >&5
9392 echo "${ECHO_T}no" >&6
9396 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
9399 if test -n "$DLLTOOL_FOR_TARGET"; then
9400 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
9401 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
9402 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
9405 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
9406 for ncn_progname in dlltool; do
9407 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9408 set dummy ${ncn_progname}; ac_word=$2
9409 echo "$as_me:$LINENO: checking for $ac_word" >&5
9410 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9411 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then
9412 echo $ECHO_N "(cached) $ECHO_C" >&6
9414 if test -n "$DLLTOOL_FOR_TARGET"; then
9415 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
9417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9421 test -z "$as_dir" && as_dir=.
9422 for ac_exec_ext in '' $ac_executable_extensions; do
9423 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9424 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
9425 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9433 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
9434 if test -n "$DLLTOOL_FOR_TARGET"; then
9435 echo "$as_me:$LINENO: result: $DLLTOOL_FOR_TARGET" >&5
9436 echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6
9438 echo "$as_me:$LINENO: result: no" >&5
9439 echo "${ECHO_T}no" >&6
9445 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
9446 for ncn_progname in dlltool; do
9447 echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5
9448 echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6
9449 if test -x $with_build_time_tools/${ncn_progname}; then
9450 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9451 echo "$as_me:$LINENO: result: yes" >&5
9452 echo "${ECHO_T}yes" >&6
9455 echo "$as_me:$LINENO: result: no" >&5
9456 echo "${ECHO_T}no" >&6
9461 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
9462 for ncn_progname in dlltool; do
9463 if test -n "$ncn_target_tool_prefix"; then
9464 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9465 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9466 echo "$as_me:$LINENO: checking for $ac_word" >&5
9467 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9468 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then
9469 echo $ECHO_N "(cached) $ECHO_C" >&6
9471 if test -n "$DLLTOOL_FOR_TARGET"; then
9472 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
9474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9478 test -z "$as_dir" && as_dir=.
9479 for ac_exec_ext in '' $ac_executable_extensions; do
9480 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9481 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9482 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9490 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
9491 if test -n "$DLLTOOL_FOR_TARGET"; then
9492 echo "$as_me:$LINENO: result: $DLLTOOL_FOR_TARGET" >&5
9493 echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6
9495 echo "$as_me:$LINENO: result: no" >&5
9496 echo "${ECHO_T}no" >&6
9500 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
9501 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9502 set dummy ${ncn_progname}; ac_word=$2
9503 echo "$as_me:$LINENO: checking for $ac_word" >&5
9504 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9505 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then
9506 echo $ECHO_N "(cached) $ECHO_C" >&6
9508 if test -n "$DLLTOOL_FOR_TARGET"; then
9509 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
9511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9515 test -z "$as_dir" && as_dir=.
9516 for ac_exec_ext in '' $ac_executable_extensions; do
9517 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9518 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
9519 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9527 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
9528 if test -n "$DLLTOOL_FOR_TARGET"; then
9529 echo "$as_me:$LINENO: result: $DLLTOOL_FOR_TARGET" >&5
9530 echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6
9532 echo "$as_me:$LINENO: result: no" >&5
9533 echo "${ECHO_T}no" >&6
9537 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
9541 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
9543 if test $build = $target ; then
9544 DLLTOOL_FOR_TARGET="$2"
9546 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
9549 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
9553 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
9559 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
9560 if test -n "$with_build_time_tools"; then
9561 echo "$as_me:$LINENO: checking for ld in $with_build_time_tools" >&5
9562 echo $ECHO_N "checking for ld in $with_build_time_tools... $ECHO_C" >&6
9563 if test -x $with_build_time_tools/ld; then
9564 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
9565 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
9566 echo "$as_me:$LINENO: result: $ac_cv_path_LD_FOR_TARGET" >&5
9567 echo "${ECHO_T}$ac_cv_path_LD_FOR_TARGET" >&6
9569 echo "$as_me:$LINENO: result: no" >&5
9570 echo "${ECHO_T}no" >&6
9572 elif test $build != $host && test $have_gcc_for_target = yes; then
9573 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
9574 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
9575 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
9578 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
9579 # Extract the first word of "ld", so it can be a program name with args.
9580 set dummy ld; ac_word=$2
9581 echo "$as_me:$LINENO: checking for $ac_word" >&5
9582 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9583 if test "${ac_cv_path_LD_FOR_TARGET+set}" = set; then
9584 echo $ECHO_N "(cached) $ECHO_C" >&6
9586 case $LD_FOR_TARGET in
9588 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
9591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9592 for as_dir in $gcc_cv_tool_dirs
9595 test -z "$as_dir" && as_dir=.
9596 for ac_exec_ext in '' $ac_executable_extensions; do
9597 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9598 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
9599 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9608 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
9610 if test -n "$LD_FOR_TARGET"; then
9611 echo "$as_me:$LINENO: result: $LD_FOR_TARGET" >&5
9612 echo "${ECHO_T}$LD_FOR_TARGET" >&6
9614 echo "$as_me:$LINENO: result: no" >&5
9615 echo "${ECHO_T}no" >&6
9619 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
9622 if test -n "$LD_FOR_TARGET"; then
9623 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
9624 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
9625 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
9628 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
9629 for ncn_progname in ld; do
9630 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9631 set dummy ${ncn_progname}; ac_word=$2
9632 echo "$as_me:$LINENO: checking for $ac_word" >&5
9633 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9634 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then
9635 echo $ECHO_N "(cached) $ECHO_C" >&6
9637 if test -n "$LD_FOR_TARGET"; then
9638 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
9640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9644 test -z "$as_dir" && as_dir=.
9645 for ac_exec_ext in '' $ac_executable_extensions; do
9646 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9647 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
9648 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9656 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
9657 if test -n "$LD_FOR_TARGET"; then
9658 echo "$as_me:$LINENO: result: $LD_FOR_TARGET" >&5
9659 echo "${ECHO_T}$LD_FOR_TARGET" >&6
9661 echo "$as_me:$LINENO: result: no" >&5
9662 echo "${ECHO_T}no" >&6
9668 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
9669 for ncn_progname in ld; do
9670 echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5
9671 echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6
9672 if test -x $with_build_time_tools/${ncn_progname}; then
9673 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9674 echo "$as_me:$LINENO: result: yes" >&5
9675 echo "${ECHO_T}yes" >&6
9678 echo "$as_me:$LINENO: result: no" >&5
9679 echo "${ECHO_T}no" >&6
9684 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
9685 for ncn_progname in ld; do
9686 if test -n "$ncn_target_tool_prefix"; then
9687 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9688 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9689 echo "$as_me:$LINENO: checking for $ac_word" >&5
9690 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9691 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then
9692 echo $ECHO_N "(cached) $ECHO_C" >&6
9694 if test -n "$LD_FOR_TARGET"; then
9695 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
9697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9701 test -z "$as_dir" && as_dir=.
9702 for ac_exec_ext in '' $ac_executable_extensions; do
9703 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9704 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9705 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9713 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
9714 if test -n "$LD_FOR_TARGET"; then
9715 echo "$as_me:$LINENO: result: $LD_FOR_TARGET" >&5
9716 echo "${ECHO_T}$LD_FOR_TARGET" >&6
9718 echo "$as_me:$LINENO: result: no" >&5
9719 echo "${ECHO_T}no" >&6
9723 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
9724 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9725 set dummy ${ncn_progname}; ac_word=$2
9726 echo "$as_me:$LINENO: checking for $ac_word" >&5
9727 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9728 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then
9729 echo $ECHO_N "(cached) $ECHO_C" >&6
9731 if test -n "$LD_FOR_TARGET"; then
9732 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
9734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9738 test -z "$as_dir" && as_dir=.
9739 for ac_exec_ext in '' $ac_executable_extensions; do
9740 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9741 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
9742 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9750 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
9751 if test -n "$LD_FOR_TARGET"; then
9752 echo "$as_me:$LINENO: result: $LD_FOR_TARGET" >&5
9753 echo "${ECHO_T}$LD_FOR_TARGET" >&6
9755 echo "$as_me:$LINENO: result: no" >&5
9756 echo "${ECHO_T}no" >&6
9760 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
9764 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
9766 if test $build = $target ; then
9769 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
9772 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
9776 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
9782 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
9783 if test -n "$with_build_time_tools"; then
9784 echo "$as_me:$LINENO: checking for lipo in $with_build_time_tools" >&5
9785 echo $ECHO_N "checking for lipo in $with_build_time_tools... $ECHO_C" >&6
9786 if test -x $with_build_time_tools/lipo; then
9787 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
9788 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
9789 echo "$as_me:$LINENO: result: $ac_cv_path_LIPO_FOR_TARGET" >&5
9790 echo "${ECHO_T}$ac_cv_path_LIPO_FOR_TARGET" >&6
9792 echo "$as_me:$LINENO: result: no" >&5
9793 echo "${ECHO_T}no" >&6
9795 elif test $build != $host && test $have_gcc_for_target = yes; then
9796 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
9797 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
9798 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
9801 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
9802 # Extract the first word of "lipo", so it can be a program name with args.
9803 set dummy lipo; ac_word=$2
9804 echo "$as_me:$LINENO: checking for $ac_word" >&5
9805 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9806 if test "${ac_cv_path_LIPO_FOR_TARGET+set}" = set; then
9807 echo $ECHO_N "(cached) $ECHO_C" >&6
9809 case $LIPO_FOR_TARGET in
9811 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
9814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9815 for as_dir in $gcc_cv_tool_dirs
9818 test -z "$as_dir" && as_dir=.
9819 for ac_exec_ext in '' $ac_executable_extensions; do
9820 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9821 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
9822 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9831 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
9833 if test -n "$LIPO_FOR_TARGET"; then
9834 echo "$as_me:$LINENO: result: $LIPO_FOR_TARGET" >&5
9835 echo "${ECHO_T}$LIPO_FOR_TARGET" >&6
9837 echo "$as_me:$LINENO: result: no" >&5
9838 echo "${ECHO_T}no" >&6
9842 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
9845 if test -n "$LIPO_FOR_TARGET"; then
9846 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
9847 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
9848 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
9851 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
9852 for ncn_progname in lipo; do
9853 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9854 set dummy ${ncn_progname}; ac_word=$2
9855 echo "$as_me:$LINENO: checking for $ac_word" >&5
9856 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9857 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then
9858 echo $ECHO_N "(cached) $ECHO_C" >&6
9860 if test -n "$LIPO_FOR_TARGET"; then
9861 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
9863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9867 test -z "$as_dir" && as_dir=.
9868 for ac_exec_ext in '' $ac_executable_extensions; do
9869 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9870 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
9871 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9879 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
9880 if test -n "$LIPO_FOR_TARGET"; then
9881 echo "$as_me:$LINENO: result: $LIPO_FOR_TARGET" >&5
9882 echo "${ECHO_T}$LIPO_FOR_TARGET" >&6
9884 echo "$as_me:$LINENO: result: no" >&5
9885 echo "${ECHO_T}no" >&6
9891 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
9892 for ncn_progname in lipo; do
9893 echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5
9894 echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6
9895 if test -x $with_build_time_tools/${ncn_progname}; then
9896 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9897 echo "$as_me:$LINENO: result: yes" >&5
9898 echo "${ECHO_T}yes" >&6
9901 echo "$as_me:$LINENO: result: no" >&5
9902 echo "${ECHO_T}no" >&6
9907 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
9908 for ncn_progname in lipo; do
9909 if test -n "$ncn_target_tool_prefix"; then
9910 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9911 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9912 echo "$as_me:$LINENO: checking for $ac_word" >&5
9913 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9914 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then
9915 echo $ECHO_N "(cached) $ECHO_C" >&6
9917 if test -n "$LIPO_FOR_TARGET"; then
9918 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
9920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9924 test -z "$as_dir" && as_dir=.
9925 for ac_exec_ext in '' $ac_executable_extensions; do
9926 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9927 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9928 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9936 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
9937 if test -n "$LIPO_FOR_TARGET"; then
9938 echo "$as_me:$LINENO: result: $LIPO_FOR_TARGET" >&5
9939 echo "${ECHO_T}$LIPO_FOR_TARGET" >&6
9941 echo "$as_me:$LINENO: result: no" >&5
9942 echo "${ECHO_T}no" >&6
9946 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
9947 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9948 set dummy ${ncn_progname}; ac_word=$2
9949 echo "$as_me:$LINENO: checking for $ac_word" >&5
9950 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9951 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then
9952 echo $ECHO_N "(cached) $ECHO_C" >&6
9954 if test -n "$LIPO_FOR_TARGET"; then
9955 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
9957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9961 test -z "$as_dir" && as_dir=.
9962 for ac_exec_ext in '' $ac_executable_extensions; do
9963 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9964 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
9965 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9973 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
9974 if test -n "$LIPO_FOR_TARGET"; then
9975 echo "$as_me:$LINENO: result: $LIPO_FOR_TARGET" >&5
9976 echo "${ECHO_T}$LIPO_FOR_TARGET" >&6
9978 echo "$as_me:$LINENO: result: no" >&5
9979 echo "${ECHO_T}no" >&6
9983 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
9987 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
9989 if test $build = $target ; then
9990 LIPO_FOR_TARGET="$2"
9992 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
9995 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
9999 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
10005 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
10006 if test -n "$with_build_time_tools"; then
10007 echo "$as_me:$LINENO: checking for nm in $with_build_time_tools" >&5
10008 echo $ECHO_N "checking for nm in $with_build_time_tools... $ECHO_C" >&6
10009 if test -x $with_build_time_tools/nm; then
10010 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
10011 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
10012 echo "$as_me:$LINENO: result: $ac_cv_path_NM_FOR_TARGET" >&5
10013 echo "${ECHO_T}$ac_cv_path_NM_FOR_TARGET" >&6
10015 echo "$as_me:$LINENO: result: no" >&5
10016 echo "${ECHO_T}no" >&6
10018 elif test $build != $host && test $have_gcc_for_target = yes; then
10019 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
10020 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
10021 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
10024 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10025 # Extract the first word of "nm", so it can be a program name with args.
10026 set dummy nm; ac_word=$2
10027 echo "$as_me:$LINENO: checking for $ac_word" >&5
10028 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10029 if test "${ac_cv_path_NM_FOR_TARGET+set}" = set; then
10030 echo $ECHO_N "(cached) $ECHO_C" >&6
10032 case $NM_FOR_TARGET in
10034 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
10037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10038 for as_dir in $gcc_cv_tool_dirs
10041 test -z "$as_dir" && as_dir=.
10042 for ac_exec_ext in '' $ac_executable_extensions; do
10043 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10044 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10045 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10054 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
10056 if test -n "$NM_FOR_TARGET"; then
10057 echo "$as_me:$LINENO: result: $NM_FOR_TARGET" >&5
10058 echo "${ECHO_T}$NM_FOR_TARGET" >&6
10060 echo "$as_me:$LINENO: result: no" >&5
10061 echo "${ECHO_T}no" >&6
10065 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
10068 if test -n "$NM_FOR_TARGET"; then
10069 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
10070 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
10071 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
10074 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
10075 for ncn_progname in nm; do
10076 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10077 set dummy ${ncn_progname}; ac_word=$2
10078 echo "$as_me:$LINENO: checking for $ac_word" >&5
10079 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10080 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then
10081 echo $ECHO_N "(cached) $ECHO_C" >&6
10083 if test -n "$NM_FOR_TARGET"; then
10084 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
10086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10087 for as_dir in $PATH
10090 test -z "$as_dir" && as_dir=.
10091 for ac_exec_ext in '' $ac_executable_extensions; do
10092 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10093 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
10094 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10102 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
10103 if test -n "$NM_FOR_TARGET"; then
10104 echo "$as_me:$LINENO: result: $NM_FOR_TARGET" >&5
10105 echo "${ECHO_T}$NM_FOR_TARGET" >&6
10107 echo "$as_me:$LINENO: result: no" >&5
10108 echo "${ECHO_T}no" >&6
10114 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
10115 for ncn_progname in nm; do
10116 echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5
10117 echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6
10118 if test -x $with_build_time_tools/${ncn_progname}; then
10119 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10120 echo "$as_me:$LINENO: result: yes" >&5
10121 echo "${ECHO_T}yes" >&6
10124 echo "$as_me:$LINENO: result: no" >&5
10125 echo "${ECHO_T}no" >&6
10130 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
10131 for ncn_progname in nm; do
10132 if test -n "$ncn_target_tool_prefix"; then
10133 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10134 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10135 echo "$as_me:$LINENO: checking for $ac_word" >&5
10136 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10137 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then
10138 echo $ECHO_N "(cached) $ECHO_C" >&6
10140 if test -n "$NM_FOR_TARGET"; then
10141 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
10143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10144 for as_dir in $PATH
10147 test -z "$as_dir" && as_dir=.
10148 for ac_exec_ext in '' $ac_executable_extensions; do
10149 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10150 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10151 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10159 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
10160 if test -n "$NM_FOR_TARGET"; then
10161 echo "$as_me:$LINENO: result: $NM_FOR_TARGET" >&5
10162 echo "${ECHO_T}$NM_FOR_TARGET" >&6
10164 echo "$as_me:$LINENO: result: no" >&5
10165 echo "${ECHO_T}no" >&6
10169 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
10170 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10171 set dummy ${ncn_progname}; ac_word=$2
10172 echo "$as_me:$LINENO: checking for $ac_word" >&5
10173 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10174 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then
10175 echo $ECHO_N "(cached) $ECHO_C" >&6
10177 if test -n "$NM_FOR_TARGET"; then
10178 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
10180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10181 for as_dir in $PATH
10184 test -z "$as_dir" && as_dir=.
10185 for ac_exec_ext in '' $ac_executable_extensions; do
10186 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10187 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
10188 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10196 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
10197 if test -n "$NM_FOR_TARGET"; then
10198 echo "$as_me:$LINENO: result: $NM_FOR_TARGET" >&5
10199 echo "${ECHO_T}$NM_FOR_TARGET" >&6
10201 echo "$as_me:$LINENO: result: no" >&5
10202 echo "${ECHO_T}no" >&6
10206 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
10210 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
10212 if test $build = $target ; then
10215 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
10218 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
10222 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
10228 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
10229 if test -n "$with_build_time_tools"; then
10230 echo "$as_me:$LINENO: checking for objdump in $with_build_time_tools" >&5
10231 echo $ECHO_N "checking for objdump in $with_build_time_tools... $ECHO_C" >&6
10232 if test -x $with_build_time_tools/objdump; then
10233 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
10234 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
10235 echo "$as_me:$LINENO: result: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
10236 echo "${ECHO_T}$ac_cv_path_OBJDUMP_FOR_TARGET" >&6
10238 echo "$as_me:$LINENO: result: no" >&5
10239 echo "${ECHO_T}no" >&6
10241 elif test $build != $host && test $have_gcc_for_target = yes; then
10242 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
10243 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
10244 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
10247 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10248 # Extract the first word of "objdump", so it can be a program name with args.
10249 set dummy objdump; ac_word=$2
10250 echo "$as_me:$LINENO: checking for $ac_word" >&5
10251 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10252 if test "${ac_cv_path_OBJDUMP_FOR_TARGET+set}" = set; then
10253 echo $ECHO_N "(cached) $ECHO_C" >&6
10255 case $OBJDUMP_FOR_TARGET in
10257 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
10260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10261 for as_dir in $gcc_cv_tool_dirs
10264 test -z "$as_dir" && as_dir=.
10265 for ac_exec_ext in '' $ac_executable_extensions; do
10266 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10267 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10268 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10277 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
10279 if test -n "$OBJDUMP_FOR_TARGET"; then
10280 echo "$as_me:$LINENO: result: $OBJDUMP_FOR_TARGET" >&5
10281 echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6
10283 echo "$as_me:$LINENO: result: no" >&5
10284 echo "${ECHO_T}no" >&6
10288 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
10291 if test -n "$OBJDUMP_FOR_TARGET"; then
10292 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
10293 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
10294 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
10297 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
10298 for ncn_progname in objdump; do
10299 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10300 set dummy ${ncn_progname}; ac_word=$2
10301 echo "$as_me:$LINENO: checking for $ac_word" >&5
10302 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10303 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then
10304 echo $ECHO_N "(cached) $ECHO_C" >&6
10306 if test -n "$OBJDUMP_FOR_TARGET"; then
10307 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
10309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10310 for as_dir in $PATH
10313 test -z "$as_dir" && as_dir=.
10314 for ac_exec_ext in '' $ac_executable_extensions; do
10315 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10316 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
10317 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10325 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
10326 if test -n "$OBJDUMP_FOR_TARGET"; then
10327 echo "$as_me:$LINENO: result: $OBJDUMP_FOR_TARGET" >&5
10328 echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6
10330 echo "$as_me:$LINENO: result: no" >&5
10331 echo "${ECHO_T}no" >&6
10337 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
10338 for ncn_progname in objdump; do
10339 echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5
10340 echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6
10341 if test -x $with_build_time_tools/${ncn_progname}; then
10342 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10343 echo "$as_me:$LINENO: result: yes" >&5
10344 echo "${ECHO_T}yes" >&6
10347 echo "$as_me:$LINENO: result: no" >&5
10348 echo "${ECHO_T}no" >&6
10353 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
10354 for ncn_progname in objdump; do
10355 if test -n "$ncn_target_tool_prefix"; then
10356 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10357 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10358 echo "$as_me:$LINENO: checking for $ac_word" >&5
10359 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10360 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then
10361 echo $ECHO_N "(cached) $ECHO_C" >&6
10363 if test -n "$OBJDUMP_FOR_TARGET"; then
10364 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
10366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10367 for as_dir in $PATH
10370 test -z "$as_dir" && as_dir=.
10371 for ac_exec_ext in '' $ac_executable_extensions; do
10372 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10373 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10374 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10382 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
10383 if test -n "$OBJDUMP_FOR_TARGET"; then
10384 echo "$as_me:$LINENO: result: $OBJDUMP_FOR_TARGET" >&5
10385 echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6
10387 echo "$as_me:$LINENO: result: no" >&5
10388 echo "${ECHO_T}no" >&6
10392 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
10393 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10394 set dummy ${ncn_progname}; ac_word=$2
10395 echo "$as_me:$LINENO: checking for $ac_word" >&5
10396 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10397 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then
10398 echo $ECHO_N "(cached) $ECHO_C" >&6
10400 if test -n "$OBJDUMP_FOR_TARGET"; then
10401 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
10403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10404 for as_dir in $PATH
10407 test -z "$as_dir" && as_dir=.
10408 for ac_exec_ext in '' $ac_executable_extensions; do
10409 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10410 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
10411 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10419 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
10420 if test -n "$OBJDUMP_FOR_TARGET"; then
10421 echo "$as_me:$LINENO: result: $OBJDUMP_FOR_TARGET" >&5
10422 echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6
10424 echo "$as_me:$LINENO: result: no" >&5
10425 echo "${ECHO_T}no" >&6
10429 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
10433 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
10435 if test $build = $target ; then
10436 OBJDUMP_FOR_TARGET="$2"
10438 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
10441 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
10445 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
10451 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
10452 if test -n "$with_build_time_tools"; then
10453 echo "$as_me:$LINENO: checking for ranlib in $with_build_time_tools" >&5
10454 echo $ECHO_N "checking for ranlib in $with_build_time_tools... $ECHO_C" >&6
10455 if test -x $with_build_time_tools/ranlib; then
10456 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
10457 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
10458 echo "$as_me:$LINENO: result: $ac_cv_path_RANLIB_FOR_TARGET" >&5
10459 echo "${ECHO_T}$ac_cv_path_RANLIB_FOR_TARGET" >&6
10461 echo "$as_me:$LINENO: result: no" >&5
10462 echo "${ECHO_T}no" >&6
10464 elif test $build != $host && test $have_gcc_for_target = yes; then
10465 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
10466 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
10467 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
10470 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10471 # Extract the first word of "ranlib", so it can be a program name with args.
10472 set dummy ranlib; ac_word=$2
10473 echo "$as_me:$LINENO: checking for $ac_word" >&5
10474 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10475 if test "${ac_cv_path_RANLIB_FOR_TARGET+set}" = set; then
10476 echo $ECHO_N "(cached) $ECHO_C" >&6
10478 case $RANLIB_FOR_TARGET in
10480 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
10483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10484 for as_dir in $gcc_cv_tool_dirs
10487 test -z "$as_dir" && as_dir=.
10488 for ac_exec_ext in '' $ac_executable_extensions; do
10489 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10490 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10491 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10500 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
10502 if test -n "$RANLIB_FOR_TARGET"; then
10503 echo "$as_me:$LINENO: result: $RANLIB_FOR_TARGET" >&5
10504 echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6
10506 echo "$as_me:$LINENO: result: no" >&5
10507 echo "${ECHO_T}no" >&6
10511 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
10514 if test -n "$RANLIB_FOR_TARGET"; then
10515 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
10516 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
10517 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
10520 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
10521 for ncn_progname in ranlib; do
10522 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10523 set dummy ${ncn_progname}; ac_word=$2
10524 echo "$as_me:$LINENO: checking for $ac_word" >&5
10525 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10526 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then
10527 echo $ECHO_N "(cached) $ECHO_C" >&6
10529 if test -n "$RANLIB_FOR_TARGET"; then
10530 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
10532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10533 for as_dir in $PATH
10536 test -z "$as_dir" && as_dir=.
10537 for ac_exec_ext in '' $ac_executable_extensions; do
10538 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10539 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
10540 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10548 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
10549 if test -n "$RANLIB_FOR_TARGET"; then
10550 echo "$as_me:$LINENO: result: $RANLIB_FOR_TARGET" >&5
10551 echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6
10553 echo "$as_me:$LINENO: result: no" >&5
10554 echo "${ECHO_T}no" >&6
10560 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
10561 for ncn_progname in ranlib; do
10562 echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5
10563 echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6
10564 if test -x $with_build_time_tools/${ncn_progname}; then
10565 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10566 echo "$as_me:$LINENO: result: yes" >&5
10567 echo "${ECHO_T}yes" >&6
10570 echo "$as_me:$LINENO: result: no" >&5
10571 echo "${ECHO_T}no" >&6
10576 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
10577 for ncn_progname in ranlib; do
10578 if test -n "$ncn_target_tool_prefix"; then
10579 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10580 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10581 echo "$as_me:$LINENO: checking for $ac_word" >&5
10582 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10583 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then
10584 echo $ECHO_N "(cached) $ECHO_C" >&6
10586 if test -n "$RANLIB_FOR_TARGET"; then
10587 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
10589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10590 for as_dir in $PATH
10593 test -z "$as_dir" && as_dir=.
10594 for ac_exec_ext in '' $ac_executable_extensions; do
10595 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10596 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10597 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10605 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
10606 if test -n "$RANLIB_FOR_TARGET"; then
10607 echo "$as_me:$LINENO: result: $RANLIB_FOR_TARGET" >&5
10608 echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6
10610 echo "$as_me:$LINENO: result: no" >&5
10611 echo "${ECHO_T}no" >&6
10615 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
10616 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10617 set dummy ${ncn_progname}; ac_word=$2
10618 echo "$as_me:$LINENO: checking for $ac_word" >&5
10619 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10620 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then
10621 echo $ECHO_N "(cached) $ECHO_C" >&6
10623 if test -n "$RANLIB_FOR_TARGET"; then
10624 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
10626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10627 for as_dir in $PATH
10630 test -z "$as_dir" && as_dir=.
10631 for ac_exec_ext in '' $ac_executable_extensions; do
10632 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10633 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
10634 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10642 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
10643 if test -n "$RANLIB_FOR_TARGET"; then
10644 echo "$as_me:$LINENO: result: $RANLIB_FOR_TARGET" >&5
10645 echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6
10647 echo "$as_me:$LINENO: result: no" >&5
10648 echo "${ECHO_T}no" >&6
10652 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
10656 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
10658 if test $build = $target ; then
10659 RANLIB_FOR_TARGET="$2"
10661 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
10664 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
10668 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
10674 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
10675 if test -n "$with_build_time_tools"; then
10676 echo "$as_me:$LINENO: checking for strip in $with_build_time_tools" >&5
10677 echo $ECHO_N "checking for strip in $with_build_time_tools... $ECHO_C" >&6
10678 if test -x $with_build_time_tools/strip; then
10679 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
10680 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
10681 echo "$as_me:$LINENO: result: $ac_cv_path_STRIP_FOR_TARGET" >&5
10682 echo "${ECHO_T}$ac_cv_path_STRIP_FOR_TARGET" >&6
10684 echo "$as_me:$LINENO: result: no" >&5
10685 echo "${ECHO_T}no" >&6
10687 elif test $build != $host && test $have_gcc_for_target = yes; then
10688 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
10689 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
10690 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
10693 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10694 # Extract the first word of "strip", so it can be a program name with args.
10695 set dummy strip; ac_word=$2
10696 echo "$as_me:$LINENO: checking for $ac_word" >&5
10697 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10698 if test "${ac_cv_path_STRIP_FOR_TARGET+set}" = set; then
10699 echo $ECHO_N "(cached) $ECHO_C" >&6
10701 case $STRIP_FOR_TARGET in
10703 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
10706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10707 for as_dir in $gcc_cv_tool_dirs
10710 test -z "$as_dir" && as_dir=.
10711 for ac_exec_ext in '' $ac_executable_extensions; do
10712 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10713 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10714 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10723 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
10725 if test -n "$STRIP_FOR_TARGET"; then
10726 echo "$as_me:$LINENO: result: $STRIP_FOR_TARGET" >&5
10727 echo "${ECHO_T}$STRIP_FOR_TARGET" >&6
10729 echo "$as_me:$LINENO: result: no" >&5
10730 echo "${ECHO_T}no" >&6
10734 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
10737 if test -n "$STRIP_FOR_TARGET"; then
10738 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
10739 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
10740 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
10743 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
10744 for ncn_progname in strip; do
10745 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10746 set dummy ${ncn_progname}; ac_word=$2
10747 echo "$as_me:$LINENO: checking for $ac_word" >&5
10748 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10749 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then
10750 echo $ECHO_N "(cached) $ECHO_C" >&6
10752 if test -n "$STRIP_FOR_TARGET"; then
10753 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
10755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10756 for as_dir in $PATH
10759 test -z "$as_dir" && as_dir=.
10760 for ac_exec_ext in '' $ac_executable_extensions; do
10761 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10762 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
10763 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10771 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
10772 if test -n "$STRIP_FOR_TARGET"; then
10773 echo "$as_me:$LINENO: result: $STRIP_FOR_TARGET" >&5
10774 echo "${ECHO_T}$STRIP_FOR_TARGET" >&6
10776 echo "$as_me:$LINENO: result: no" >&5
10777 echo "${ECHO_T}no" >&6
10783 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
10784 for ncn_progname in strip; do
10785 echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5
10786 echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6
10787 if test -x $with_build_time_tools/${ncn_progname}; then
10788 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10789 echo "$as_me:$LINENO: result: yes" >&5
10790 echo "${ECHO_T}yes" >&6
10793 echo "$as_me:$LINENO: result: no" >&5
10794 echo "${ECHO_T}no" >&6
10799 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
10800 for ncn_progname in strip; do
10801 if test -n "$ncn_target_tool_prefix"; then
10802 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10803 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10804 echo "$as_me:$LINENO: checking for $ac_word" >&5
10805 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10806 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then
10807 echo $ECHO_N "(cached) $ECHO_C" >&6
10809 if test -n "$STRIP_FOR_TARGET"; then
10810 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
10812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10813 for as_dir in $PATH
10816 test -z "$as_dir" && as_dir=.
10817 for ac_exec_ext in '' $ac_executable_extensions; do
10818 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10819 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10820 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10828 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
10829 if test -n "$STRIP_FOR_TARGET"; then
10830 echo "$as_me:$LINENO: result: $STRIP_FOR_TARGET" >&5
10831 echo "${ECHO_T}$STRIP_FOR_TARGET" >&6
10833 echo "$as_me:$LINENO: result: no" >&5
10834 echo "${ECHO_T}no" >&6
10838 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
10839 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10840 set dummy ${ncn_progname}; ac_word=$2
10841 echo "$as_me:$LINENO: checking for $ac_word" >&5
10842 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10843 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then
10844 echo $ECHO_N "(cached) $ECHO_C" >&6
10846 if test -n "$STRIP_FOR_TARGET"; then
10847 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
10849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10850 for as_dir in $PATH
10853 test -z "$as_dir" && as_dir=.
10854 for ac_exec_ext in '' $ac_executable_extensions; do
10855 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10856 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
10857 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10865 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
10866 if test -n "$STRIP_FOR_TARGET"; then
10867 echo "$as_me:$LINENO: result: $STRIP_FOR_TARGET" >&5
10868 echo "${ECHO_T}$STRIP_FOR_TARGET" >&6
10870 echo "$as_me:$LINENO: result: no" >&5
10871 echo "${ECHO_T}no" >&6
10875 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
10879 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
10881 if test $build = $target ; then
10882 STRIP_FOR_TARGET="$2"
10884 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
10887 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
10891 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
10897 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
10898 if test -n "$with_build_time_tools"; then
10899 echo "$as_me:$LINENO: checking for windres in $with_build_time_tools" >&5
10900 echo $ECHO_N "checking for windres in $with_build_time_tools... $ECHO_C" >&6
10901 if test -x $with_build_time_tools/windres; then
10902 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
10903 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
10904 echo "$as_me:$LINENO: result: $ac_cv_path_WINDRES_FOR_TARGET" >&5
10905 echo "${ECHO_T}$ac_cv_path_WINDRES_FOR_TARGET" >&6
10907 echo "$as_me:$LINENO: result: no" >&5
10908 echo "${ECHO_T}no" >&6
10910 elif test $build != $host && test $have_gcc_for_target = yes; then
10911 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
10912 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
10913 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
10916 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10917 # Extract the first word of "windres", so it can be a program name with args.
10918 set dummy windres; ac_word=$2
10919 echo "$as_me:$LINENO: checking for $ac_word" >&5
10920 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10921 if test "${ac_cv_path_WINDRES_FOR_TARGET+set}" = set; then
10922 echo $ECHO_N "(cached) $ECHO_C" >&6
10924 case $WINDRES_FOR_TARGET in
10926 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
10929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10930 for as_dir in $gcc_cv_tool_dirs
10933 test -z "$as_dir" && as_dir=.
10934 for ac_exec_ext in '' $ac_executable_extensions; do
10935 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10936 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10937 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10946 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
10948 if test -n "$WINDRES_FOR_TARGET"; then
10949 echo "$as_me:$LINENO: result: $WINDRES_FOR_TARGET" >&5
10950 echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6
10952 echo "$as_me:$LINENO: result: no" >&5
10953 echo "${ECHO_T}no" >&6
10957 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
10960 if test -n "$WINDRES_FOR_TARGET"; then
10961 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
10962 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
10963 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
10966 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
10967 for ncn_progname in windres; do
10968 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10969 set dummy ${ncn_progname}; ac_word=$2
10970 echo "$as_me:$LINENO: checking for $ac_word" >&5
10971 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10972 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then
10973 echo $ECHO_N "(cached) $ECHO_C" >&6
10975 if test -n "$WINDRES_FOR_TARGET"; then
10976 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
10978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10979 for as_dir in $PATH
10982 test -z "$as_dir" && as_dir=.
10983 for ac_exec_ext in '' $ac_executable_extensions; do
10984 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10985 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
10986 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10994 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
10995 if test -n "$WINDRES_FOR_TARGET"; then
10996 echo "$as_me:$LINENO: result: $WINDRES_FOR_TARGET" >&5
10997 echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6
10999 echo "$as_me:$LINENO: result: no" >&5
11000 echo "${ECHO_T}no" >&6
11006 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
11007 for ncn_progname in windres; do
11008 echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5
11009 echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6
11010 if test -x $with_build_time_tools/${ncn_progname}; then
11011 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11012 echo "$as_me:$LINENO: result: yes" >&5
11013 echo "${ECHO_T}yes" >&6
11016 echo "$as_me:$LINENO: result: no" >&5
11017 echo "${ECHO_T}no" >&6
11022 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
11023 for ncn_progname in windres; do
11024 if test -n "$ncn_target_tool_prefix"; then
11025 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11026 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11027 echo "$as_me:$LINENO: checking for $ac_word" >&5
11028 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11029 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then
11030 echo $ECHO_N "(cached) $ECHO_C" >&6
11032 if test -n "$WINDRES_FOR_TARGET"; then
11033 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
11035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11036 for as_dir in $PATH
11039 test -z "$as_dir" && as_dir=.
11040 for ac_exec_ext in '' $ac_executable_extensions; do
11041 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11042 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11043 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11051 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
11052 if test -n "$WINDRES_FOR_TARGET"; then
11053 echo "$as_me:$LINENO: result: $WINDRES_FOR_TARGET" >&5
11054 echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6
11056 echo "$as_me:$LINENO: result: no" >&5
11057 echo "${ECHO_T}no" >&6
11061 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
11062 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11063 set dummy ${ncn_progname}; ac_word=$2
11064 echo "$as_me:$LINENO: checking for $ac_word" >&5
11065 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11066 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then
11067 echo $ECHO_N "(cached) $ECHO_C" >&6
11069 if test -n "$WINDRES_FOR_TARGET"; then
11070 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
11072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11073 for as_dir in $PATH
11076 test -z "$as_dir" && as_dir=.
11077 for ac_exec_ext in '' $ac_executable_extensions; do
11078 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11079 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
11080 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11088 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
11089 if test -n "$WINDRES_FOR_TARGET"; then
11090 echo "$as_me:$LINENO: result: $WINDRES_FOR_TARGET" >&5
11091 echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6
11093 echo "$as_me:$LINENO: result: no" >&5
11094 echo "${ECHO_T}no" >&6
11098 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
11102 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
11104 if test $build = $target ; then
11105 WINDRES_FOR_TARGET="$2"
11107 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
11110 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
11114 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
11120 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
11121 if test -n "$with_build_time_tools"; then
11122 echo "$as_me:$LINENO: checking for windmc in $with_build_time_tools" >&5
11123 echo $ECHO_N "checking for windmc in $with_build_time_tools... $ECHO_C" >&6
11124 if test -x $with_build_time_tools/windmc; then
11125 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
11126 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
11127 echo "$as_me:$LINENO: result: $ac_cv_path_WINDMC_FOR_TARGET" >&5
11128 echo "${ECHO_T}$ac_cv_path_WINDMC_FOR_TARGET" >&6
11130 echo "$as_me:$LINENO: result: no" >&5
11131 echo "${ECHO_T}no" >&6
11133 elif test $build != $host && test $have_gcc_for_target = yes; then
11134 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
11135 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
11136 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
11139 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11140 # Extract the first word of "windmc", so it can be a program name with args.
11141 set dummy windmc; ac_word=$2
11142 echo "$as_me:$LINENO: checking for $ac_word" >&5
11143 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11144 if test "${ac_cv_path_WINDMC_FOR_TARGET+set}" = set; then
11145 echo $ECHO_N "(cached) $ECHO_C" >&6
11147 case $WINDMC_FOR_TARGET in
11149 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
11152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11153 for as_dir in $gcc_cv_tool_dirs
11156 test -z "$as_dir" && as_dir=.
11157 for ac_exec_ext in '' $ac_executable_extensions; do
11158 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11159 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11160 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11169 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
11171 if test -n "$WINDMC_FOR_TARGET"; then
11172 echo "$as_me:$LINENO: result: $WINDMC_FOR_TARGET" >&5
11173 echo "${ECHO_T}$WINDMC_FOR_TARGET" >&6
11175 echo "$as_me:$LINENO: result: no" >&5
11176 echo "${ECHO_T}no" >&6
11180 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
11183 if test -n "$WINDMC_FOR_TARGET"; then
11184 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
11185 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
11186 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
11189 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
11190 for ncn_progname in windmc; do
11191 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11192 set dummy ${ncn_progname}; ac_word=$2
11193 echo "$as_me:$LINENO: checking for $ac_word" >&5
11194 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11195 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then
11196 echo $ECHO_N "(cached) $ECHO_C" >&6
11198 if test -n "$WINDMC_FOR_TARGET"; then
11199 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
11201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11202 for as_dir in $PATH
11205 test -z "$as_dir" && as_dir=.
11206 for ac_exec_ext in '' $ac_executable_extensions; do
11207 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11208 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
11209 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11217 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
11218 if test -n "$WINDMC_FOR_TARGET"; then
11219 echo "$as_me:$LINENO: result: $WINDMC_FOR_TARGET" >&5
11220 echo "${ECHO_T}$WINDMC_FOR_TARGET" >&6
11222 echo "$as_me:$LINENO: result: no" >&5
11223 echo "${ECHO_T}no" >&6
11229 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
11230 for ncn_progname in windmc; do
11231 echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5
11232 echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6
11233 if test -x $with_build_time_tools/${ncn_progname}; then
11234 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11235 echo "$as_me:$LINENO: result: yes" >&5
11236 echo "${ECHO_T}yes" >&6
11239 echo "$as_me:$LINENO: result: no" >&5
11240 echo "${ECHO_T}no" >&6
11245 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
11246 for ncn_progname in windmc; do
11247 if test -n "$ncn_target_tool_prefix"; then
11248 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11249 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11250 echo "$as_me:$LINENO: checking for $ac_word" >&5
11251 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11252 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then
11253 echo $ECHO_N "(cached) $ECHO_C" >&6
11255 if test -n "$WINDMC_FOR_TARGET"; then
11256 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
11258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11259 for as_dir in $PATH
11262 test -z "$as_dir" && as_dir=.
11263 for ac_exec_ext in '' $ac_executable_extensions; do
11264 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11265 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11266 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11274 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
11275 if test -n "$WINDMC_FOR_TARGET"; then
11276 echo "$as_me:$LINENO: result: $WINDMC_FOR_TARGET" >&5
11277 echo "${ECHO_T}$WINDMC_FOR_TARGET" >&6
11279 echo "$as_me:$LINENO: result: no" >&5
11280 echo "${ECHO_T}no" >&6
11284 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
11285 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11286 set dummy ${ncn_progname}; ac_word=$2
11287 echo "$as_me:$LINENO: checking for $ac_word" >&5
11288 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11289 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then
11290 echo $ECHO_N "(cached) $ECHO_C" >&6
11292 if test -n "$WINDMC_FOR_TARGET"; then
11293 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
11295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11296 for as_dir in $PATH
11299 test -z "$as_dir" && as_dir=.
11300 for ac_exec_ext in '' $ac_executable_extensions; do
11301 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11302 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
11303 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11311 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
11312 if test -n "$WINDMC_FOR_TARGET"; then
11313 echo "$as_me:$LINENO: result: $WINDMC_FOR_TARGET" >&5
11314 echo "${ECHO_T}$WINDMC_FOR_TARGET" >&6
11316 echo "$as_me:$LINENO: result: no" >&5
11317 echo "${ECHO_T}no" >&6
11321 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
11325 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
11327 if test $build = $target ; then
11328 WINDMC_FOR_TARGET="$2"
11330 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
11333 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
11337 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
11341 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
11343 echo "$as_me:$LINENO: checking where to find the target ar" >&5
11344 echo $ECHO_N "checking where to find the target ar... $ECHO_C" >&6
11345 if test "x${build}" != "x${host}" ; then
11346 if expr "x$AR_FOR_TARGET" : "x/" > /dev/null; then
11347 # We already found the complete path
11348 ac_dir=`dirname $AR_FOR_TARGET`
11349 echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
11350 echo "${ECHO_T}pre-installed in $ac_dir" >&6
11352 # Canadian cross, just use what we found
11353 echo "$as_me:$LINENO: result: pre-installed" >&5
11354 echo "${ECHO_T}pre-installed" >&6
11358 case " ${configdirs} " in
11363 if test $ok = yes; then
11364 # An in-tree tool is available and we can use it
11365 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
11366 echo "$as_me:$LINENO: result: just compiled" >&5
11367 echo "${ECHO_T}just compiled" >&6
11368 elif expr "x$AR_FOR_TARGET" : "x/" > /dev/null; then
11369 # We already found the complete path
11370 ac_dir=`dirname $AR_FOR_TARGET`
11371 echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
11372 echo "${ECHO_T}pre-installed in $ac_dir" >&6
11373 elif test "x$target" = "x$host"; then
11374 # We can use an host tool
11375 AR_FOR_TARGET='$(AR)'
11376 echo "$as_me:$LINENO: result: host tool" >&5
11377 echo "${ECHO_T}host tool" >&6
11379 # We need a cross tool
11380 echo "$as_me:$LINENO: result: pre-installed" >&5
11381 echo "${ECHO_T}pre-installed" >&6
11385 echo "$as_me:$LINENO: checking where to find the target as" >&5
11386 echo $ECHO_N "checking where to find the target as... $ECHO_C" >&6
11387 if test "x${build}" != "x${host}" ; then
11388 if expr "x$AS_FOR_TARGET" : "x/" > /dev/null; then
11389 # We already found the complete path
11390 ac_dir=`dirname $AS_FOR_TARGET`
11391 echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
11392 echo "${ECHO_T}pre-installed in $ac_dir" >&6
11394 # Canadian cross, just use what we found
11395 echo "$as_me:$LINENO: result: pre-installed" >&5
11396 echo "${ECHO_T}pre-installed" >&6
11400 case " ${configdirs} " in
11405 if test $ok = yes; then
11406 # An in-tree tool is available and we can use it
11407 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
11408 echo "$as_me:$LINENO: result: just compiled" >&5
11409 echo "${ECHO_T}just compiled" >&6
11410 elif expr "x$AS_FOR_TARGET" : "x/" > /dev/null; then
11411 # We already found the complete path
11412 ac_dir=`dirname $AS_FOR_TARGET`
11413 echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
11414 echo "${ECHO_T}pre-installed in $ac_dir" >&6
11415 elif test "x$target" = "x$host"; then
11416 # We can use an host tool
11417 AS_FOR_TARGET='$(AS)'
11418 echo "$as_me:$LINENO: result: host tool" >&5
11419 echo "${ECHO_T}host tool" >&6
11421 # We need a cross tool
11422 echo "$as_me:$LINENO: result: pre-installed" >&5
11423 echo "${ECHO_T}pre-installed" >&6
11427 echo "$as_me:$LINENO: checking where to find the target cc" >&5
11428 echo $ECHO_N "checking where to find the target cc... $ECHO_C" >&6
11429 if test "x${build}" != "x${host}" ; then
11430 if expr "x$CC_FOR_TARGET" : "x/" > /dev/null; then
11431 # We already found the complete path
11432 ac_dir=`dirname $CC_FOR_TARGET`
11433 echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
11434 echo "${ECHO_T}pre-installed in $ac_dir" >&6
11436 # Canadian cross, just use what we found
11437 echo "$as_me:$LINENO: result: pre-installed" >&5
11438 echo "${ECHO_T}pre-installed" >&6
11442 case " ${configdirs} " in
11447 if test $ok = yes; then
11448 # An in-tree tool is available and we can use it
11449 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
11450 echo "$as_me:$LINENO: result: just compiled" >&5
11451 echo "${ECHO_T}just compiled" >&6
11452 elif expr "x$CC_FOR_TARGET" : "x/" > /dev/null; then
11453 # We already found the complete path
11454 ac_dir=`dirname $CC_FOR_TARGET`
11455 echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
11456 echo "${ECHO_T}pre-installed in $ac_dir" >&6
11457 elif test "x$target" = "x$host"; then
11458 # We can use an host tool
11459 CC_FOR_TARGET='$(CC)'
11460 echo "$as_me:$LINENO: result: host tool" >&5
11461 echo "${ECHO_T}host tool" >&6
11463 # We need a cross tool
11464 echo "$as_me:$LINENO: result: pre-installed" >&5
11465 echo "${ECHO_T}pre-installed" >&6
11469 echo "$as_me:$LINENO: checking where to find the target c++" >&5
11470 echo $ECHO_N "checking where to find the target c++... $ECHO_C" >&6
11471 if test "x${build}" != "x${host}" ; then
11472 if expr "x$CXX_FOR_TARGET" : "x/" > /dev/null; then
11473 # We already found the complete path
11474 ac_dir=`dirname $CXX_FOR_TARGET`
11475 echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
11476 echo "${ECHO_T}pre-installed in $ac_dir" >&6
11478 # Canadian cross, just use what we found
11479 echo "$as_me:$LINENO: result: pre-installed" >&5
11480 echo "${ECHO_T}pre-installed" >&6
11484 case " ${configdirs} " in
11488 case ,${enable_languages}, in
11492 if test $ok = yes; then
11493 # An in-tree tool is available and we can use it
11494 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'
11495 echo "$as_me:$LINENO: result: just compiled" >&5
11496 echo "${ECHO_T}just compiled" >&6
11497 elif expr "x$CXX_FOR_TARGET" : "x/" > /dev/null; then
11498 # We already found the complete path
11499 ac_dir=`dirname $CXX_FOR_TARGET`
11500 echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
11501 echo "${ECHO_T}pre-installed in $ac_dir" >&6
11502 elif test "x$target" = "x$host"; then
11503 # We can use an host tool
11504 CXX_FOR_TARGET='$(CXX)'
11505 echo "$as_me:$LINENO: result: host tool" >&5
11506 echo "${ECHO_T}host tool" >&6
11508 # We need a cross tool
11509 echo "$as_me:$LINENO: result: pre-installed" >&5
11510 echo "${ECHO_T}pre-installed" >&6
11514 echo "$as_me:$LINENO: checking where to find the target c++ for libstdc++" >&5
11515 echo $ECHO_N "checking where to find the target c++ for libstdc++... $ECHO_C" >&6
11516 if test "x${build}" != "x${host}" ; then
11517 if expr "x$RAW_CXX_FOR_TARGET" : "x/" > /dev/null; then
11518 # We already found the complete path
11519 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
11520 echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
11521 echo "${ECHO_T}pre-installed in $ac_dir" >&6
11523 # Canadian cross, just use what we found
11524 echo "$as_me:$LINENO: result: pre-installed" >&5
11525 echo "${ECHO_T}pre-installed" >&6
11529 case " ${configdirs} " in
11533 case ,${enable_languages}, in
11537 if test $ok = yes; then
11538 # An in-tree tool is available and we can use it
11539 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'
11540 echo "$as_me:$LINENO: result: just compiled" >&5
11541 echo "${ECHO_T}just compiled" >&6
11542 elif expr "x$RAW_CXX_FOR_TARGET" : "x/" > /dev/null; then
11543 # We already found the complete path
11544 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
11545 echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
11546 echo "${ECHO_T}pre-installed in $ac_dir" >&6
11547 elif test "x$target" = "x$host"; then
11548 # We can use an host tool
11549 RAW_CXX_FOR_TARGET='$(CXX)'
11550 echo "$as_me:$LINENO: result: host tool" >&5
11551 echo "${ECHO_T}host tool" >&6
11553 # We need a cross tool
11554 echo "$as_me:$LINENO: result: pre-installed" >&5
11555 echo "${ECHO_T}pre-installed" >&6
11559 echo "$as_me:$LINENO: checking where to find the target dlltool" >&5
11560 echo $ECHO_N "checking where to find the target dlltool... $ECHO_C" >&6
11561 if test "x${build}" != "x${host}" ; then
11562 if expr "x$DLLTOOL_FOR_TARGET" : "x/" > /dev/null; then
11563 # We already found the complete path
11564 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
11565 echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
11566 echo "${ECHO_T}pre-installed in $ac_dir" >&6
11568 # Canadian cross, just use what we found
11569 echo "$as_me:$LINENO: result: pre-installed" >&5
11570 echo "${ECHO_T}pre-installed" >&6
11574 case " ${configdirs} " in
11579 if test $ok = yes; then
11580 # An in-tree tool is available and we can use it
11581 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
11582 echo "$as_me:$LINENO: result: just compiled" >&5
11583 echo "${ECHO_T}just compiled" >&6
11584 elif expr "x$DLLTOOL_FOR_TARGET" : "x/" > /dev/null; then
11585 # We already found the complete path
11586 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
11587 echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
11588 echo "${ECHO_T}pre-installed in $ac_dir" >&6
11589 elif test "x$target" = "x$host"; then
11590 # We can use an host tool
11591 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
11592 echo "$as_me:$LINENO: result: host tool" >&5
11593 echo "${ECHO_T}host tool" >&6
11595 # We need a cross tool
11596 echo "$as_me:$LINENO: result: pre-installed" >&5
11597 echo "${ECHO_T}pre-installed" >&6
11601 echo "$as_me:$LINENO: checking where to find the target gcc" >&5
11602 echo $ECHO_N "checking where to find the target gcc... $ECHO_C" >&6
11603 if test "x${build}" != "x${host}" ; then
11604 if expr "x$GCC_FOR_TARGET" : "x/" > /dev/null; then
11605 # We already found the complete path
11606 ac_dir=`dirname $GCC_FOR_TARGET`
11607 echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
11608 echo "${ECHO_T}pre-installed in $ac_dir" >&6
11610 # Canadian cross, just use what we found
11611 echo "$as_me:$LINENO: result: pre-installed" >&5
11612 echo "${ECHO_T}pre-installed" >&6
11616 case " ${configdirs} " in
11621 if test $ok = yes; then
11622 # An in-tree tool is available and we can use it
11623 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
11624 echo "$as_me:$LINENO: result: just compiled" >&5
11625 echo "${ECHO_T}just compiled" >&6
11626 elif expr "x$GCC_FOR_TARGET" : "x/" > /dev/null; then
11627 # We already found the complete path
11628 ac_dir=`dirname $GCC_FOR_TARGET`
11629 echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
11630 echo "${ECHO_T}pre-installed in $ac_dir" >&6
11631 elif test "x$target" = "x$host"; then
11632 # We can use an host tool
11633 GCC_FOR_TARGET='$()'
11634 echo "$as_me:$LINENO: result: host tool" >&5
11635 echo "${ECHO_T}host tool" >&6
11637 # We need a cross tool
11638 echo "$as_me:$LINENO: result: pre-installed" >&5
11639 echo "${ECHO_T}pre-installed" >&6
11643 echo "$as_me:$LINENO: checking where to find the target gcj" >&5
11644 echo $ECHO_N "checking where to find the target gcj... $ECHO_C" >&6
11645 if test "x${build}" != "x${host}" ; then
11646 if expr "x$GCJ_FOR_TARGET" : "x/" > /dev/null; then
11647 # We already found the complete path
11648 ac_dir=`dirname $GCJ_FOR_TARGET`
11649 echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
11650 echo "${ECHO_T}pre-installed in $ac_dir" >&6
11652 # Canadian cross, just use what we found
11653 echo "$as_me:$LINENO: result: pre-installed" >&5
11654 echo "${ECHO_T}pre-installed" >&6
11658 case " ${configdirs} " in
11662 case ,${enable_languages}, in
11666 if test $ok = yes; then
11667 # An in-tree tool is available and we can use it
11668 GCJ_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc/'
11669 echo "$as_me:$LINENO: result: just compiled" >&5
11670 echo "${ECHO_T}just compiled" >&6
11671 elif expr "x$GCJ_FOR_TARGET" : "x/" > /dev/null; then
11672 # We already found the complete path
11673 ac_dir=`dirname $GCJ_FOR_TARGET`
11674 echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
11675 echo "${ECHO_T}pre-installed in $ac_dir" >&6
11676 elif test "x$target" = "x$host"; then
11677 # We can use an host tool
11678 GCJ_FOR_TARGET='$(GCJ)'
11679 echo "$as_me:$LINENO: result: host tool" >&5
11680 echo "${ECHO_T}host tool" >&6
11682 # We need a cross tool
11683 echo "$as_me:$LINENO: result: pre-installed" >&5
11684 echo "${ECHO_T}pre-installed" >&6
11688 echo "$as_me:$LINENO: checking where to find the target gfortran" >&5
11689 echo $ECHO_N "checking where to find the target gfortran... $ECHO_C" >&6
11690 if test "x${build}" != "x${host}" ; then
11691 if expr "x$GFORTRAN_FOR_TARGET" : "x/" > /dev/null; then
11692 # We already found the complete path
11693 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
11694 echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
11695 echo "${ECHO_T}pre-installed in $ac_dir" >&6
11697 # Canadian cross, just use what we found
11698 echo "$as_me:$LINENO: result: pre-installed" >&5
11699 echo "${ECHO_T}pre-installed" >&6
11703 case " ${configdirs} " in
11707 case ,${enable_languages}, in
11711 if test $ok = yes; then
11712 # An in-tree tool is available and we can use it
11713 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
11714 echo "$as_me:$LINENO: result: just compiled" >&5
11715 echo "${ECHO_T}just compiled" >&6
11716 elif expr "x$GFORTRAN_FOR_TARGET" : "x/" > /dev/null; then
11717 # We already found the complete path
11718 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
11719 echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
11720 echo "${ECHO_T}pre-installed in $ac_dir" >&6
11721 elif test "x$target" = "x$host"; then
11722 # We can use an host tool
11723 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
11724 echo "$as_me:$LINENO: result: host tool" >&5
11725 echo "${ECHO_T}host tool" >&6
11727 # We need a cross tool
11728 echo "$as_me:$LINENO: result: pre-installed" >&5
11729 echo "${ECHO_T}pre-installed" >&6
11733 echo "$as_me:$LINENO: checking where to find the target ld" >&5
11734 echo $ECHO_N "checking where to find the target ld... $ECHO_C" >&6
11735 if test "x${build}" != "x${host}" ; then
11736 if expr "x$LD_FOR_TARGET" : "x/" > /dev/null; then
11737 # We already found the complete path
11738 ac_dir=`dirname $LD_FOR_TARGET`
11739 echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
11740 echo "${ECHO_T}pre-installed in $ac_dir" >&6
11742 # Canadian cross, just use what we found
11743 echo "$as_me:$LINENO: result: pre-installed" >&5
11744 echo "${ECHO_T}pre-installed" >&6
11748 case " ${configdirs} " in
11753 if test $ok = yes; then
11754 # An in-tree tool is available and we can use it
11755 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
11756 echo "$as_me:$LINENO: result: just compiled" >&5
11757 echo "${ECHO_T}just compiled" >&6
11758 elif expr "x$LD_FOR_TARGET" : "x/" > /dev/null; then
11759 # We already found the complete path
11760 ac_dir=`dirname $LD_FOR_TARGET`
11761 echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
11762 echo "${ECHO_T}pre-installed in $ac_dir" >&6
11763 elif test "x$target" = "x$host"; then
11764 # We can use an host tool
11765 LD_FOR_TARGET='$(LD)'
11766 echo "$as_me:$LINENO: result: host tool" >&5
11767 echo "${ECHO_T}host tool" >&6
11769 # We need a cross tool
11770 echo "$as_me:$LINENO: result: pre-installed" >&5
11771 echo "${ECHO_T}pre-installed" >&6
11775 echo "$as_me:$LINENO: checking where to find the target lipo" >&5
11776 echo $ECHO_N "checking where to find the target lipo... $ECHO_C" >&6
11777 if test "x${build}" != "x${host}" ; then
11778 if expr "x$LIPO_FOR_TARGET" : "x/" > /dev/null; then
11779 # We already found the complete path
11780 ac_dir=`dirname $LIPO_FOR_TARGET`
11781 echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
11782 echo "${ECHO_T}pre-installed in $ac_dir" >&6
11784 # Canadian cross, just use what we found
11785 echo "$as_me:$LINENO: result: pre-installed" >&5
11786 echo "${ECHO_T}pre-installed" >&6
11789 if expr "x$LIPO_FOR_TARGET" : "x/" > /dev/null; then
11790 # We already found the complete path
11791 ac_dir=`dirname $LIPO_FOR_TARGET`
11792 echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
11793 echo "${ECHO_T}pre-installed in $ac_dir" >&6
11794 elif test "x$target" = "x$host"; then
11795 # We can use an host tool
11796 LIPO_FOR_TARGET='$(LIPO)'
11797 echo "$as_me:$LINENO: result: host tool" >&5
11798 echo "${ECHO_T}host tool" >&6
11800 # We need a cross tool
11801 echo "$as_me:$LINENO: result: pre-installed" >&5
11802 echo "${ECHO_T}pre-installed" >&6
11806 echo "$as_me:$LINENO: checking where to find the target nm" >&5
11807 echo $ECHO_N "checking where to find the target nm... $ECHO_C" >&6
11808 if test "x${build}" != "x${host}" ; then
11809 if expr "x$NM_FOR_TARGET" : "x/" > /dev/null; then
11810 # We already found the complete path
11811 ac_dir=`dirname $NM_FOR_TARGET`
11812 echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
11813 echo "${ECHO_T}pre-installed in $ac_dir" >&6
11815 # Canadian cross, just use what we found
11816 echo "$as_me:$LINENO: result: pre-installed" >&5
11817 echo "${ECHO_T}pre-installed" >&6
11821 case " ${configdirs} " in
11826 if test $ok = yes; then
11827 # An in-tree tool is available and we can use it
11828 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
11829 echo "$as_me:$LINENO: result: just compiled" >&5
11830 echo "${ECHO_T}just compiled" >&6
11831 elif expr "x$NM_FOR_TARGET" : "x/" > /dev/null; then
11832 # We already found the complete path
11833 ac_dir=`dirname $NM_FOR_TARGET`
11834 echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
11835 echo "${ECHO_T}pre-installed in $ac_dir" >&6
11836 elif test "x$target" = "x$host"; then
11837 # We can use an host tool
11838 NM_FOR_TARGET='$(NM)'
11839 echo "$as_me:$LINENO: result: host tool" >&5
11840 echo "${ECHO_T}host tool" >&6
11842 # We need a cross tool
11843 echo "$as_me:$LINENO: result: pre-installed" >&5
11844 echo "${ECHO_T}pre-installed" >&6
11848 echo "$as_me:$LINENO: checking where to find the target objdump" >&5
11849 echo $ECHO_N "checking where to find the target objdump... $ECHO_C" >&6
11850 if test "x${build}" != "x${host}" ; then
11851 if expr "x$OBJDUMP_FOR_TARGET" : "x/" > /dev/null; then
11852 # We already found the complete path
11853 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
11854 echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
11855 echo "${ECHO_T}pre-installed in $ac_dir" >&6
11857 # Canadian cross, just use what we found
11858 echo "$as_me:$LINENO: result: pre-installed" >&5
11859 echo "${ECHO_T}pre-installed" >&6
11863 case " ${configdirs} " in
11868 if test $ok = yes; then
11869 # An in-tree tool is available and we can use it
11870 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
11871 echo "$as_me:$LINENO: result: just compiled" >&5
11872 echo "${ECHO_T}just compiled" >&6
11873 elif expr "x$OBJDUMP_FOR_TARGET" : "x/" > /dev/null; then
11874 # We already found the complete path
11875 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
11876 echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
11877 echo "${ECHO_T}pre-installed in $ac_dir" >&6
11878 elif test "x$target" = "x$host"; then
11879 # We can use an host tool
11880 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
11881 echo "$as_me:$LINENO: result: host tool" >&5
11882 echo "${ECHO_T}host tool" >&6
11884 # We need a cross tool
11885 echo "$as_me:$LINENO: result: pre-installed" >&5
11886 echo "${ECHO_T}pre-installed" >&6
11890 echo "$as_me:$LINENO: checking where to find the target ranlib" >&5
11891 echo $ECHO_N "checking where to find the target ranlib... $ECHO_C" >&6
11892 if test "x${build}" != "x${host}" ; then
11893 if expr "x$RANLIB_FOR_TARGET" : "x/" > /dev/null; then
11894 # We already found the complete path
11895 ac_dir=`dirname $RANLIB_FOR_TARGET`
11896 echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
11897 echo "${ECHO_T}pre-installed in $ac_dir" >&6
11899 # Canadian cross, just use what we found
11900 echo "$as_me:$LINENO: result: pre-installed" >&5
11901 echo "${ECHO_T}pre-installed" >&6
11905 case " ${configdirs} " in
11910 if test $ok = yes; then
11911 # An in-tree tool is available and we can use it
11912 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
11913 echo "$as_me:$LINENO: result: just compiled" >&5
11914 echo "${ECHO_T}just compiled" >&6
11915 elif expr "x$RANLIB_FOR_TARGET" : "x/" > /dev/null; then
11916 # We already found the complete path
11917 ac_dir=`dirname $RANLIB_FOR_TARGET`
11918 echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
11919 echo "${ECHO_T}pre-installed in $ac_dir" >&6
11920 elif test "x$target" = "x$host"; then
11921 # We can use an host tool
11922 RANLIB_FOR_TARGET='$(RANLIB)'
11923 echo "$as_me:$LINENO: result: host tool" >&5
11924 echo "${ECHO_T}host tool" >&6
11926 # We need a cross tool
11927 echo "$as_me:$LINENO: result: pre-installed" >&5
11928 echo "${ECHO_T}pre-installed" >&6
11932 echo "$as_me:$LINENO: checking where to find the target strip" >&5
11933 echo $ECHO_N "checking where to find the target strip... $ECHO_C" >&6
11934 if test "x${build}" != "x${host}" ; then
11935 if expr "x$STRIP_FOR_TARGET" : "x/" > /dev/null; then
11936 # We already found the complete path
11937 ac_dir=`dirname $STRIP_FOR_TARGET`
11938 echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
11939 echo "${ECHO_T}pre-installed in $ac_dir" >&6
11941 # Canadian cross, just use what we found
11942 echo "$as_me:$LINENO: result: pre-installed" >&5
11943 echo "${ECHO_T}pre-installed" >&6
11947 case " ${configdirs} " in
11952 if test $ok = yes; then
11953 # An in-tree tool is available and we can use it
11954 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip'
11955 echo "$as_me:$LINENO: result: just compiled" >&5
11956 echo "${ECHO_T}just compiled" >&6
11957 elif expr "x$STRIP_FOR_TARGET" : "x/" > /dev/null; then
11958 # We already found the complete path
11959 ac_dir=`dirname $STRIP_FOR_TARGET`
11960 echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
11961 echo "${ECHO_T}pre-installed in $ac_dir" >&6
11962 elif test "x$target" = "x$host"; then
11963 # We can use an host tool
11964 STRIP_FOR_TARGET='$(STRIP)'
11965 echo "$as_me:$LINENO: result: host tool" >&5
11966 echo "${ECHO_T}host tool" >&6
11968 # We need a cross tool
11969 echo "$as_me:$LINENO: result: pre-installed" >&5
11970 echo "${ECHO_T}pre-installed" >&6
11974 echo "$as_me:$LINENO: checking where to find the target windres" >&5
11975 echo $ECHO_N "checking where to find the target windres... $ECHO_C" >&6
11976 if test "x${build}" != "x${host}" ; then
11977 if expr "x$WINDRES_FOR_TARGET" : "x/" > /dev/null; then
11978 # We already found the complete path
11979 ac_dir=`dirname $WINDRES_FOR_TARGET`
11980 echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
11981 echo "${ECHO_T}pre-installed in $ac_dir" >&6
11983 # Canadian cross, just use what we found
11984 echo "$as_me:$LINENO: result: pre-installed" >&5
11985 echo "${ECHO_T}pre-installed" >&6
11989 case " ${configdirs} " in
11994 if test $ok = yes; then
11995 # An in-tree tool is available and we can use it
11996 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
11997 echo "$as_me:$LINENO: result: just compiled" >&5
11998 echo "${ECHO_T}just compiled" >&6
11999 elif expr "x$WINDRES_FOR_TARGET" : "x/" > /dev/null; then
12000 # We already found the complete path
12001 ac_dir=`dirname $WINDRES_FOR_TARGET`
12002 echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
12003 echo "${ECHO_T}pre-installed in $ac_dir" >&6
12004 elif test "x$target" = "x$host"; then
12005 # We can use an host tool
12006 WINDRES_FOR_TARGET='$(WINDRES)'
12007 echo "$as_me:$LINENO: result: host tool" >&5
12008 echo "${ECHO_T}host tool" >&6
12010 # We need a cross tool
12011 echo "$as_me:$LINENO: result: pre-installed" >&5
12012 echo "${ECHO_T}pre-installed" >&6
12016 echo "$as_me:$LINENO: checking where to find the target windmc" >&5
12017 echo $ECHO_N "checking where to find the target windmc... $ECHO_C" >&6
12018 if test "x${build}" != "x${host}" ; then
12019 if expr "x$WINDMC_FOR_TARGET" : "x/" > /dev/null; then
12020 # We already found the complete path
12021 ac_dir=`dirname $WINDMC_FOR_TARGET`
12022 echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
12023 echo "${ECHO_T}pre-installed in $ac_dir" >&6
12025 # Canadian cross, just use what we found
12026 echo "$as_me:$LINENO: result: pre-installed" >&5
12027 echo "${ECHO_T}pre-installed" >&6
12031 case " ${configdirs} " in
12036 if test $ok = yes; then
12037 # An in-tree tool is available and we can use it
12038 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
12039 echo "$as_me:$LINENO: result: just compiled" >&5
12040 echo "${ECHO_T}just compiled" >&6
12041 elif expr "x$WINDMC_FOR_TARGET" : "x/" > /dev/null; then
12042 # We already found the complete path
12043 ac_dir=`dirname $WINDMC_FOR_TARGET`
12044 echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
12045 echo "${ECHO_T}pre-installed in $ac_dir" >&6
12046 elif test "x$target" = "x$host"; then
12047 # We can use an host tool
12048 WINDMC_FOR_TARGET='$(WINDMC)'
12049 echo "$as_me:$LINENO: result: host tool" >&5
12050 echo "${ECHO_T}host tool" >&6
12052 # We need a cross tool
12053 echo "$as_me:$LINENO: result: pre-installed" >&5
12054 echo "${ECHO_T}pre-installed" >&6
12062 # Certain tools may need extra flags.
12063 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
12064 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
12065 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
12067 # When building target libraries, except in a Canadian cross, we use
12068 # the same toolchain as the compiler we just built.
12069 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
12070 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
12071 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
12072 if test $host = $build; then
12073 case " $configdirs " in
12075 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
12076 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
12077 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
12086 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
12087 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
12088 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
12089 if test "${enable_maintainer_mode+set}" = set; then
12090 enableval="$enable_maintainer_mode"
12091 USE_MAINTAINER_MODE=$enableval
12093 USE_MAINTAINER_MODE=no
12095 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
12096 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
12099 if test "$USE_MAINTAINER_MODE" = yes; then
12100 MAINTAINER_MODE_TRUE=
12101 MAINTAINER_MODE_FALSE='#'
12103 MAINTAINER_MODE_TRUE='#'
12104 MAINTAINER_MODE_FALSE=
12106 MAINT=$MAINTAINER_MODE_TRUE
12108 # ---------------------
12109 # GCC bootstrap support
12110 # ---------------------
12112 # Stage specific cflags for build.
12117 yes) stage1_cflags="-g -Wa,-J" ;;
12118 *) stage1_cflags="-g -J" ;;
12122 # This is aimed to mimic bootstrap with a non-GCC compiler to catch problems.
12123 if test "$GCC" = yes; then
12124 saved_CFLAGS="$CFLAGS"
12126 # Pass -fkeep-inline-functions for stage 1 if the GCC version supports it.
12127 CFLAGS="$CFLAGS -fkeep-inline-functions"
12128 echo "$as_me:$LINENO: checking whether -fkeep-inline-functions is supported" >&5
12129 echo $ECHO_N "checking whether -fkeep-inline-functions is supported... $ECHO_C" >&6
12130 cat >conftest.$ac_ext <<_ACEOF
12133 cat confdefs.h >>conftest.$ac_ext
12134 cat >>conftest.$ac_ext <<_ACEOF
12135 /* end confdefs.h. */
12137 #if (__GNUC__ < 3) \
12138 || (__GNUC__ == 3 && (__GNUC_MINOR__ < 3 \
12139 || (__GNUC_MINOR__ == 3 && __GNUC_PATCHLEVEL__ < 1)))
12140 #error http://gcc.gnu.org/PR29382
12151 rm -f conftest.$ac_objext
12152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12153 (eval $ac_compile) 2>conftest.er1
12155 grep -v '^ *+' conftest.er1 >conftest.err
12157 cat conftest.err >&5
12158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12159 (exit $ac_status); } &&
12160 { ac_try='test -z "$ac_c_werror_flag"
12161 || test ! -s conftest.err'
12162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12163 (eval $ac_try) 2>&5
12165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12166 (exit $ac_status); }; } &&
12167 { ac_try='test -s conftest.$ac_objext'
12168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12169 (eval $ac_try) 2>&5
12171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12172 (exit $ac_status); }; }; then
12173 echo "$as_me:$LINENO: result: yes" >&5
12174 echo "${ECHO_T}yes" >&6; stage1_cflags="$stage1_cflags -fkeep-inline-functions"
12176 echo "$as_me: failed program was:" >&5
12177 sed 's/^/| /' conftest.$ac_ext >&5
12179 echo "$as_me:$LINENO: result: no" >&5
12180 echo "${ECHO_T}no" >&6
12182 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12184 CFLAGS="$saved_CFLAGS"
12189 # Enable --enable-checking in stage1 of the compiler.
12190 # Check whether --enable-stage1-checking or --disable-stage1-checking was given.
12191 if test "${enable_stage1_checking+set}" = set; then
12192 enableval="$enable_stage1_checking"
12193 stage1_checking=--enable-checking=${enable_stage1_checking}
12195 if test "x$enable_checking" = xno || test "x$enable_checking" = x; then
12196 stage1_checking=--enable-checking=yes,types
12198 stage1_checking=--enable-checking=$enable_checking,types
12203 # Enable -Werror in bootstrap stage2 and later.
12204 # Check whether --enable-werror or --disable-werror was given.
12205 if test "${enable_werror+set}" = set; then
12206 enableval="$enable_werror"
12209 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
12215 case ${enable_werror} in
12216 yes) stage2_werror_flag="--enable-werror-always" ;;
12217 *) stage2_werror_flag="" ;;
12221 # Flags needed to enable html installing and building
12223 # Check whether --with-datarootdir or --without-datarootdir was given.
12224 if test "${with_datarootdir+set}" = set; then
12225 withval="$with_datarootdir"
12226 datarootdir="\${prefix}/${withval}"
12228 datarootdir="\${prefix}/share"
12232 # Check whether --with-docdir or --without-docdir was given.
12233 if test "${with_docdir+set}" = set; then
12234 withval="$with_docdir"
12235 docdir="\${prefix}/${withval}"
12237 docdir="\${datarootdir}/doc"
12241 # Check whether --with-pdfdir or --without-pdfdir was given.
12242 if test "${with_pdfdir+set}" = set; then
12243 withval="$with_pdfdir"
12244 pdfdir="\${prefix}/${withval}"
12246 pdfdir="\${docdir}"
12250 # Check whether --with-htmldir or --without-htmldir was given.
12251 if test "${with_htmldir+set}" = set; then
12252 withval="$with_htmldir"
12253 htmldir="\${prefix}/${withval}"
12255 htmldir="\${docdir}"
12263 ac_config_files="$ac_config_files Makefile"
12264 cat >confcache <<\_ACEOF
12265 # This file is a shell script that caches the results of configure
12266 # tests run on this system so they can be shared between configure
12267 # scripts and configure runs, see configure's option --config-cache.
12268 # It is not useful on other systems. If it contains results you don't
12269 # want to keep, you may remove or edit it.
12271 # config.status only pays attention to the cache file if you give it
12272 # the --recheck option to rerun configure.
12274 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12275 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12276 # following values.
12280 # The following way of writing the cache mishandles newlines in values,
12281 # but we know of no workaround that is simple, portable, and efficient.
12282 # So, don't put newlines in cache variables' values.
12283 # Ultrix sh set writes to stderr and can't be redirected directly,
12284 # and sets the high bit in the cache file unless we assign to the vars.
12287 case `(ac_space=' '; set | grep ac_space) 2>&1` in
12289 # `set' does not quote correctly, so add quotes (double-quote
12290 # substitution turns \\\\ into \\, and sed turns \\ into \).
12293 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12296 # `set' quotes correctly as required by POSIX, so do not add quotes.
12298 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
12305 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12307 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12309 if diff $cache_file confcache >/dev/null 2>&1; then :; else
12310 if test -w $cache_file; then
12311 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
12312 cat confcache >$cache_file
12314 echo "not updating unwritable cache $cache_file"
12319 test "x$prefix" = xNONE && prefix=$ac_default_prefix
12320 # Let make expand exec_prefix.
12321 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12323 # VPATH may cause trouble with some makes, so we remove $(srcdir),
12324 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
12325 # trailing colons and then remove the whole line if VPATH becomes empty
12326 # (actually we leave an empty line to preserve line numbers).
12327 if test "x$srcdir" = x.; then
12328 ac_vpsub='/^[ ]*VPATH[ ]*=/{
12329 s/:*\$(srcdir):*/:/;
12330 s/:*\${srcdir}:*/:/;
12332 s/^\([^=]*=[ ]*\):*/\1/;
12338 # Transform confdefs.h into DEFS.
12339 # Protect against shell expansion while executing Makefile rules.
12340 # Protect against Makefile macro expansion.
12342 # If the first sed substitution is executed (which looks for macros that
12343 # take arguments), then we branch to the quote section. Otherwise,
12344 # look for a macro that doesn't take arguments.
12345 cat >confdef2opt.sed <<\_ACEOF
12348 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
12350 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
12354 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
12360 # We use echo to avoid assuming a particular line-breaking character.
12361 # The extra dot is to prevent the shell from consuming trailing
12362 # line-breaks from the sub-command output. A line-break within
12363 # single-quotes doesn't work because, if this script is created in a
12364 # platform that uses two characters for line-breaks (e.g., DOS), tr
12366 ac_LF_and_DOT=`echo; echo .`
12367 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
12368 rm -f confdef2opt.sed
12373 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12374 # 1. Remove the extension, and $U if already installed.
12375 ac_i=`echo "$ac_i" |
12376 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
12378 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
12379 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
12381 LIBOBJS=$ac_libobjs
12383 LTLIBOBJS=$ac_ltlibobjs
12387 : ${CONFIG_STATUS=./config.status}
12388 ac_clean_files_save=$ac_clean_files
12389 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12390 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
12391 echo "$as_me: creating $CONFIG_STATUS" >&6;}
12392 cat >$CONFIG_STATUS <<_ACEOF
12394 # Generated by $as_me.
12395 # Run this file to recreate the current configuration.
12396 # Compiler output produced by configure, useful for debugging
12397 # configure, is in config.log if it exists.
12400 ac_cs_recheck=false
12402 SHELL=\${CONFIG_SHELL-$SHELL}
12405 cat >>$CONFIG_STATUS <<\_ACEOF
12406 ## --------------------- ##
12407 ## M4sh Initialization. ##
12408 ## --------------------- ##
12410 # Be Bourne compatible
12411 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
12414 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
12415 # is contrary to our usage. Disable this feature.
12416 alias -g '${1+"$@"}'='"$@"'
12417 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
12420 DUALCASE=1; export DUALCASE # for MKS sh
12422 # Support unset when possible.
12423 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
12430 # Work around bugs in pre-3.0 UWIN ksh.
12431 $as_unset ENV MAIL MAILPATH
12438 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
12439 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
12440 LC_TELEPHONE LC_TIME
12442 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
12443 eval $as_var=C; export $as_var
12449 # Required to use basename.
12450 if expr a : '\(a\)' >/dev/null 2>&1; then
12456 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
12457 as_basename=basename
12463 # Name of the executable.
12464 as_me=`$as_basename "$0" ||
12465 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12466 X"$0" : 'X\(//\)$' \| \
12467 X"$0" : 'X\(/\)$' \| \
12468 . : '\(.\)' 2>/dev/null ||
12470 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
12471 /^X\/\(\/\/\)$/{ s//\1/; q; }
12472 /^X\/\(\/\).*/{ s//\1/; q; }
12476 # PATH needs CR, and LINENO needs CR and PATH.
12477 # Avoid depending upon Character Ranges.
12478 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12479 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12480 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
12481 as_cr_digits='0123456789'
12482 as_cr_alnum=$as_cr_Letters$as_cr_digits
12484 # The user is always right.
12485 if test "${PATH_SEPARATOR+set}" != set; then
12486 echo "#! /bin/sh" >conf$$.sh
12487 echo "exit 0" >>conf$$.sh
12489 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12498 as_lineno_1=$LINENO
12499 as_lineno_2=$LINENO
12500 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
12501 test "x$as_lineno_1" != "x$as_lineno_2" &&
12502 test "x$as_lineno_3" = "x$as_lineno_2" || {
12503 # Find who we are. Look in the path if we contain no path at all
12506 *[\\/]* ) as_myself=$0 ;;
12507 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12508 for as_dir in $PATH
12511 test -z "$as_dir" && as_dir=.
12512 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12517 # We did not find ourselves, most probably we were run as `sh COMMAND'
12518 # in which case we are not to be found in the path.
12519 if test "x$as_myself" = x; then
12522 if test ! -f "$as_myself"; then
12523 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
12524 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
12525 { (exit 1); exit 1; }; }
12527 case $CONFIG_SHELL in
12529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12530 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
12533 test -z "$as_dir" && as_dir=.
12534 for as_base in sh bash ksh sh5; do
12537 if ("$as_dir/$as_base" -c '
12538 as_lineno_1=$LINENO
12539 as_lineno_2=$LINENO
12540 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
12541 test "x$as_lineno_1" != "x$as_lineno_2" &&
12542 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
12543 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
12544 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
12545 CONFIG_SHELL=$as_dir/$as_base
12546 export CONFIG_SHELL
12547 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
12555 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
12556 # uniformly replaced by the line number. The first 'sed' inserts a
12557 # line-number line before each line; the second 'sed' does the real
12558 # work. The second script uses 'N' to pair each line-number line
12559 # with the numbered line, and appends trailing '-' during
12560 # substitution so that $LINENO is not a special case at line end.
12561 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
12562 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
12563 sed '=' <$as_myself |
12568 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
12571 s,^['$as_cr_digits']*\n,,
12572 ' >$as_me.lineno &&
12573 chmod +x $as_me.lineno ||
12574 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
12575 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
12576 { (exit 1); exit 1; }; }
12578 # Don't try to exec as it changes $[0], causing all sort of problems
12579 # (the dirname of $[0] is not the place where we might find the
12580 # original and so on. Autoconf is especially sensible to this).
12582 # Exit status is that of the last command.
12587 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
12588 *c*,-n*) ECHO_N= ECHO_C='
12590 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
12591 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
12594 if expr a : '\(a\)' >/dev/null 2>&1; then
12600 rm -f conf$$ conf$$.exe conf$$.file
12602 if ln -s conf$$.file conf$$ 2>/dev/null; then
12603 # We could just check for DJGPP; but this test a) works b) is more generic
12604 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
12605 if test -f conf$$.exe; then
12606 # Don't use ln at all; we don't have any links
12611 elif ln conf$$.file conf$$ 2>/dev/null; then
12616 rm -f conf$$ conf$$.exe conf$$.file
12618 if mkdir -p . 2>/dev/null; then
12621 test -d ./-p && rmdir ./-p
12625 as_executable_p="test -f"
12627 # Sed expression to map a string onto a valid CPP name.
12628 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12630 # Sed expression to map a string onto a valid variable name.
12631 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12635 # We need space, tab and new line, in precisely that order.
12645 # Open the log real soon, to keep \$[0] and so on meaningful, and to
12646 # report actual input values of CONFIG_FILES etc. instead of their
12647 # values after options handling. Logging --version etc. is OK.
12651 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12652 ## Running $as_me. ##
12657 This file was extended by $as_me, which was
12658 generated by GNU Autoconf 2.59. Invocation command line was
12660 CONFIG_FILES = $CONFIG_FILES
12661 CONFIG_HEADERS = $CONFIG_HEADERS
12662 CONFIG_LINKS = $CONFIG_LINKS
12663 CONFIG_COMMANDS = $CONFIG_COMMANDS
12667 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
12671 # Files that config.status was made for.
12672 if test -n "$ac_config_files"; then
12673 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
12676 if test -n "$ac_config_headers"; then
12677 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
12680 if test -n "$ac_config_links"; then
12681 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
12684 if test -n "$ac_config_commands"; then
12685 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
12688 cat >>$CONFIG_STATUS <<\_ACEOF
12691 \`$as_me' instantiates files from templates according to the
12692 current configuration.
12694 Usage: $0 [OPTIONS] [FILE]...
12696 -h, --help print this help, then exit
12697 -V, --version print version number, then exit
12698 -q, --quiet do not print progress messages
12699 -d, --debug don't remove temporary files
12700 --recheck update $as_me by reconfiguring in the same conditions
12701 --file=FILE[:TEMPLATE]
12702 instantiate the configuration file FILE
12704 Configuration files:
12707 Report bugs to <bug-autoconf@gnu.org>."
12710 cat >>$CONFIG_STATUS <<_ACEOF
12713 configured by $0, generated by GNU Autoconf 2.59,
12714 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
12716 Copyright (C) 2003 Free Software Foundation, Inc.
12717 This config.status script is free software; the Free Software Foundation
12718 gives unlimited permission to copy, distribute and modify it."
12723 cat >>$CONFIG_STATUS <<\_ACEOF
12724 # If no file are specified by the user, then we need to provide default
12725 # value. By we need to know if files were specified by the user.
12731 ac_option=`expr "x$1" : 'x\([^=]*\)='`
12732 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
12740 *) # This is not an option, so the user has probably given explicit
12743 ac_need_defaults=false;;
12747 # Handling of the options.
12749 cat >>$CONFIG_STATUS <<\_ACEOF
12750 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
12752 --version | --vers* | -V )
12753 echo "$ac_cs_version"; exit 0 ;;
12755 # Conflict between --help and --header
12756 { { echo "$as_me:$LINENO: error: ambiguous option: $1
12757 Try \`$0 --help' for more information." >&5
12758 echo "$as_me: error: ambiguous option: $1
12759 Try \`$0 --help' for more information." >&2;}
12760 { (exit 1); exit 1; }; };;
12761 --help | --hel | -h )
12762 echo "$ac_cs_usage"; exit 0 ;;
12763 --debug | --d* | -d )
12765 --file | --fil | --fi | --f )
12767 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
12768 ac_need_defaults=false;;
12769 --header | --heade | --head | --hea )
12771 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
12772 ac_need_defaults=false;;
12773 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
12774 | -silent | --silent | --silen | --sile | --sil | --si | --s)
12777 # This is an error.
12778 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
12779 Try \`$0 --help' for more information." >&5
12780 echo "$as_me: error: unrecognized option: $1
12781 Try \`$0 --help' for more information." >&2;}
12782 { (exit 1); exit 1; }; } ;;
12784 *) ac_config_targets="$ac_config_targets $1" ;;
12790 ac_configure_extra_args=
12792 if $ac_cs_silent; then
12794 ac_configure_extra_args="$ac_configure_extra_args --silent"
12798 cat >>$CONFIG_STATUS <<_ACEOF
12799 if \$ac_cs_recheck; then
12800 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
12801 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12810 cat >>$CONFIG_STATUS <<\_ACEOF
12811 for ac_config_target in $ac_config_targets
12813 case "$ac_config_target" in
12814 # Handling of arguments.
12815 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
12816 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
12817 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
12818 { (exit 1); exit 1; }; };;
12822 # If the user did not use the arguments to specify the items to instantiate,
12823 # then the envvar interface is used. Set only those that are not.
12824 # We use the long form for the default assignment because of an extremely
12825 # bizarre bug on SunOS 4.1.3.
12826 if $ac_need_defaults; then
12827 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
12830 # Have a temporary directory for convenience. Make it in the build tree
12831 # simply because there is no reason to put it here, and in addition,
12832 # creating and moving files from /tmp can sometimes cause problems.
12833 # Create a temporary directory, and hook for its removal unless debugging.
12836 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
12837 trap '{ (exit 1); exit 1; }' 1 2 13 15
12840 # Create a (secure) tmp directory for tmp files.
12843 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
12844 test -n "$tmp" && test -d "$tmp"
12847 tmp=./confstat$$-$RANDOM
12848 (umask 077 && mkdir $tmp)
12851 echo "$me: cannot create a temporary directory in ." >&2
12852 { (exit 1); exit 1; }
12857 cat >>$CONFIG_STATUS <<_ACEOF
12860 # CONFIG_FILES section.
12863 # No need to generate the scripts if there are no CONFIG_FILES.
12864 # This happens for instance when ./config.status config.h
12865 if test -n "\$CONFIG_FILES"; then
12866 # Protect against being on the right side of a sed subst in config.status.
12867 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
12868 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
12869 s,@SHELL@,$SHELL,;t t
12870 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
12871 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
12872 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
12873 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
12874 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
12875 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
12876 s,@exec_prefix@,$exec_prefix,;t t
12877 s,@prefix@,$prefix,;t t
12878 s,@program_transform_name@,$program_transform_name,;t t
12879 s,@bindir@,$bindir,;t t
12880 s,@sbindir@,$sbindir,;t t
12881 s,@libexecdir@,$libexecdir,;t t
12882 s,@datadir@,$datadir,;t t
12883 s,@sysconfdir@,$sysconfdir,;t t
12884 s,@sharedstatedir@,$sharedstatedir,;t t
12885 s,@localstatedir@,$localstatedir,;t t
12886 s,@libdir@,$libdir,;t t
12887 s,@includedir@,$includedir,;t t
12888 s,@oldincludedir@,$oldincludedir,;t t
12889 s,@infodir@,$infodir,;t t
12890 s,@mandir@,$mandir,;t t
12891 s,@build_alias@,$build_alias,;t t
12892 s,@host_alias@,$host_alias,;t t
12893 s,@target_alias@,$target_alias,;t t
12894 s,@DEFS@,$DEFS,;t t
12895 s,@ECHO_C@,$ECHO_C,;t t
12896 s,@ECHO_N@,$ECHO_N,;t t
12897 s,@ECHO_T@,$ECHO_T,;t t
12898 s,@LIBS@,$LIBS,;t t
12899 s,@TOPLEVEL_CONFIGURE_ARGUMENTS@,$TOPLEVEL_CONFIGURE_ARGUMENTS,;t t
12900 s,@build@,$build,;t t
12901 s,@build_cpu@,$build_cpu,;t t
12902 s,@build_vendor@,$build_vendor,;t t
12903 s,@build_os@,$build_os,;t t
12904 s,@build_noncanonical@,$build_noncanonical,;t t
12905 s,@host_noncanonical@,$host_noncanonical,;t t
12906 s,@target_noncanonical@,$target_noncanonical,;t t
12907 s,@host@,$host,;t t
12908 s,@host_cpu@,$host_cpu,;t t
12909 s,@host_vendor@,$host_vendor,;t t
12910 s,@host_os@,$host_os,;t t
12911 s,@target@,$target,;t t
12912 s,@target_cpu@,$target_cpu,;t t
12913 s,@target_vendor@,$target_vendor,;t t
12914 s,@target_os@,$target_os,;t t
12915 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
12916 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
12917 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
12919 s,@LN_S@,$LN_S,;t t
12920 s,@build_libsubdir@,$build_libsubdir,;t t
12921 s,@build_subdir@,$build_subdir,;t t
12922 s,@host_subdir@,$host_subdir,;t t
12923 s,@target_subdir@,$target_subdir,;t t
12925 s,@CFLAGS@,$CFLAGS,;t t
12926 s,@LDFLAGS@,$LDFLAGS,;t t
12927 s,@CPPFLAGS@,$CPPFLAGS,;t t
12928 s,@ac_ct_CC@,$ac_ct_CC,;t t
12929 s,@EXEEXT@,$EXEEXT,;t t
12930 s,@OBJEXT@,$OBJEXT,;t t
12932 s,@CXXFLAGS@,$CXXFLAGS,;t t
12933 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
12934 s,@GNATBIND@,$GNATBIND,;t t
12935 s,@ac_ct_GNATBIND@,$ac_ct_GNATBIND,;t t
12936 s,@GNATMAKE@,$GNATMAKE,;t t
12937 s,@ac_ct_GNATMAKE@,$ac_ct_GNATMAKE,;t t
12938 s,@do_compare@,$do_compare,;t t
12939 s,@gmplibs@,$gmplibs,;t t
12940 s,@gmpinc@,$gmpinc,;t t
12941 s,@stage1_languages@,$stage1_languages,;t t
12942 s,@SYSROOT_CFLAGS_FOR_TARGET@,$SYSROOT_CFLAGS_FOR_TARGET,;t t
12943 s,@DEBUG_PREFIX_CFLAGS_FOR_TARGET@,$DEBUG_PREFIX_CFLAGS_FOR_TARGET,;t t
12944 s,@CFLAGS_FOR_TARGET@,$CFLAGS_FOR_TARGET,;t t
12945 s,@CXXFLAGS_FOR_TARGET@,$CXXFLAGS_FOR_TARGET,;t t
12946 s,@RPATH_ENVVAR@,$RPATH_ENVVAR,;t t
12947 s,@tooldir@,$tooldir,;t t
12948 s,@build_tooldir@,$build_tooldir,;t t
12949 s,@CONFIGURE_GDB_TK@,$CONFIGURE_GDB_TK,;t t
12950 s,@GDB_TK@,$GDB_TK,;t t
12951 s,@INSTALL_GDB_TK@,$INSTALL_GDB_TK,;t t
12952 s,@build_configargs@,$build_configargs,;t t
12953 s,@build_configdirs@,$build_configdirs,;t t
12954 s,@host_configargs@,$host_configargs,;t t
12955 s,@configdirs@,$configdirs,;t t
12956 s,@target_configargs@,$target_configargs,;t t
12957 s,@AR_FOR_BUILD@,$AR_FOR_BUILD,;t t
12958 s,@AS_FOR_BUILD@,$AS_FOR_BUILD,;t t
12959 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
12960 s,@CFLAGS_FOR_BUILD@,$CFLAGS_FOR_BUILD,;t t
12961 s,@CXXFLAGS_FOR_BUILD@,$CXXFLAGS_FOR_BUILD,;t t
12962 s,@CXX_FOR_BUILD@,$CXX_FOR_BUILD,;t t
12963 s,@DLLTOOL_FOR_BUILD@,$DLLTOOL_FOR_BUILD,;t t
12964 s,@GCJ_FOR_BUILD@,$GCJ_FOR_BUILD,;t t
12965 s,@GFORTRAN_FOR_BUILD@,$GFORTRAN_FOR_BUILD,;t t
12966 s,@LDFLAGS_FOR_BUILD@,$LDFLAGS_FOR_BUILD,;t t
12967 s,@LD_FOR_BUILD@,$LD_FOR_BUILD,;t t
12968 s,@NM_FOR_BUILD@,$NM_FOR_BUILD,;t t
12969 s,@RANLIB_FOR_BUILD@,$RANLIB_FOR_BUILD,;t t
12970 s,@WINDMC_FOR_BUILD@,$WINDMC_FOR_BUILD,;t t
12971 s,@WINDRES_FOR_BUILD@,$WINDRES_FOR_BUILD,;t t
12972 s,@config_shell@,$config_shell,;t t
12973 s,@YACC@,$YACC,;t t
12974 s,@BISON@,$BISON,;t t
12977 s,@FLEX@,$FLEX,;t t
12978 s,@MAKEINFO@,$MAKEINFO,;t t
12979 s,@EXPECT@,$EXPECT,;t t
12980 s,@RUNTEST@,$RUNTEST,;t t
12983 s,@DLLTOOL@,$DLLTOOL,;t t
12985 s,@LIPO@,$LIPO,;t t
12987 s,@RANLIB@,$RANLIB,;t t
12988 s,@STRIP@,$STRIP,;t t
12989 s,@WINDRES@,$WINDRES,;t t
12990 s,@WINDMC@,$WINDMC,;t t
12991 s,@OBJCOPY@,$OBJCOPY,;t t
12992 s,@OBJDUMP@,$OBJDUMP,;t t
12993 s,@CC_FOR_TARGET@,$CC_FOR_TARGET,;t t
12994 s,@CXX_FOR_TARGET@,$CXX_FOR_TARGET,;t t
12995 s,@GCC_FOR_TARGET@,$GCC_FOR_TARGET,;t t
12996 s,@GCJ_FOR_TARGET@,$GCJ_FOR_TARGET,;t t
12997 s,@GFORTRAN_FOR_TARGET@,$GFORTRAN_FOR_TARGET,;t t
12998 s,@AR_FOR_TARGET@,$AR_FOR_TARGET,;t t
12999 s,@AS_FOR_TARGET@,$AS_FOR_TARGET,;t t
13000 s,@DLLTOOL_FOR_TARGET@,$DLLTOOL_FOR_TARGET,;t t
13001 s,@LD_FOR_TARGET@,$LD_FOR_TARGET,;t t
13002 s,@LIPO_FOR_TARGET@,$LIPO_FOR_TARGET,;t t
13003 s,@NM_FOR_TARGET@,$NM_FOR_TARGET,;t t
13004 s,@OBJDUMP_FOR_TARGET@,$OBJDUMP_FOR_TARGET,;t t
13005 s,@RANLIB_FOR_TARGET@,$RANLIB_FOR_TARGET,;t t
13006 s,@STRIP_FOR_TARGET@,$STRIP_FOR_TARGET,;t t
13007 s,@WINDRES_FOR_TARGET@,$WINDRES_FOR_TARGET,;t t
13008 s,@WINDMC_FOR_TARGET@,$WINDMC_FOR_TARGET,;t t
13009 s,@RAW_CXX_FOR_TARGET@,$RAW_CXX_FOR_TARGET,;t t
13010 s,@FLAGS_FOR_TARGET@,$FLAGS_FOR_TARGET,;t t
13011 s,@COMPILER_AS_FOR_TARGET@,$COMPILER_AS_FOR_TARGET,;t t
13012 s,@COMPILER_LD_FOR_TARGET@,$COMPILER_LD_FOR_TARGET,;t t
13013 s,@COMPILER_NM_FOR_TARGET@,$COMPILER_NM_FOR_TARGET,;t t
13014 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
13015 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
13016 s,@MAINT@,$MAINT,;t t
13017 s,@stage1_cflags@,$stage1_cflags,;t t
13018 s,@stage1_checking@,$stage1_checking,;t t
13019 s,@stage2_werror_flag@,$stage2_werror_flag,;t t
13020 s,@datarootdir@,$datarootdir,;t t
13021 s,@docdir@,$docdir,;t t
13022 s,@pdfdir@,$pdfdir,;t t
13023 s,@htmldir@,$htmldir,;t t
13024 s,@LIBOBJS@,$LIBOBJS,;t t
13025 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
13026 /@serialization_dependencies@/r $serialization_dependencies
13027 s,@serialization_dependencies@,,;t t
13028 /@host_makefile_frag@/r $host_makefile_frag
13029 s,@host_makefile_frag@,,;t t
13030 /@target_makefile_frag@/r $target_makefile_frag
13031 s,@target_makefile_frag@,,;t t
13032 /@alphaieee_frag@/r $alphaieee_frag
13033 s,@alphaieee_frag@,,;t t
13034 /@ospace_frag@/r $ospace_frag
13035 s,@ospace_frag@,,;t t
13040 cat >>$CONFIG_STATUS <<\_ACEOF
13041 # Split the substitutions into bite-sized pieces for seds with
13042 # small command number limits, like on Digital OSF/1 and HP-UX.
13043 ac_max_sed_lines=48
13044 ac_sed_frag=1 # Number of current file.
13045 ac_beg=1 # First line for current file.
13046 ac_end=$ac_max_sed_lines # Line after last line for current file.
13049 while $ac_more_lines; do
13050 if test $ac_beg -gt 1; then
13051 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
13053 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
13055 if test ! -s $tmp/subs.frag; then
13056 ac_more_lines=false
13058 # The purpose of the label and of the branching condition is to
13059 # speed up the sed processing (if there are no `@' at all, there
13060 # is no need to browse any of the substitutions).
13061 # These are the two extra sed commands mentioned above.
13063 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
13064 if test -z "$ac_sed_cmds"; then
13065 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
13067 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
13069 ac_sed_frag=`expr $ac_sed_frag + 1`
13071 ac_end=`expr $ac_end + $ac_max_sed_lines`
13074 if test -z "$ac_sed_cmds"; then
13077 fi # test -n "$CONFIG_FILES"
13080 cat >>$CONFIG_STATUS <<\_ACEOF
13081 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
13082 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
13084 - | *:- | *:-:* ) # input from stdin
13086 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
13087 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
13088 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
13089 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
13090 * ) ac_file_in=$ac_file.in ;;
13093 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
13094 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
13095 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13096 X"$ac_file" : 'X\(//\)[^/]' \| \
13097 X"$ac_file" : 'X\(//\)$' \| \
13098 X"$ac_file" : 'X\(/\)' \| \
13099 . : '\(.\)' 2>/dev/null ||
13101 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13102 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13103 /^X\(\/\/\)$/{ s//\1/; q; }
13104 /^X\(\/\).*/{ s//\1/; q; }
13106 { if $as_mkdir_p; then
13111 while test ! -d "$as_dir"; do
13112 as_dirs="$as_dir $as_dirs"
13113 as_dir=`(dirname "$as_dir") 2>/dev/null ||
13114 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13115 X"$as_dir" : 'X\(//\)[^/]' \| \
13116 X"$as_dir" : 'X\(//\)$' \| \
13117 X"$as_dir" : 'X\(/\)' \| \
13118 . : '\(.\)' 2>/dev/null ||
13120 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13121 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13122 /^X\(\/\/\)$/{ s//\1/; q; }
13123 /^X\(\/\).*/{ s//\1/; q; }
13126 test ! -n "$as_dirs" || mkdir $as_dirs
13127 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
13128 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
13129 { (exit 1); exit 1; }; }; }
13133 if test "$ac_dir" != .; then
13134 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13135 # A "../" for each directory in $ac_dir_suffix.
13136 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
13138 ac_dir_suffix= ac_top_builddir=
13142 .) # No --srcdir option. We are building in place.
13144 if test -z "$ac_top_builddir"; then
13147 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
13149 [\\/]* | ?:[\\/]* ) # Absolute path.
13150 ac_srcdir=$srcdir$ac_dir_suffix;
13151 ac_top_srcdir=$srcdir ;;
13152 *) # Relative path.
13153 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
13154 ac_top_srcdir=$ac_top_builddir$srcdir ;;
13157 # Do not use `cd foo && pwd` to compute absolute paths, because
13158 # the directories may not exist.
13160 .) ac_abs_builddir="$ac_dir";;
13163 .) ac_abs_builddir=`pwd`;;
13164 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
13165 *) ac_abs_builddir=`pwd`/"$ac_dir";;
13168 case $ac_abs_builddir in
13169 .) ac_abs_top_builddir=${ac_top_builddir}.;;
13171 case ${ac_top_builddir}. in
13172 .) ac_abs_top_builddir=$ac_abs_builddir;;
13173 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
13174 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
13177 case $ac_abs_builddir in
13178 .) ac_abs_srcdir=$ac_srcdir;;
13181 .) ac_abs_srcdir=$ac_abs_builddir;;
13182 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
13183 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
13186 case $ac_abs_builddir in
13187 .) ac_abs_top_srcdir=$ac_top_srcdir;;
13189 case $ac_top_srcdir in
13190 .) ac_abs_top_srcdir=$ac_abs_builddir;;
13191 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
13192 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
13198 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
13199 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
13202 if test x"$ac_file" != x-; then
13203 { echo "$as_me:$LINENO: creating $ac_file" >&5
13204 echo "$as_me: creating $ac_file" >&6;}
13207 # Let's still pretend it is `configure' which instantiates (i.e., don't
13208 # use $as_me), people would be surprised to read:
13209 # /* config.h. Generated by config.status. */
13210 if test x"$ac_file" = x-; then
13213 configure_input="$ac_file. "
13215 configure_input=$configure_input"Generated from `echo $ac_file_in |
13216 sed 's,.*/,,'` by configure."
13218 # First look for the input files in the build tree, otherwise in the
13220 ac_file_inputs=`IFS=:
13221 for f in $ac_file_in; do
13223 -) echo $tmp/stdin ;;
13225 # Absolute (can't be DOS-style, as IFS=:)
13226 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13227 echo "$as_me: error: cannot find input file: $f" >&2;}
13228 { (exit 1); exit 1; }; }
13231 if test -f "$f"; then
13234 elif test -f "$srcdir/$f"; then
13239 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13240 echo "$as_me: error: cannot find input file: $f" >&2;}
13241 { (exit 1); exit 1; }; }
13244 done` || { (exit 1); exit 1; }
13246 cat >>$CONFIG_STATUS <<_ACEOF
13250 cat >>$CONFIG_STATUS <<\_ACEOF
13252 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13253 s,@configure_input@,$configure_input,;t t
13254 s,@srcdir@,$ac_srcdir,;t t
13255 s,@abs_srcdir@,$ac_abs_srcdir,;t t
13256 s,@top_srcdir@,$ac_top_srcdir,;t t
13257 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
13258 s,@builddir@,$ac_builddir,;t t
13259 s,@abs_builddir@,$ac_abs_builddir,;t t
13260 s,@top_builddir@,$ac_top_builddir,;t t
13261 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
13262 s,@INSTALL@,$ac_INSTALL,;t t
13263 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
13265 if test x"$ac_file" != x-; then
13266 mv $tmp/out $ac_file
13275 cat >>$CONFIG_STATUS <<\_ACEOF
13277 { (exit 0); exit 0; }
13279 chmod +x $CONFIG_STATUS
13280 ac_clean_files=$ac_clean_files_save
13283 # configure is writing to config.log, and then calls config.status.
13284 # config.status does its own redirection, appending to config.log.
13285 # Unfortunately, on DOS this fails, as config.log is still kept open
13286 # by configure, so config.status won't be able to write to it; its
13287 # output is simply discarded. So we exec the FD to /dev/null,
13288 # effectively closing config.log, so it can be properly (re)opened and
13289 # appended to by config.status. When coming back to configure, we
13290 # need to make the FD available again.
13291 if test "$no_create" != yes; then
13293 ac_config_status_args=
13294 test "$silent" = yes &&
13295 ac_config_status_args="$ac_config_status_args --quiet"
13297 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
13299 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13300 # would make configure fail if this is the last instruction.
13301 $ac_cs_success || { (exit 1); exit 1; }