2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.57.
5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6 # Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be Bourne compatible
14 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18 # is contrary to our usage. Disable this feature.
19 alias -g '${1+"$@"}'='"$@"'
20 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
24 # Support unset when possible.
25 if (FOO=FOO; unset FOO) >/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 -n "`(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
224 as_executable_p="test -f"
226 # Sed expression to map a string onto a valid CPP name.
227 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
229 # Sed expression to map a string onto a valid variable name.
230 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
234 # We need space, tab and new line, in precisely that order.
244 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
245 # so uname gets run too.
246 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
253 ac_default_prefix=/usr/local
254 ac_config_libobj_dir=.
259 SHELL=${CONFIG_SHELL-/bin/sh}
261 # Maximum number of lines to put in a shell here document.
262 # This variable seems obsolete. It should probably be removed, and
263 # only ac_max_sed_lines should be used.
264 : ${ac_max_here_lines=38}
266 # Identity of this package.
273 ac_unique_file="gcj_mlc.c"
274 # Factoring default headers for most tests.
275 ac_includes_default="\
278 # include <sys/types.h>
281 # include <sys/stat.h>
292 # if !STDC_HEADERS && HAVE_MEMORY_H
298 # include <strings.h>
301 # include <inttypes.h>
311 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 gc_basedir build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os mkinstalldirs INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO SET_MAKE CC ac_ct_CC EXEEXT OBJEXT CXX ac_ct_CXX CFLAGS CXXFLAGS AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT GC_CFLAGS LN_S STRIP ac_ct_STRIP LIBTOOL CXXCPP CPPFLAGS THREADLIBS POWERPC_DARWIN_TRUE POWERPC_DARWIN_FALSE EXTRA_TEST_LIBS target_all target_noncanonical CPLUSPLUS_TRUE CPLUSPLUS_FALSE INCLUDES CXXINCLUDES addobjs addincludes addlibs addtests CPP EGREP MY_CFLAGS toolexecdir toolexeclibdir LIBOBJS LTLIBOBJS'
314 # Initialize some variables set by options.
316 ac_init_version=false
317 # The variables have the same names as the options, with
318 # dashes changed to underlines.
326 program_transform_name=s,x,x,
334 # Installation directory options.
335 # These are left unexpanded so users can "make install exec_prefix=/foo"
336 # and all the variables that are supposed to be based on exec_prefix
337 # by default will actually change.
338 # Use braces instead of parens because sh, perl, etc. also accept them.
339 bindir='${exec_prefix}/bin'
340 sbindir='${exec_prefix}/sbin'
341 libexecdir='${exec_prefix}/libexec'
342 datadir='${prefix}/share'
343 sysconfdir='${prefix}/etc'
344 sharedstatedir='${prefix}/com'
345 localstatedir='${prefix}/var'
346 libdir='${exec_prefix}/lib'
347 includedir='${prefix}/include'
348 oldincludedir='/usr/include'
349 infodir='${prefix}/info'
350 mandir='${prefix}/man'
355 # If the previous option needs an argument, assign it.
356 if test -n "$ac_prev"; then
357 eval "$ac_prev=\$ac_option"
362 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
364 # Accept the important Cygnus configure options, so we can diagnose typos.
368 -bindir | --bindir | --bindi | --bind | --bin | --bi)
370 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
373 -build | --build | --buil | --bui | --bu)
374 ac_prev=build_alias ;;
375 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
376 build_alias=$ac_optarg ;;
378 -cache-file | --cache-file | --cache-fil | --cache-fi \
379 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
380 ac_prev=cache_file ;;
381 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
382 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
383 cache_file=$ac_optarg ;;
386 cache_file=config.cache ;;
388 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
390 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
392 datadir=$ac_optarg ;;
394 -disable-* | --disable-*)
395 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
396 # Reject names that are not valid shell variable names.
397 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
398 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
399 { (exit 1); exit 1; }; }
400 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
401 eval "enable_$ac_feature=no" ;;
403 -enable-* | --enable-*)
404 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
405 # Reject names that are not valid shell variable names.
406 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
407 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
408 { (exit 1); exit 1; }; }
409 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
411 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
414 eval "enable_$ac_feature='$ac_optarg'" ;;
416 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
417 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
418 | --exec | --exe | --ex)
419 ac_prev=exec_prefix ;;
420 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
421 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
422 | --exec=* | --exe=* | --ex=*)
423 exec_prefix=$ac_optarg ;;
425 -gas | --gas | --ga | --g)
426 # Obsolete; use --with-gas.
429 -help | --help | --hel | --he | -h)
431 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
432 ac_init_help=recursive ;;
433 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
434 ac_init_help=short ;;
436 -host | --host | --hos | --ho)
437 ac_prev=host_alias ;;
438 -host=* | --host=* | --hos=* | --ho=*)
439 host_alias=$ac_optarg ;;
441 -includedir | --includedir | --includedi | --included | --include \
442 | --includ | --inclu | --incl | --inc)
443 ac_prev=includedir ;;
444 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
445 | --includ=* | --inclu=* | --incl=* | --inc=*)
446 includedir=$ac_optarg ;;
448 -infodir | --infodir | --infodi | --infod | --info | --inf)
450 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
451 infodir=$ac_optarg ;;
453 -libdir | --libdir | --libdi | --libd)
455 -libdir=* | --libdir=* | --libdi=* | --libd=*)
458 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
459 | --libexe | --libex | --libe)
460 ac_prev=libexecdir ;;
461 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
462 | --libexe=* | --libex=* | --libe=*)
463 libexecdir=$ac_optarg ;;
465 -localstatedir | --localstatedir | --localstatedi | --localstated \
466 | --localstate | --localstat | --localsta | --localst \
467 | --locals | --local | --loca | --loc | --lo)
468 ac_prev=localstatedir ;;
469 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
470 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
471 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
472 localstatedir=$ac_optarg ;;
474 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
476 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
480 # Obsolete; use --without-fp.
483 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
484 | --no-cr | --no-c | -n)
487 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
488 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
491 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
492 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
493 | --oldin | --oldi | --old | --ol | --o)
494 ac_prev=oldincludedir ;;
495 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
496 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
497 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
498 oldincludedir=$ac_optarg ;;
500 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
502 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
505 -program-prefix | --program-prefix | --program-prefi | --program-pref \
506 | --program-pre | --program-pr | --program-p)
507 ac_prev=program_prefix ;;
508 -program-prefix=* | --program-prefix=* | --program-prefi=* \
509 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
510 program_prefix=$ac_optarg ;;
512 -program-suffix | --program-suffix | --program-suffi | --program-suff \
513 | --program-suf | --program-su | --program-s)
514 ac_prev=program_suffix ;;
515 -program-suffix=* | --program-suffix=* | --program-suffi=* \
516 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
517 program_suffix=$ac_optarg ;;
519 -program-transform-name | --program-transform-name \
520 | --program-transform-nam | --program-transform-na \
521 | --program-transform-n | --program-transform- \
522 | --program-transform | --program-transfor \
523 | --program-transfo | --program-transf \
524 | --program-trans | --program-tran \
525 | --progr-tra | --program-tr | --program-t)
526 ac_prev=program_transform_name ;;
527 -program-transform-name=* | --program-transform-name=* \
528 | --program-transform-nam=* | --program-transform-na=* \
529 | --program-transform-n=* | --program-transform-=* \
530 | --program-transform=* | --program-transfor=* \
531 | --program-transfo=* | --program-transf=* \
532 | --program-trans=* | --program-tran=* \
533 | --progr-tra=* | --program-tr=* | --program-t=*)
534 program_transform_name=$ac_optarg ;;
536 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
537 | -silent | --silent | --silen | --sile | --sil)
540 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
542 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
544 sbindir=$ac_optarg ;;
546 -sharedstatedir | --sharedstatedir | --sharedstatedi \
547 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
548 | --sharedst | --shareds | --shared | --share | --shar \
550 ac_prev=sharedstatedir ;;
551 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
552 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
553 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
555 sharedstatedir=$ac_optarg ;;
557 -site | --site | --sit)
559 -site=* | --site=* | --sit=*)
562 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
564 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
567 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
568 | --syscon | --sysco | --sysc | --sys | --sy)
569 ac_prev=sysconfdir ;;
570 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
571 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
572 sysconfdir=$ac_optarg ;;
574 -target | --target | --targe | --targ | --tar | --ta | --t)
575 ac_prev=target_alias ;;
576 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
577 target_alias=$ac_optarg ;;
579 -v | -verbose | --verbose | --verbos | --verbo | --verb)
582 -version | --version | --versio | --versi | --vers | -V)
586 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
587 # Reject names that are not valid shell variable names.
588 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
589 { echo "$as_me: error: invalid package name: $ac_package" >&2
590 { (exit 1); exit 1; }; }
591 ac_package=`echo $ac_package| sed 's/-/_/g'`
593 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
596 eval "with_$ac_package='$ac_optarg'" ;;
598 -without-* | --without-*)
599 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
600 # Reject names that are not valid shell variable names.
601 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
602 { echo "$as_me: error: invalid package name: $ac_package" >&2
603 { (exit 1); exit 1; }; }
604 ac_package=`echo $ac_package | sed 's/-/_/g'`
605 eval "with_$ac_package=no" ;;
608 # Obsolete; use --with-x.
611 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
612 | --x-incl | --x-inc | --x-in | --x-i)
613 ac_prev=x_includes ;;
614 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
615 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
616 x_includes=$ac_optarg ;;
618 -x-libraries | --x-libraries | --x-librarie | --x-librari \
619 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
620 ac_prev=x_libraries ;;
621 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
622 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
623 x_libraries=$ac_optarg ;;
625 -*) { echo "$as_me: error: unrecognized option: $ac_option
626 Try \`$0 --help' for more information." >&2
627 { (exit 1); exit 1; }; }
631 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
632 # Reject names that are not valid shell variable names.
633 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
634 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
635 { (exit 1); exit 1; }; }
636 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
637 eval "$ac_envvar='$ac_optarg'"
641 # FIXME: should be removed in autoconf 3.0.
642 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
643 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
644 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
645 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
651 if test -n "$ac_prev"; then
652 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
653 { echo "$as_me: error: missing argument to $ac_option" >&2
654 { (exit 1); exit 1; }; }
657 # Be sure to have absolute paths.
658 for ac_var in exec_prefix prefix
660 eval ac_val=$`echo $ac_var`
662 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
663 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
664 { (exit 1); exit 1; }; };;
668 # Be sure to have absolute paths.
669 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
670 localstatedir libdir includedir oldincludedir infodir mandir
672 eval ac_val=$`echo $ac_var`
674 [\\/$]* | ?:[\\/]* ) ;;
675 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
676 { (exit 1); exit 1; }; };;
680 # There might be people who depend on the old broken behavior: `$host'
681 # used to hold the argument of --host etc.
682 # FIXME: To remove some day.
687 # FIXME: To remove some day.
688 if test "x$host_alias" != x; then
689 if test "x$build_alias" = x; then
690 cross_compiling=maybe
691 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
692 If a cross compiler is detected then cross compile mode will be used." >&2
693 elif test "x$build_alias" != "x$host_alias"; then
699 test -n "$host_alias" && ac_tool_prefix=$host_alias-
701 test "$silent" = yes && exec 6>/dev/null
704 # Find the source files, if location was not specified.
705 if test -z "$srcdir"; then
706 ac_srcdir_defaulted=yes
707 # Try the directory containing this script, then its parent.
708 ac_confdir=`(dirname "$0") 2>/dev/null ||
709 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
710 X"$0" : 'X\(//\)[^/]' \| \
711 X"$0" : 'X\(//\)$' \| \
712 X"$0" : 'X\(/\)' \| \
713 . : '\(.\)' 2>/dev/null ||
715 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
716 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
717 /^X\(\/\/\)$/{ s//\1/; q; }
718 /^X\(\/\).*/{ s//\1/; q; }
721 if test ! -r $srcdir/$ac_unique_file; then
725 ac_srcdir_defaulted=no
727 if test ! -r $srcdir/$ac_unique_file; then
728 if test "$ac_srcdir_defaulted" = yes; then
729 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
730 { (exit 1); exit 1; }; }
732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
733 { (exit 1); exit 1; }; }
736 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
737 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
738 { (exit 1); exit 1; }; }
739 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
740 ac_env_build_alias_set=${build_alias+set}
741 ac_env_build_alias_value=$build_alias
742 ac_cv_env_build_alias_set=${build_alias+set}
743 ac_cv_env_build_alias_value=$build_alias
744 ac_env_host_alias_set=${host_alias+set}
745 ac_env_host_alias_value=$host_alias
746 ac_cv_env_host_alias_set=${host_alias+set}
747 ac_cv_env_host_alias_value=$host_alias
748 ac_env_target_alias_set=${target_alias+set}
749 ac_env_target_alias_value=$target_alias
750 ac_cv_env_target_alias_set=${target_alias+set}
751 ac_cv_env_target_alias_value=$target_alias
752 ac_env_CXXCPP_set=${CXXCPP+set}
753 ac_env_CXXCPP_value=$CXXCPP
754 ac_cv_env_CXXCPP_set=${CXXCPP+set}
755 ac_cv_env_CXXCPP_value=$CXXCPP
756 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
757 ac_env_CPPFLAGS_value=$CPPFLAGS
758 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
759 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
760 ac_env_CPP_set=${CPP+set}
761 ac_env_CPP_value=$CPP
762 ac_cv_env_CPP_set=${CPP+set}
763 ac_cv_env_CPP_value=$CPP
766 # Report the --help message.
768 if test "$ac_init_help" = "long"; then
769 # Omit some internal or obsolete options to make the list less imposing.
770 # This message is too long to be a string in the A/UX 3.1 sh.
772 \`configure' configures this package to adapt to many kinds of systems.
774 Usage: $0 [OPTION]... [VAR=VALUE]...
776 To assign environment variables (e.g., CC, CFLAGS...), specify them as
777 VAR=VALUE. See below for descriptions of some of the useful variables.
779 Defaults for the options are specified in brackets.
782 -h, --help display this help and exit
783 --help=short display options specific to this package
784 --help=recursive display the short help of all the included packages
785 -V, --version display version information and exit
786 -q, --quiet, --silent do not print \`checking...' messages
787 --cache-file=FILE cache test results in FILE [disabled]
788 -C, --config-cache alias for \`--cache-file=config.cache'
789 -n, --no-create do not create output files
790 --srcdir=DIR find the sources in DIR [configure dir or \`..']
795 Installation directories:
796 --prefix=PREFIX install architecture-independent files in PREFIX
798 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
801 By default, \`make install' will install all the files in
802 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
803 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
804 for instance \`--prefix=\$HOME'.
806 For better control, use the options below.
808 Fine tuning of the installation directories:
809 --bindir=DIR user executables [EPREFIX/bin]
810 --sbindir=DIR system admin executables [EPREFIX/sbin]
811 --libexecdir=DIR program executables [EPREFIX/libexec]
812 --datadir=DIR read-only architecture-independent data [PREFIX/share]
813 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
814 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
815 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
816 --libdir=DIR object code libraries [EPREFIX/lib]
817 --includedir=DIR C header files [PREFIX/include]
818 --oldincludedir=DIR C header files for non-gcc [/usr/include]
819 --infodir=DIR info documentation [PREFIX/info]
820 --mandir=DIR man documentation [PREFIX/man]
826 --program-prefix=PREFIX prepend PREFIX to installed program names
827 --program-suffix=SUFFIX append SUFFIX to installed program names
828 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
831 --build=BUILD configure for building on BUILD [guessed]
832 --host=HOST cross-compile to build programs to run on HOST [BUILD]
833 --target=TARGET configure for building compilers for TARGET [HOST]
837 if test -n "$ac_init_help"; then
842 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
843 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
844 --enable-multilib build many library versions (default)
845 --enable-maintainer-mode enable make rules and dependencies not useful
846 (and sometimes confusing) to the casual installer
847 --enable-shared=PKGS build shared libraries default=yes
848 --enable-static=PKGS build static libraries default=yes
849 --enable-fast-install=PKGS optimize for fast installation default=yes
850 --disable-libtool-lock avoid locking (might break parallel builds)
851 --enable-parallel-mark parallelize marking and free list construction
852 --enable-full-debug include full support for pointer backtracing etc.
855 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
856 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
857 --with-gnu-ld assume the C compiler uses GNU ld default=no
858 --with-pic try to use only PIC/non-PIC objects default=use both
859 --with-target-subdir=SUBDIR
860 configuring with a cross compiler
861 --with-cross-host=HOST configuring with a cross compiler
862 --with-ecos enable runtime eCos target support
864 Some influential environment variables:
865 CC C compiler command
866 CFLAGS C compiler flags
867 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
868 nonstandard directory <lib dir>
869 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
870 headers in a nonstandard directory <include dir>
871 CXX C++ compiler command
872 CXXFLAGS C++ compiler flags
873 CXXCPP C++ preprocessor
876 Use these variables to override the choices made by `configure' or to help
877 it to find libraries and programs with nonstandard names/locations.
882 if test "$ac_init_help" = "recursive"; then
883 # If there are subdirs, report their specific --help.
885 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
886 test -d $ac_dir || continue
889 if test "$ac_dir" != .; then
890 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
891 # A "../" for each directory in $ac_dir_suffix.
892 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
894 ac_dir_suffix= ac_top_builddir=
898 .) # No --srcdir option. We are building in place.
900 if test -z "$ac_top_builddir"; then
903 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
905 [\\/]* | ?:[\\/]* ) # Absolute path.
906 ac_srcdir=$srcdir$ac_dir_suffix;
907 ac_top_srcdir=$srcdir ;;
909 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
910 ac_top_srcdir=$ac_top_builddir$srcdir ;;
912 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
914 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
915 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
916 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
917 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
920 # Check for guested configure; otherwise get Cygnus style configure.
921 if test -f $ac_srcdir/configure.gnu; then
923 $SHELL $ac_srcdir/configure.gnu --help=recursive
924 elif test -f $ac_srcdir/configure; then
926 $SHELL $ac_srcdir/configure --help=recursive
927 elif test -f $ac_srcdir/configure.ac ||
928 test -f $ac_srcdir/configure.in; then
932 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
938 test -n "$ac_init_help" && exit 0
939 if $ac_init_version; then
942 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
943 Free Software Foundation, Inc.
944 This configure script is free software; the Free Software Foundation
945 gives unlimited permission to copy, distribute and modify it.
951 This file contains any messages produced by compilers while
952 running configure, to aid debugging if configure makes a mistake.
954 It was created by $as_me, which was
955 generated by GNU Autoconf 2.57. Invocation command line was
966 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
967 uname -m = `(uname -m) 2>/dev/null || echo unknown`
968 uname -r = `(uname -r) 2>/dev/null || echo unknown`
969 uname -s = `(uname -s) 2>/dev/null || echo unknown`
970 uname -v = `(uname -v) 2>/dev/null || echo unknown`
972 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
973 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
975 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
976 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
977 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
978 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
979 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
980 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
981 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
989 test -z "$as_dir" && as_dir=.
1005 # Keep a trace of the command line.
1006 # Strip out --no-create and --no-recursion so they do not pile up.
1007 # Strip out --silent because we don't want to record it for future runs.
1008 # Also quote any args containing shell meta-characters.
1009 # Make two passes to allow for proper duplicate-argument suppression.
1014 ac_must_keep_next=false
1020 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1021 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1022 | -silent | --silent | --silen | --sile | --sil)
1024 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1025 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1028 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1030 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1031 if test $ac_must_keep_next = true; then
1032 ac_must_keep_next=false # Got value, back to normal.
1035 *=* | --config-cache | -C | -disable-* | --disable-* \
1036 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1037 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1038 | -with-* | --with-* | -without-* | --without-* | --x)
1039 case "$ac_configure_args0 " in
1040 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1043 -* ) ac_must_keep_next=true ;;
1046 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1047 # Get rid of the leading space.
1053 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1054 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1056 # When interrupted or exit'd, cleanup temporary files, and complete
1057 # config.log. We remove comments because anyway the quotes in there
1058 # would cause problems or look ugly.
1059 # WARNING: Be sure not to use single quotes in there, as some shells,
1060 # such as our DU 5.0 friend, will then `close' the trap.
1061 trap 'exit_status=$?
1062 # Save into config.log some information that might help in debugging.
1067 ## ---------------- ##
1068 ## Cache variables. ##
1069 ## ---------------- ##
1072 # The following way of writing the cache mishandles newlines in values,
1075 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1078 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1079 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1083 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1090 ## ----------------- ##
1091 ## Output variables. ##
1092 ## ----------------- ##
1095 for ac_var in $ac_subst_vars
1097 eval ac_val=$`echo $ac_var`
1098 echo "$ac_var='"'"'$ac_val'"'"'"
1102 if test -n "$ac_subst_files"; then
1109 for ac_var in $ac_subst_files
1111 eval ac_val=$`echo $ac_var`
1112 echo "$ac_var='"'"'$ac_val'"'"'"
1117 if test -s confdefs.h; then
1124 sed "/^$/d" confdefs.h | sort
1127 test "$ac_signal" != 0 &&
1128 echo "$as_me: caught signal $ac_signal"
1129 echo "$as_me: exit $exit_status"
1131 rm -f core *.core &&
1132 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1135 for ac_signal in 1 2 13 15; do
1136 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1140 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1141 rm -rf conftest* confdefs.h
1142 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1145 # Predefined preprocessor variables.
1147 cat >>confdefs.h <<_ACEOF
1148 #define PACKAGE_NAME "$PACKAGE_NAME"
1152 cat >>confdefs.h <<_ACEOF
1153 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1157 cat >>confdefs.h <<_ACEOF
1158 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1162 cat >>confdefs.h <<_ACEOF
1163 #define PACKAGE_STRING "$PACKAGE_STRING"
1167 cat >>confdefs.h <<_ACEOF
1168 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1172 # Let the site file select an alternate cache file if it wants to.
1173 # Prefer explicitly selected file to automatically selected ones.
1174 if test -z "$CONFIG_SITE"; then
1175 if test "x$prefix" != xNONE; then
1176 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1178 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1181 for ac_site_file in $CONFIG_SITE; do
1182 if test -r "$ac_site_file"; then
1183 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1184 echo "$as_me: loading site script $ac_site_file" >&6;}
1185 sed 's/^/| /' "$ac_site_file" >&5
1190 if test -r "$cache_file"; then
1191 # Some versions of bash will fail to source /dev/null (special
1192 # files actually), so we avoid doing that.
1193 if test -f "$cache_file"; then
1194 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1195 echo "$as_me: loading cache $cache_file" >&6;}
1197 [\\/]* | ?:[\\/]* ) . $cache_file;;
1198 *) . ./$cache_file;;
1202 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1203 echo "$as_me: creating cache $cache_file" >&6;}
1207 # Check that the precious variables saved in the cache have kept the same
1209 ac_cache_corrupted=false
1210 for ac_var in `(set) 2>&1 |
1211 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1212 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1213 eval ac_new_set=\$ac_env_${ac_var}_set
1214 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1215 eval ac_new_val="\$ac_env_${ac_var}_value"
1216 case $ac_old_set,$ac_new_set in
1218 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1219 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1220 ac_cache_corrupted=: ;;
1222 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1223 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1224 ac_cache_corrupted=: ;;
1227 if test "x$ac_old_val" != "x$ac_new_val"; then
1228 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1229 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1230 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1231 echo "$as_me: former value: $ac_old_val" >&2;}
1232 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1233 echo "$as_me: current value: $ac_new_val" >&2;}
1234 ac_cache_corrupted=:
1237 # Pass precious variables to config.status.
1238 if test "$ac_new_set" = set; then
1240 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1241 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1242 *) ac_arg=$ac_var=$ac_new_val ;;
1244 case " $ac_configure_args " in
1245 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1246 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1250 if $ac_cache_corrupted; then
1251 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1252 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1253 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1254 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1255 { (exit 1); exit 1; }; }
1259 ac_cpp='$CPP $CPPFLAGS'
1260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1283 # This works around the fact that libtool configuration may change LD
1284 # for this particular configuration, but some shells, instead of
1285 # keeping the changes in LD private, export them just because LD is
1287 ORIGINAL_LD_FOR_MULTILIBS=$LD
1290 for ac_dir in . $srcdir/.; do
1291 if test -f $ac_dir/install-sh; then
1293 ac_install_sh="$ac_aux_dir/install-sh -c"
1295 elif test -f $ac_dir/install.sh; then
1297 ac_install_sh="$ac_aux_dir/install.sh -c"
1299 elif test -f $ac_dir/shtool; then
1301 ac_install_sh="$ac_aux_dir/shtool install -c"
1305 if test -z "$ac_aux_dir"; then
1306 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in . $srcdir/." >&5
1307 echo "$as_me: error: cannot find install-sh or install.sh in . $srcdir/." >&2;}
1308 { (exit 1); exit 1; }; }
1310 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1311 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1312 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1315 # Check whether --enable-multilib or --disable-multilib was given.
1316 if test "${enable_multilib+set}" = set; then
1317 enableval="$enable_multilib"
1318 case "${enableval}" in
1319 yes) multilib=yes ;;
1321 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for multilib option" >&5
1322 echo "$as_me: error: bad value ${enableval} for multilib option" >&2;}
1323 { (exit 1); exit 1; }; } ;;
1329 if test "${srcdir}" = "."; then
1330 if test "${with_target_subdir}" != "." -a -n "${with_target_subdir}"; then
1331 gc_basedir="${srcdir}/${with_multisrctop}../."
1333 gc_basedir="${srcdir}/${with_multisrctop}."
1336 gc_basedir="${srcdir}/."
1340 for ac_dir in $gc_basedir/.. $srcdir/$gc_basedir/..; do
1341 if test -f $ac_dir/install-sh; then
1343 ac_install_sh="$ac_aux_dir/install-sh -c"
1345 elif test -f $ac_dir/install.sh; then
1347 ac_install_sh="$ac_aux_dir/install.sh -c"
1349 elif test -f $ac_dir/shtool; then
1351 ac_install_sh="$ac_aux_dir/shtool install -c"
1355 if test -z "$ac_aux_dir"; then
1356 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $gc_basedir/.. $srcdir/$gc_basedir/.." >&5
1357 echo "$as_me: error: cannot find install-sh or install.sh in $gc_basedir/.. $srcdir/$gc_basedir/.." >&2;}
1358 { (exit 1); exit 1; }; }
1360 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1361 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1362 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1365 # This overrides the previous occurrence for automake, but not for
1366 # autoconf, which is exactly what we want.
1368 for ac_dir in .. $srcdir/..; do
1369 if test -f $ac_dir/install-sh; then
1371 ac_install_sh="$ac_aux_dir/install-sh -c"
1373 elif test -f $ac_dir/install.sh; then
1375 ac_install_sh="$ac_aux_dir/install.sh -c"
1377 elif test -f $ac_dir/shtool; then
1379 ac_install_sh="$ac_aux_dir/shtool install -c"
1383 if test -z "$ac_aux_dir"; then
1384 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in .. $srcdir/.." >&5
1385 echo "$as_me: error: cannot find install-sh or install.sh in .. $srcdir/.." >&2;}
1386 { (exit 1); exit 1; }; }
1388 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1389 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1390 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1394 # Make sure we can run config.sub.
1395 $ac_config_sub sun4 >/dev/null 2>&1 ||
1396 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1397 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1398 { (exit 1); exit 1; }; }
1400 echo "$as_me:$LINENO: checking build system type" >&5
1401 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1402 if test "${ac_cv_build+set}" = set; then
1403 echo $ECHO_N "(cached) $ECHO_C" >&6
1405 ac_cv_build_alias=$build_alias
1406 test -z "$ac_cv_build_alias" &&
1407 ac_cv_build_alias=`$ac_config_guess`
1408 test -z "$ac_cv_build_alias" &&
1409 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1410 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1411 { (exit 1); exit 1; }; }
1412 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1413 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1414 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1415 { (exit 1); exit 1; }; }
1418 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1419 echo "${ECHO_T}$ac_cv_build" >&6
1421 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1422 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1423 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1426 echo "$as_me:$LINENO: checking host system type" >&5
1427 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1428 if test "${ac_cv_host+set}" = set; then
1429 echo $ECHO_N "(cached) $ECHO_C" >&6
1431 ac_cv_host_alias=$host_alias
1432 test -z "$ac_cv_host_alias" &&
1433 ac_cv_host_alias=$ac_cv_build_alias
1434 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1435 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1436 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1437 { (exit 1); exit 1; }; }
1440 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1441 echo "${ECHO_T}$ac_cv_host" >&6
1443 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1444 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1445 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1448 echo "$as_me:$LINENO: checking target system type" >&5
1449 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1450 if test "${ac_cv_target+set}" = set; then
1451 echo $ECHO_N "(cached) $ECHO_C" >&6
1453 ac_cv_target_alias=$target_alias
1454 test "x$ac_cv_target_alias" = "x" &&
1455 ac_cv_target_alias=$ac_cv_host_alias
1456 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1457 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1458 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1459 { (exit 1); exit 1; }; }
1462 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1463 echo "${ECHO_T}$ac_cv_target" >&6
1464 target=$ac_cv_target
1465 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1466 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1467 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1470 # The aliases save the names the user supplied, while $host etc.
1471 # will get canonicalized.
1472 test -n "$target_alias" &&
1473 test "$program_prefix$program_suffix$program_transform_name" = \
1475 program_prefix=${target_alias}-
1477 # Get the 'noncanonical' system names.
1478 # Autoconf M4 include file defining utility macros for complex Canadian
1487 # _NCN_TOOL_PREFIXES: Some stuff that oughtta be done in AC_CANONICAL_SYSTEM
1489 # These demand that AC_CANONICAL_SYSTEM be called beforehand.
1492 # NCN_CHECK_TARGET_TOOL(variable, prog-to-check-for,[value-if-not-found],[path])
1493 # Like AC_CHECK_TOOL, but tries a prefix of the target, not the host.
1494 # Code is pretty much lifted from autoconf2.53.
1499 # NCN_STRICT_CHECK_TOOL(variable, prog-to-check-for,[value-if-not-found],[path])
1500 # Like AC_CHECK_TOOL, but requires the prefix if build!=host.
1505 # NCN_STRICT_CHECK_TARGET_TOOL(variable, prog-to-check-for,[value-if-not-found],[path])
1506 # Like NCN_CHECK_TARGET_TOOL, but requires the prefix if build!=target.
1510 # AC_PROG_CPP_WERROR
1511 # Used for autoconf 2.5x to force AC_PREPROC_IFELSE to reject code which
1512 # triggers warnings from the preprocessor. Will be in autoconf 2.58.
1513 # For now, using this also overrides header checks to use only the
1514 # preprocessor (matches 2.13 behavior; matching 2.58's behavior is a
1515 # bit harder from here).
1516 # Eventually autoconf will default to checking headers with the compiler
1517 # instead, and we'll have to do this differently.
1519 # AC_PROG_CPP_WERROR
1521 case ${build_alias} in
1522 "") build_noncanonical=${build} ;;
1523 *) build_noncanonical=${build_alias} ;;
1526 case ${host_alias} in
1527 "") host_noncanonical=${build_noncanonical} ;;
1528 *) host_noncanonical=${host_alias} ;;
1531 case ${target_alias} in
1532 "") target_noncanonical=${host_noncanonical} ;;
1533 *) target_noncanonical=${target_alias} ;;
1537 # This works around an automake problem.
1538 mkinstalldirs="`cd $ac_aux_dir && ${PWDCMD-pwd}`/mkinstalldirs"
1541 # Find a good install program. We prefer a C program (faster),
1542 # so one script is as good as another. But avoid the broken or
1543 # incompatible versions:
1544 # SysV /etc/install, /usr/sbin/install
1545 # SunOS /usr/etc/install
1546 # IRIX /sbin/install
1548 # AmigaOS /C/install, which installs bootblocks on floppy discs
1549 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1550 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1551 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1552 # ./install, which can be erroneously created by make from ./install.sh.
1553 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1554 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1555 if test -z "$INSTALL"; then
1556 if test "${ac_cv_path_install+set}" = set; then
1557 echo $ECHO_N "(cached) $ECHO_C" >&6
1559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1563 test -z "$as_dir" && as_dir=.
1564 # Account for people who put trailing slashes in PATH elements.
1566 ./ | .// | /cC/* | \
1567 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1570 # OSF1 and SCO ODT 3.0 have their own names for install.
1571 # Don't use installbsd from OSF since it installs stuff as root
1573 for ac_prog in ginstall scoinst install; do
1574 for ac_exec_ext in '' $ac_executable_extensions; do
1575 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1576 if test $ac_prog = install &&
1577 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1578 # AIX install. It has an incompatible calling convention.
1580 elif test $ac_prog = install &&
1581 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1582 # program-specific install script used by HP pwplus--don't use.
1585 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1597 if test "${ac_cv_path_install+set}" = set; then
1598 INSTALL=$ac_cv_path_install
1600 # As a last resort, use the slow shell script. We don't cache a
1601 # path for INSTALL within a source directory, because that will
1602 # break other packages using the cache if that directory is
1603 # removed, or if the path is relative.
1604 INSTALL=$ac_install_sh
1607 echo "$as_me:$LINENO: result: $INSTALL" >&5
1608 echo "${ECHO_T}$INSTALL" >&6
1610 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1611 # It thinks the first close brace ends the variable substitution.
1612 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1614 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1616 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1618 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1619 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1622 echo timestamp > conftestfile
1623 # Do `set' in a subshell so we don't clobber the current shell's
1624 # arguments. Must try -L first in case configure is actually a
1625 # symlink; some systems play weird games with the mod time of symlinks
1626 # (eg FreeBSD returns the mod time of the symlink's containing
1629 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
1630 if test "$*" = "X"; then
1632 set X `ls -t $srcdir/configure conftestfile`
1634 if test "$*" != "X $srcdir/configure conftestfile" \
1635 && test "$*" != "X conftestfile $srcdir/configure"; then
1637 # If neither matched, then we have a broken ls. This can happen
1638 # if, for instance, CONFIG_SHELL is bash and it inherits a
1639 # broken ls alias from the environment. This has actually
1640 # happened. Such a system could not be considered "sane".
1641 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1642 alias in your environment" >&5
1643 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1644 alias in your environment" >&2;}
1645 { (exit 1); exit 1; }; }
1648 test "$2" = conftestfile
1654 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1655 Check your system clock" >&5
1656 echo "$as_me: error: newly created file is older than distributed files!
1657 Check your system clock" >&2;}
1658 { (exit 1); exit 1; }; }
1661 echo "$as_me:$LINENO: result: yes" >&5
1662 echo "${ECHO_T}yes" >&6
1663 test "$program_prefix" != NONE &&
1664 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1665 # Use a double $ so make ignores it.
1666 test "$program_suffix" != NONE &&
1667 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1668 # Double any \ or $. echo might interpret backslashes.
1669 # By default was `s,x,x', remove it if useless.
1670 cat <<\_ACEOF >conftest.sed
1671 s/[\\$]/&&/g;s/;s,x,x,$//
1673 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1676 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1677 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1678 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1679 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1680 echo $ECHO_N "(cached) $ECHO_C" >&6
1682 cat >conftest.make <<\_ACEOF
1684 @echo 'ac_maketemp="$(MAKE)"'
1686 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1687 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1688 if test -n "$ac_maketemp"; then
1689 eval ac_cv_prog_make_${ac_make}_set=yes
1691 eval ac_cv_prog_make_${ac_make}_set=no
1695 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1696 echo "$as_me:$LINENO: result: yes" >&5
1697 echo "${ECHO_T}yes" >&6
1700 echo "$as_me:$LINENO: result: no" >&5
1701 echo "${ECHO_T}no" >&6
1702 SET_MAKE="MAKE=${MAKE-make}"
1712 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
1713 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1714 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1715 { (exit 1); exit 1; }; }
1720 missing_dir=`cd $ac_aux_dir && pwd`
1721 echo "$as_me:$LINENO: checking for working aclocal" >&5
1722 echo $ECHO_N "checking for working aclocal... $ECHO_C" >&6
1723 # Run test in a subshell; some versions of sh will print an error if
1724 # an executable is not found, even if stderr is redirected.
1725 # Redirect stdin to placate older versions of autoconf. Sigh.
1726 if (aclocal --version) < /dev/null > /dev/null 2>&1; then
1728 echo "$as_me:$LINENO: result: found" >&5
1729 echo "${ECHO_T}found" >&6
1731 ACLOCAL="$missing_dir/missing aclocal"
1732 echo "$as_me:$LINENO: result: missing" >&5
1733 echo "${ECHO_T}missing" >&6
1736 echo "$as_me:$LINENO: checking for working autoconf" >&5
1737 echo $ECHO_N "checking for working autoconf... $ECHO_C" >&6
1738 # Run test in a subshell; some versions of sh will print an error if
1739 # an executable is not found, even if stderr is redirected.
1740 # Redirect stdin to placate older versions of autoconf. Sigh.
1741 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
1743 echo "$as_me:$LINENO: result: found" >&5
1744 echo "${ECHO_T}found" >&6
1746 AUTOCONF="$missing_dir/missing autoconf"
1747 echo "$as_me:$LINENO: result: missing" >&5
1748 echo "${ECHO_T}missing" >&6
1751 echo "$as_me:$LINENO: checking for working automake" >&5
1752 echo $ECHO_N "checking for working automake... $ECHO_C" >&6
1753 # Run test in a subshell; some versions of sh will print an error if
1754 # an executable is not found, even if stderr is redirected.
1755 # Redirect stdin to placate older versions of autoconf. Sigh.
1756 if (automake --version) < /dev/null > /dev/null 2>&1; then
1758 echo "$as_me:$LINENO: result: found" >&5
1759 echo "${ECHO_T}found" >&6
1761 AUTOMAKE="$missing_dir/missing automake"
1762 echo "$as_me:$LINENO: result: missing" >&5
1763 echo "${ECHO_T}missing" >&6
1766 echo "$as_me:$LINENO: checking for working autoheader" >&5
1767 echo $ECHO_N "checking for working autoheader... $ECHO_C" >&6
1768 # Run test in a subshell; some versions of sh will print an error if
1769 # an executable is not found, even if stderr is redirected.
1770 # Redirect stdin to placate older versions of autoconf. Sigh.
1771 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
1772 AUTOHEADER=autoheader
1773 echo "$as_me:$LINENO: result: found" >&5
1774 echo "${ECHO_T}found" >&6
1776 AUTOHEADER="$missing_dir/missing autoheader"
1777 echo "$as_me:$LINENO: result: missing" >&5
1778 echo "${ECHO_T}missing" >&6
1781 echo "$as_me:$LINENO: checking for working makeinfo" >&5
1782 echo $ECHO_N "checking for working makeinfo... $ECHO_C" >&6
1783 # Run test in a subshell; some versions of sh will print an error if
1784 # an executable is not found, even if stderr is redirected.
1785 # Redirect stdin to placate older versions of autoconf. Sigh.
1786 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
1788 echo "$as_me:$LINENO: result: found" >&5
1789 echo "${ECHO_T}found" >&6
1791 MAKEINFO="$missing_dir/missing makeinfo"
1792 echo "$as_me:$LINENO: result: missing" >&5
1793 echo "${ECHO_T}missing" >&6
1798 # The autoconf 2.5x version of the no-executables hack.
1799 # GCC_NO_EXECUTABLES
1801 # FIXME: The GCC team has specific needs which the current Autoconf
1802 # framework cannot solve elegantly. This macro implements a dirty
1803 # hack until Autoconf is able to provide the services its users
1806 # Several of the support libraries that are often built with GCC can't
1807 # assume the tool-chain is already capable of linking a program: the
1808 # compiler often expects to be able to link with some of such
1811 # In several of these libraries, workarounds have been introduced to
1812 # avoid the AC_PROG_CC_WORKS test, that would just abort their
1813 # configuration. The introduction of AC_EXEEXT, enabled either by
1814 # libtool or by CVS autoconf, have just made matters worse.
1816 # Unlike the previous AC_NO_EXECUTABLES, this test does not
1817 # disable link tests at autoconf time, but at configure time.
1818 # This allows AC_NO_EXECUTABLES to be invoked conditionally.
1819 # GCC_NO_EXECUTABLES
1823 # Yak. We must force CC and CXX to /not/ be precious variables; otherwise
1824 # the wrong, non-multilib-adjusted value will be used in multilibs.
1825 # As a side effect, we have to subst CFLAGS and CXXFLAGS ourselves.
1830 ac_cpp='$CPP $CPPFLAGS'
1831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1834 if test -n "$ac_tool_prefix"; then
1835 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1836 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1837 echo "$as_me:$LINENO: checking for $ac_word" >&5
1838 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1839 if test "${ac_cv_prog_CC+set}" = set; then
1840 echo $ECHO_N "(cached) $ECHO_C" >&6
1842 if test -n "$CC"; then
1843 ac_cv_prog_CC="$CC" # Let the user override the test.
1845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1849 test -z "$as_dir" && as_dir=.
1850 for ac_exec_ext in '' $ac_executable_extensions; do
1851 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1852 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1853 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1862 if test -n "$CC"; then
1863 echo "$as_me:$LINENO: result: $CC" >&5
1864 echo "${ECHO_T}$CC" >&6
1866 echo "$as_me:$LINENO: result: no" >&5
1867 echo "${ECHO_T}no" >&6
1871 if test -z "$ac_cv_prog_CC"; then
1873 # Extract the first word of "gcc", so it can be a program name with args.
1874 set dummy gcc; ac_word=$2
1875 echo "$as_me:$LINENO: checking for $ac_word" >&5
1876 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1877 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1878 echo $ECHO_N "(cached) $ECHO_C" >&6
1880 if test -n "$ac_ct_CC"; then
1881 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1887 test -z "$as_dir" && as_dir=.
1888 for ac_exec_ext in '' $ac_executable_extensions; do
1889 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1890 ac_cv_prog_ac_ct_CC="gcc"
1891 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1899 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1900 if test -n "$ac_ct_CC"; then
1901 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1902 echo "${ECHO_T}$ac_ct_CC" >&6
1904 echo "$as_me:$LINENO: result: no" >&5
1905 echo "${ECHO_T}no" >&6
1913 if test -z "$CC"; then
1914 if test -n "$ac_tool_prefix"; then
1915 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1916 set dummy ${ac_tool_prefix}cc; ac_word=$2
1917 echo "$as_me:$LINENO: checking for $ac_word" >&5
1918 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1919 if test "${ac_cv_prog_CC+set}" = set; then
1920 echo $ECHO_N "(cached) $ECHO_C" >&6
1922 if test -n "$CC"; then
1923 ac_cv_prog_CC="$CC" # Let the user override the test.
1925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1929 test -z "$as_dir" && as_dir=.
1930 for ac_exec_ext in '' $ac_executable_extensions; do
1931 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1932 ac_cv_prog_CC="${ac_tool_prefix}cc"
1933 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1942 if test -n "$CC"; then
1943 echo "$as_me:$LINENO: result: $CC" >&5
1944 echo "${ECHO_T}$CC" >&6
1946 echo "$as_me:$LINENO: result: no" >&5
1947 echo "${ECHO_T}no" >&6
1951 if test -z "$ac_cv_prog_CC"; then
1953 # Extract the first word of "cc", so it can be a program name with args.
1954 set dummy cc; ac_word=$2
1955 echo "$as_me:$LINENO: checking for $ac_word" >&5
1956 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1957 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1958 echo $ECHO_N "(cached) $ECHO_C" >&6
1960 if test -n "$ac_ct_CC"; then
1961 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1967 test -z "$as_dir" && as_dir=.
1968 for ac_exec_ext in '' $ac_executable_extensions; do
1969 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1970 ac_cv_prog_ac_ct_CC="cc"
1971 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1979 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1980 if test -n "$ac_ct_CC"; then
1981 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1982 echo "${ECHO_T}$ac_ct_CC" >&6
1984 echo "$as_me:$LINENO: result: no" >&5
1985 echo "${ECHO_T}no" >&6
1994 if test -z "$CC"; then
1995 # Extract the first word of "cc", so it can be a program name with args.
1996 set dummy cc; ac_word=$2
1997 echo "$as_me:$LINENO: checking for $ac_word" >&5
1998 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1999 if test "${ac_cv_prog_CC+set}" = set; then
2000 echo $ECHO_N "(cached) $ECHO_C" >&6
2002 if test -n "$CC"; then
2003 ac_cv_prog_CC="$CC" # Let the user override the test.
2006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2010 test -z "$as_dir" && as_dir=.
2011 for ac_exec_ext in '' $ac_executable_extensions; do
2012 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2013 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2014 ac_prog_rejected=yes
2018 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2024 if test $ac_prog_rejected = yes; then
2025 # We found a bogon in the path, so make sure we never use it.
2026 set dummy $ac_cv_prog_CC
2028 if test $# != 0; then
2029 # We chose a different compiler from the bogus one.
2030 # However, it has the same basename, so the bogon will be chosen
2031 # first if we set CC to just the basename; use the full file name.
2033 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2039 if test -n "$CC"; then
2040 echo "$as_me:$LINENO: result: $CC" >&5
2041 echo "${ECHO_T}$CC" >&6
2043 echo "$as_me:$LINENO: result: no" >&5
2044 echo "${ECHO_T}no" >&6
2048 if test -z "$CC"; then
2049 if test -n "$ac_tool_prefix"; then
2052 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2053 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2054 echo "$as_me:$LINENO: checking for $ac_word" >&5
2055 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2056 if test "${ac_cv_prog_CC+set}" = set; then
2057 echo $ECHO_N "(cached) $ECHO_C" >&6
2059 if test -n "$CC"; then
2060 ac_cv_prog_CC="$CC" # Let the user override the test.
2062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2066 test -z "$as_dir" && as_dir=.
2067 for ac_exec_ext in '' $ac_executable_extensions; do
2068 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2069 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2070 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2079 if test -n "$CC"; then
2080 echo "$as_me:$LINENO: result: $CC" >&5
2081 echo "${ECHO_T}$CC" >&6
2083 echo "$as_me:$LINENO: result: no" >&5
2084 echo "${ECHO_T}no" >&6
2087 test -n "$CC" && break
2090 if test -z "$CC"; then
2094 # Extract the first word of "$ac_prog", so it can be a program name with args.
2095 set dummy $ac_prog; ac_word=$2
2096 echo "$as_me:$LINENO: checking for $ac_word" >&5
2097 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2098 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2099 echo $ECHO_N "(cached) $ECHO_C" >&6
2101 if test -n "$ac_ct_CC"; then
2102 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2108 test -z "$as_dir" && as_dir=.
2109 for ac_exec_ext in '' $ac_executable_extensions; do
2110 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2111 ac_cv_prog_ac_ct_CC="$ac_prog"
2112 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2120 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2121 if test -n "$ac_ct_CC"; then
2122 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2123 echo "${ECHO_T}$ac_ct_CC" >&6
2125 echo "$as_me:$LINENO: result: no" >&5
2126 echo "${ECHO_T}no" >&6
2129 test -n "$ac_ct_CC" && break
2138 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2139 See \`config.log' for more details." >&5
2140 echo "$as_me: error: no acceptable C compiler found in \$PATH
2141 See \`config.log' for more details." >&2;}
2142 { (exit 1); exit 1; }; }
2144 # Provide some information about the compiler.
2145 echo "$as_me:$LINENO:" \
2146 "checking for C compiler version" >&5
2147 ac_compiler=`set X $ac_compile; echo $2`
2148 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2149 (eval $ac_compiler --version </dev/null >&5) 2>&5
2151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2152 (exit $ac_status); }
2153 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2154 (eval $ac_compiler -v </dev/null >&5) 2>&5
2156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2157 (exit $ac_status); }
2158 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2159 (eval $ac_compiler -V </dev/null >&5) 2>&5
2161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2162 (exit $ac_status); }
2164 cat >conftest.$ac_ext <<_ACEOF
2165 #line $LINENO "configure"
2168 cat confdefs.h >>conftest.$ac_ext
2169 cat >>conftest.$ac_ext <<_ACEOF
2170 /* end confdefs.h. */
2181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2182 (eval $ac_link) 2>&5
2184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2185 (exit $ac_status); }; then
2191 if test x$gcc_no_link = xyes; then
2192 # Setting cross_compile will disable run tests; it will
2193 # also disable AC_CHECK_FILE but that's generally
2194 # correct if we can't link.
2198 cat >conftest.$ac_ext <<_ACEOF
2199 #line $LINENO "configure"
2202 cat confdefs.h >>conftest.$ac_ext
2203 cat >>conftest.$ac_ext <<_ACEOF
2204 /* end confdefs.h. */
2214 ac_clean_files_save=$ac_clean_files
2215 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2216 # Try to create an executable without -o first, disregard a.out.
2217 # It will help us diagnose broken compilers, and finding out an intuition
2219 echo "$as_me:$LINENO: checking for C compiler default output" >&5
2220 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2221 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2222 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2223 (eval $ac_link_default) 2>&5
2225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2226 (exit $ac_status); }; then
2227 # Find the output, starting from the most likely. This scheme is
2228 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2231 # Be careful to initialize this variable, since it used to be cached.
2232 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2234 # b.out is created by i960 compilers.
2235 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2237 test -f "$ac_file" || continue
2239 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2242 # This is the source file.
2245 # We found the default executable, but exeext='' is most
2249 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2250 # FIXME: I believe we export ac_cv_exeext for Libtool,
2251 # but it would be cool to find out if it's true. Does anybody
2252 # maintain Libtool? --akim.
2260 echo "$as_me: failed program was:" >&5
2261 sed 's/^/| /' conftest.$ac_ext >&5
2263 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2264 See \`config.log' for more details." >&5
2265 echo "$as_me: error: C compiler cannot create executables
2266 See \`config.log' for more details." >&2;}
2267 { (exit 77); exit 77; }; }
2270 ac_exeext=$ac_cv_exeext
2271 echo "$as_me:$LINENO: result: $ac_file" >&5
2272 echo "${ECHO_T}$ac_file" >&6
2274 # Check the compiler produces executables we can run. If not, either
2275 # the compiler is broken, or we cross compile.
2276 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2277 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2278 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2279 # If not cross compiling, check that we can run a simple program.
2280 if test "$cross_compiling" != yes; then
2281 if { ac_try='./$ac_file'
2282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2286 (exit $ac_status); }; }; then
2289 if test "$cross_compiling" = maybe; then
2292 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2293 If you meant to cross compile, use \`--host'.
2294 See \`config.log' for more details." >&5
2295 echo "$as_me: error: cannot run C compiled programs.
2296 If you meant to cross compile, use \`--host'.
2297 See \`config.log' for more details." >&2;}
2298 { (exit 1); exit 1; }; }
2302 echo "$as_me:$LINENO: result: yes" >&5
2303 echo "${ECHO_T}yes" >&6
2305 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2306 ac_clean_files=$ac_clean_files_save
2307 # Check the compiler produces executables we can run. If not, either
2308 # the compiler is broken, or we cross compile.
2309 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2310 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2311 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2312 echo "${ECHO_T}$cross_compiling" >&6
2314 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2315 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2317 (eval $ac_link) 2>&5
2319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2320 (exit $ac_status); }; then
2321 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2322 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2323 # work properly (i.e., refer to `conftest.exe'), while it won't with
2325 for ac_file in conftest.exe conftest conftest.*; do
2326 test -f "$ac_file" || continue
2328 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2329 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2336 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2337 See \`config.log' for more details." >&5
2338 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2339 See \`config.log' for more details." >&2;}
2340 { (exit 1); exit 1; }; }
2343 rm -f conftest$ac_cv_exeext
2344 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2345 echo "${ECHO_T}$ac_cv_exeext" >&6
2347 rm -f conftest.$ac_ext
2348 EXEEXT=$ac_cv_exeext
2351 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2352 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2353 if test "${ac_cv_objext+set}" = set; then
2354 echo $ECHO_N "(cached) $ECHO_C" >&6
2356 cat >conftest.$ac_ext <<_ACEOF
2357 #line $LINENO "configure"
2360 cat confdefs.h >>conftest.$ac_ext
2361 cat >>conftest.$ac_ext <<_ACEOF
2362 /* end confdefs.h. */
2372 rm -f conftest.o conftest.obj
2373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2374 (eval $ac_compile) 2>&5
2376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2377 (exit $ac_status); }; then
2378 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2380 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2381 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2386 echo "$as_me: failed program was:" >&5
2387 sed 's/^/| /' conftest.$ac_ext >&5
2389 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2390 See \`config.log' for more details." >&5
2391 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2392 See \`config.log' for more details." >&2;}
2393 { (exit 1); exit 1; }; }
2396 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2398 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2399 echo "${ECHO_T}$ac_cv_objext" >&6
2400 OBJEXT=$ac_cv_objext
2402 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2403 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2404 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2405 echo $ECHO_N "(cached) $ECHO_C" >&6
2407 cat >conftest.$ac_ext <<_ACEOF
2408 #line $LINENO "configure"
2411 cat confdefs.h >>conftest.$ac_ext
2412 cat >>conftest.$ac_ext <<_ACEOF
2413 /* end confdefs.h. */
2426 rm -f conftest.$ac_objext
2427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2428 (eval $ac_compile) 2>&5
2430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2431 (exit $ac_status); } &&
2432 { ac_try='test -s conftest.$ac_objext'
2433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2437 (exit $ac_status); }; }; then
2440 echo "$as_me: failed program was:" >&5
2441 sed 's/^/| /' conftest.$ac_ext >&5
2445 rm -f conftest.$ac_objext conftest.$ac_ext
2446 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2449 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2450 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2451 GCC=`test $ac_compiler_gnu = yes && echo yes`
2452 ac_test_CFLAGS=${CFLAGS+set}
2453 ac_save_CFLAGS=$CFLAGS
2455 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2456 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2457 if test "${ac_cv_prog_cc_g+set}" = set; then
2458 echo $ECHO_N "(cached) $ECHO_C" >&6
2460 cat >conftest.$ac_ext <<_ACEOF
2461 #line $LINENO "configure"
2464 cat confdefs.h >>conftest.$ac_ext
2465 cat >>conftest.$ac_ext <<_ACEOF
2466 /* end confdefs.h. */
2476 rm -f conftest.$ac_objext
2477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2478 (eval $ac_compile) 2>&5
2480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2481 (exit $ac_status); } &&
2482 { ac_try='test -s conftest.$ac_objext'
2483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2487 (exit $ac_status); }; }; then
2490 echo "$as_me: failed program was:" >&5
2491 sed 's/^/| /' conftest.$ac_ext >&5
2495 rm -f conftest.$ac_objext conftest.$ac_ext
2497 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2498 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2499 if test "$ac_test_CFLAGS" = set; then
2500 CFLAGS=$ac_save_CFLAGS
2501 elif test $ac_cv_prog_cc_g = yes; then
2502 if test "$GCC" = yes; then
2508 if test "$GCC" = yes; then
2514 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2515 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2516 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2517 echo $ECHO_N "(cached) $ECHO_C" >&6
2519 ac_cv_prog_cc_stdc=no
2521 cat >conftest.$ac_ext <<_ACEOF
2522 #line $LINENO "configure"
2525 cat confdefs.h >>conftest.$ac_ext
2526 cat >>conftest.$ac_ext <<_ACEOF
2527 /* end confdefs.h. */
2530 #include <sys/types.h>
2531 #include <sys/stat.h>
2532 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2533 struct buf { int x; };
2534 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2535 static char *e (p, i)
2541 static char *f (char * (*g) (char **, int), char **p, ...)
2546 s = g (p, va_arg (v,int));
2550 int test (int i, double x);
2551 struct s1 {int (*f) (int a);};
2552 struct s2 {int (*f) (double a);};
2553 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2559 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2564 # Don't try gcc -ansi; that turns off useful extensions and
2565 # breaks some systems' header files.
2566 # AIX -qlanglvl=ansi
2567 # Ultrix and OSF/1 -std1
2568 # HP-UX 10.20 and later -Ae
2569 # HP-UX older versions -Aa -D_HPUX_SOURCE
2570 # SVR4 -Xc -D__EXTENSIONS__
2571 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2573 CC="$ac_save_CC $ac_arg"
2574 rm -f conftest.$ac_objext
2575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2576 (eval $ac_compile) 2>&5
2578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2579 (exit $ac_status); } &&
2580 { ac_try='test -s conftest.$ac_objext'
2581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2585 (exit $ac_status); }; }; then
2586 ac_cv_prog_cc_stdc=$ac_arg
2589 echo "$as_me: failed program was:" >&5
2590 sed 's/^/| /' conftest.$ac_ext >&5
2593 rm -f conftest.$ac_objext
2595 rm -f conftest.$ac_ext conftest.$ac_objext
2600 case "x$ac_cv_prog_cc_stdc" in
2602 echo "$as_me:$LINENO: result: none needed" >&5
2603 echo "${ECHO_T}none needed" >&6 ;;
2605 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2606 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2607 CC="$CC $ac_cv_prog_cc_stdc" ;;
2610 # Some people use a C++ compiler to compile C. Since we use `exit',
2611 # in C++ we need to declare it. In case someone uses the same compiler
2612 # for both compiling C and C++ we need to have the C++ compiler decide
2613 # the declaration of exit, since it's the most demanding environment.
2614 cat >conftest.$ac_ext <<_ACEOF
2619 rm -f conftest.$ac_objext
2620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2621 (eval $ac_compile) 2>&5
2623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2624 (exit $ac_status); } &&
2625 { ac_try='test -s conftest.$ac_objext'
2626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2630 (exit $ac_status); }; }; then
2631 for ac_declaration in \
2633 'extern "C" void std::exit (int) throw (); using std::exit;' \
2634 'extern "C" void std::exit (int); using std::exit;' \
2635 'extern "C" void exit (int) throw ();' \
2636 'extern "C" void exit (int);' \
2639 cat >conftest.$ac_ext <<_ACEOF
2640 #line $LINENO "configure"
2643 cat confdefs.h >>conftest.$ac_ext
2644 cat >>conftest.$ac_ext <<_ACEOF
2645 /* end confdefs.h. */
2656 rm -f conftest.$ac_objext
2657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2658 (eval $ac_compile) 2>&5
2660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2661 (exit $ac_status); } &&
2662 { ac_try='test -s conftest.$ac_objext'
2663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2667 (exit $ac_status); }; }; then
2670 echo "$as_me: failed program was:" >&5
2671 sed 's/^/| /' conftest.$ac_ext >&5
2675 rm -f conftest.$ac_objext conftest.$ac_ext
2676 cat >conftest.$ac_ext <<_ACEOF
2677 #line $LINENO "configure"
2680 cat confdefs.h >>conftest.$ac_ext
2681 cat >>conftest.$ac_ext <<_ACEOF
2682 /* end confdefs.h. */
2692 rm -f conftest.$ac_objext
2693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2694 (eval $ac_compile) 2>&5
2696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2697 (exit $ac_status); } &&
2698 { ac_try='test -s conftest.$ac_objext'
2699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2703 (exit $ac_status); }; }; then
2706 echo "$as_me: failed program was:" >&5
2707 sed 's/^/| /' conftest.$ac_ext >&5
2710 rm -f conftest.$ac_objext conftest.$ac_ext
2713 if test -n "$ac_declaration"; then
2714 echo '#ifdef __cplusplus' >>confdefs.h
2715 echo $ac_declaration >>confdefs.h
2716 echo '#endif' >>confdefs.h
2720 echo "$as_me: failed program was:" >&5
2721 sed 's/^/| /' conftest.$ac_ext >&5
2724 rm -f conftest.$ac_objext conftest.$ac_ext
2726 ac_cpp='$CPP $CPPFLAGS'
2727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2732 ac_cpp='$CXXCPP $CPPFLAGS'
2733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2736 if test -n "$ac_tool_prefix"; then
2737 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2739 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2740 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2741 echo "$as_me:$LINENO: checking for $ac_word" >&5
2742 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2743 if test "${ac_cv_prog_CXX+set}" = set; then
2744 echo $ECHO_N "(cached) $ECHO_C" >&6
2746 if test -n "$CXX"; then
2747 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2753 test -z "$as_dir" && as_dir=.
2754 for ac_exec_ext in '' $ac_executable_extensions; do
2755 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2756 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2757 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2766 if test -n "$CXX"; then
2767 echo "$as_me:$LINENO: result: $CXX" >&5
2768 echo "${ECHO_T}$CXX" >&6
2770 echo "$as_me:$LINENO: result: no" >&5
2771 echo "${ECHO_T}no" >&6
2774 test -n "$CXX" && break
2777 if test -z "$CXX"; then
2779 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2781 # Extract the first word of "$ac_prog", so it can be a program name with args.
2782 set dummy $ac_prog; ac_word=$2
2783 echo "$as_me:$LINENO: checking for $ac_word" >&5
2784 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2785 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2786 echo $ECHO_N "(cached) $ECHO_C" >&6
2788 if test -n "$ac_ct_CXX"; then
2789 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2795 test -z "$as_dir" && as_dir=.
2796 for ac_exec_ext in '' $ac_executable_extensions; do
2797 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2798 ac_cv_prog_ac_ct_CXX="$ac_prog"
2799 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2807 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2808 if test -n "$ac_ct_CXX"; then
2809 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2810 echo "${ECHO_T}$ac_ct_CXX" >&6
2812 echo "$as_me:$LINENO: result: no" >&5
2813 echo "${ECHO_T}no" >&6
2816 test -n "$ac_ct_CXX" && break
2818 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
2824 # Provide some information about the compiler.
2825 echo "$as_me:$LINENO:" \
2826 "checking for C++ compiler version" >&5
2827 ac_compiler=`set X $ac_compile; echo $2`
2828 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2829 (eval $ac_compiler --version </dev/null >&5) 2>&5
2831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2832 (exit $ac_status); }
2833 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2834 (eval $ac_compiler -v </dev/null >&5) 2>&5
2836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2837 (exit $ac_status); }
2838 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2839 (eval $ac_compiler -V </dev/null >&5) 2>&5
2841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2842 (exit $ac_status); }
2844 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2845 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2846 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2847 echo $ECHO_N "(cached) $ECHO_C" >&6
2849 cat >conftest.$ac_ext <<_ACEOF
2850 #line $LINENO "configure"
2853 cat confdefs.h >>conftest.$ac_ext
2854 cat >>conftest.$ac_ext <<_ACEOF
2855 /* end confdefs.h. */
2868 rm -f conftest.$ac_objext
2869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2870 (eval $ac_compile) 2>&5
2872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2873 (exit $ac_status); } &&
2874 { ac_try='test -s conftest.$ac_objext'
2875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2879 (exit $ac_status); }; }; then
2882 echo "$as_me: failed program was:" >&5
2883 sed 's/^/| /' conftest.$ac_ext >&5
2887 rm -f conftest.$ac_objext conftest.$ac_ext
2888 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2891 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2892 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2893 GXX=`test $ac_compiler_gnu = yes && echo yes`
2894 ac_test_CXXFLAGS=${CXXFLAGS+set}
2895 ac_save_CXXFLAGS=$CXXFLAGS
2897 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2898 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2899 if test "${ac_cv_prog_cxx_g+set}" = set; then
2900 echo $ECHO_N "(cached) $ECHO_C" >&6
2902 cat >conftest.$ac_ext <<_ACEOF
2903 #line $LINENO "configure"
2906 cat confdefs.h >>conftest.$ac_ext
2907 cat >>conftest.$ac_ext <<_ACEOF
2908 /* end confdefs.h. */
2918 rm -f conftest.$ac_objext
2919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2920 (eval $ac_compile) 2>&5
2922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2923 (exit $ac_status); } &&
2924 { ac_try='test -s conftest.$ac_objext'
2925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2929 (exit $ac_status); }; }; then
2930 ac_cv_prog_cxx_g=yes
2932 echo "$as_me: failed program was:" >&5
2933 sed 's/^/| /' conftest.$ac_ext >&5
2937 rm -f conftest.$ac_objext conftest.$ac_ext
2939 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2940 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2941 if test "$ac_test_CXXFLAGS" = set; then
2942 CXXFLAGS=$ac_save_CXXFLAGS
2943 elif test $ac_cv_prog_cxx_g = yes; then
2944 if test "$GXX" = yes; then
2950 if test "$GXX" = yes; then
2956 for ac_declaration in \
2958 'extern "C" void std::exit (int) throw (); using std::exit;' \
2959 'extern "C" void std::exit (int); using std::exit;' \
2960 'extern "C" void exit (int) throw ();' \
2961 'extern "C" void exit (int);' \
2964 cat >conftest.$ac_ext <<_ACEOF
2965 #line $LINENO "configure"
2968 cat confdefs.h >>conftest.$ac_ext
2969 cat >>conftest.$ac_ext <<_ACEOF
2970 /* end confdefs.h. */
2981 rm -f conftest.$ac_objext
2982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2983 (eval $ac_compile) 2>&5
2985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2986 (exit $ac_status); } &&
2987 { ac_try='test -s conftest.$ac_objext'
2988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2992 (exit $ac_status); }; }; then
2995 echo "$as_me: failed program was:" >&5
2996 sed 's/^/| /' conftest.$ac_ext >&5
3000 rm -f conftest.$ac_objext conftest.$ac_ext
3001 cat >conftest.$ac_ext <<_ACEOF
3002 #line $LINENO "configure"
3005 cat confdefs.h >>conftest.$ac_ext
3006 cat >>conftest.$ac_ext <<_ACEOF
3007 /* end confdefs.h. */
3017 rm -f conftest.$ac_objext
3018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3019 (eval $ac_compile) 2>&5
3021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3022 (exit $ac_status); } &&
3023 { ac_try='test -s conftest.$ac_objext'
3024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3028 (exit $ac_status); }; }; then
3031 echo "$as_me: failed program was:" >&5
3032 sed 's/^/| /' conftest.$ac_ext >&5
3035 rm -f conftest.$ac_objext conftest.$ac_ext
3038 if test -n "$ac_declaration"; then
3039 echo '#ifdef __cplusplus' >>confdefs.h
3040 echo $ac_declaration >>confdefs.h
3041 echo '#endif' >>confdefs.h
3045 ac_cpp='$CPP $CPPFLAGS'
3046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3055 if test -n "$ac_tool_prefix"; then
3056 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3057 set dummy ${ac_tool_prefix}as; ac_word=$2
3058 echo "$as_me:$LINENO: checking for $ac_word" >&5
3059 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3060 if test "${ac_cv_prog_AS+set}" = set; then
3061 echo $ECHO_N "(cached) $ECHO_C" >&6
3063 if test -n "$AS"; then
3064 ac_cv_prog_AS="$AS" # Let the user override the test.
3066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3070 test -z "$as_dir" && as_dir=.
3071 for ac_exec_ext in '' $ac_executable_extensions; do
3072 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3073 ac_cv_prog_AS="${ac_tool_prefix}as"
3074 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3083 if test -n "$AS"; then
3084 echo "$as_me:$LINENO: result: $AS" >&5
3085 echo "${ECHO_T}$AS" >&6
3087 echo "$as_me:$LINENO: result: no" >&5
3088 echo "${ECHO_T}no" >&6
3092 if test -z "$ac_cv_prog_AS"; then
3094 # Extract the first word of "as", so it can be a program name with args.
3095 set dummy as; ac_word=$2
3096 echo "$as_me:$LINENO: checking for $ac_word" >&5
3097 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3098 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3099 echo $ECHO_N "(cached) $ECHO_C" >&6
3101 if test -n "$ac_ct_AS"; then
3102 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3108 test -z "$as_dir" && as_dir=.
3109 for ac_exec_ext in '' $ac_executable_extensions; do
3110 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3111 ac_cv_prog_ac_ct_AS="as"
3112 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3120 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3121 if test -n "$ac_ct_AS"; then
3122 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3123 echo "${ECHO_T}$ac_ct_AS" >&6
3125 echo "$as_me:$LINENO: result: no" >&5
3126 echo "${ECHO_T}no" >&6
3134 if test -n "$ac_tool_prefix"; then
3135 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3136 set dummy ${ac_tool_prefix}ar; ac_word=$2
3137 echo "$as_me:$LINENO: checking for $ac_word" >&5
3138 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3139 if test "${ac_cv_prog_AR+set}" = set; then
3140 echo $ECHO_N "(cached) $ECHO_C" >&6
3142 if test -n "$AR"; then
3143 ac_cv_prog_AR="$AR" # Let the user override the test.
3145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3149 test -z "$as_dir" && as_dir=.
3150 for ac_exec_ext in '' $ac_executable_extensions; do
3151 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3152 ac_cv_prog_AR="${ac_tool_prefix}ar"
3153 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3162 if test -n "$AR"; then
3163 echo "$as_me:$LINENO: result: $AR" >&5
3164 echo "${ECHO_T}$AR" >&6
3166 echo "$as_me:$LINENO: result: no" >&5
3167 echo "${ECHO_T}no" >&6
3171 if test -z "$ac_cv_prog_AR"; then
3173 # Extract the first word of "ar", so it can be a program name with args.
3174 set dummy ar; ac_word=$2
3175 echo "$as_me:$LINENO: checking for $ac_word" >&5
3176 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3177 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3178 echo $ECHO_N "(cached) $ECHO_C" >&6
3180 if test -n "$ac_ct_AR"; then
3181 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3187 test -z "$as_dir" && as_dir=.
3188 for ac_exec_ext in '' $ac_executable_extensions; do
3189 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3190 ac_cv_prog_ac_ct_AR="ar"
3191 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3199 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3200 if test -n "$ac_ct_AR"; then
3201 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3202 echo "${ECHO_T}$ac_ct_AR" >&6
3204 echo "$as_me:$LINENO: result: no" >&5
3205 echo "${ECHO_T}no" >&6
3213 if test -n "$ac_tool_prefix"; then
3214 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3215 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3216 echo "$as_me:$LINENO: checking for $ac_word" >&5
3217 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3218 if test "${ac_cv_prog_RANLIB+set}" = set; then
3219 echo $ECHO_N "(cached) $ECHO_C" >&6
3221 if test -n "$RANLIB"; then
3222 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3228 test -z "$as_dir" && as_dir=.
3229 for ac_exec_ext in '' $ac_executable_extensions; do
3230 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3231 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3232 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3240 RANLIB=$ac_cv_prog_RANLIB
3241 if test -n "$RANLIB"; then
3242 echo "$as_me:$LINENO: result: $RANLIB" >&5
3243 echo "${ECHO_T}$RANLIB" >&6
3245 echo "$as_me:$LINENO: result: no" >&5
3246 echo "${ECHO_T}no" >&6
3250 if test -z "$ac_cv_prog_RANLIB"; then
3251 ac_ct_RANLIB=$RANLIB
3252 # Extract the first word of "ranlib", so it can be a program name with args.
3253 set dummy ranlib; ac_word=$2
3254 echo "$as_me:$LINENO: checking for $ac_word" >&5
3255 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3256 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3257 echo $ECHO_N "(cached) $ECHO_C" >&6
3259 if test -n "$ac_ct_RANLIB"; then
3260 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3266 test -z "$as_dir" && as_dir=.
3267 for ac_exec_ext in '' $ac_executable_extensions; do
3268 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3269 ac_cv_prog_ac_ct_RANLIB="ranlib"
3270 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3276 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3279 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3280 if test -n "$ac_ct_RANLIB"; then
3281 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3282 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3284 echo "$as_me:$LINENO: result: no" >&5
3285 echo "${ECHO_T}no" >&6
3288 RANLIB=$ac_ct_RANLIB
3290 RANLIB="$ac_cv_prog_RANLIB"
3294 # Find a good install program. We prefer a C program (faster),
3295 # so one script is as good as another. But avoid the broken or
3296 # incompatible versions:
3297 # SysV /etc/install, /usr/sbin/install
3298 # SunOS /usr/etc/install
3299 # IRIX /sbin/install
3301 # AmigaOS /C/install, which installs bootblocks on floppy discs
3302 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3303 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3304 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3305 # ./install, which can be erroneously created by make from ./install.sh.
3306 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3307 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3308 if test -z "$INSTALL"; then
3309 if test "${ac_cv_path_install+set}" = set; then
3310 echo $ECHO_N "(cached) $ECHO_C" >&6
3312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3316 test -z "$as_dir" && as_dir=.
3317 # Account for people who put trailing slashes in PATH elements.
3319 ./ | .// | /cC/* | \
3320 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3323 # OSF1 and SCO ODT 3.0 have their own names for install.
3324 # Don't use installbsd from OSF since it installs stuff as root
3326 for ac_prog in ginstall scoinst install; do
3327 for ac_exec_ext in '' $ac_executable_extensions; do
3328 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3329 if test $ac_prog = install &&
3330 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3331 # AIX install. It has an incompatible calling convention.
3333 elif test $ac_prog = install &&
3334 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3335 # program-specific install script used by HP pwplus--don't use.
3338 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3350 if test "${ac_cv_path_install+set}" = set; then
3351 INSTALL=$ac_cv_path_install
3353 # As a last resort, use the slow shell script. We don't cache a
3354 # path for INSTALL within a source directory, because that will
3355 # break other packages using the cache if that directory is
3356 # removed, or if the path is relative.
3357 INSTALL=$ac_install_sh
3360 echo "$as_me:$LINENO: result: $INSTALL" >&5
3361 echo "${ECHO_T}$INSTALL" >&6
3363 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3364 # It thinks the first close brace ends the variable substitution.
3365 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3367 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3369 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3372 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3373 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
3374 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3375 if test "${enable_maintainer_mode+set}" = set; then
3376 enableval="$enable_maintainer_mode"
3377 USE_MAINTAINER_MODE=$enableval
3379 USE_MAINTAINER_MODE=no
3381 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3382 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
3385 if test $USE_MAINTAINER_MODE = yes; then
3386 MAINTAINER_MODE_TRUE=
3387 MAINTAINER_MODE_FALSE='#'
3389 MAINTAINER_MODE_TRUE='#'
3390 MAINTAINER_MODE_FALSE=
3392 MAINT=$MAINTAINER_MODE_TRUE
3396 . ${srcdir}/configure.host
3398 case ${gc_basedir} in
3399 /* | A-Za-z:/\\*) gc_flagbasedir=${gc_basedir} ;;
3400 *) gc_flagbasedir='$(top_builddir)/'${gc_basedir} ;;
3403 gc_cflags="${gc_cflags} -I"'$(top_builddir)'"/./targ-include -I${gc_flagbasedir}/libc/include"
3406 gc_cflags="${gc_cflags} -I${gc_flagbasedir}/../winsup/include"
3411 GC_CFLAGS=${gc_cflags}
3415 # Check whether --enable-shared or --disable-shared was given.
3416 if test "${enable_shared+set}" = set; then
3417 enableval="$enable_shared"
3418 p=${PACKAGE-default}
3420 yes) enable_shared=yes ;;
3421 no) enable_shared=no ;;
3424 # Look at the argument we got. We use all the common list separators.
3425 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3426 for pkg in $enableval; do
3427 if test "X$pkg" = "X$p"; then
3437 # Check whether --enable-static or --disable-static was given.
3438 if test "${enable_static+set}" = set; then
3439 enableval="$enable_static"
3440 p=${PACKAGE-default}
3442 yes) enable_static=yes ;;
3443 no) enable_static=no ;;
3446 # Look at the argument we got. We use all the common list separators.
3447 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3448 for pkg in $enableval; do
3449 if test "X$pkg" = "X$p"; then
3459 # Check whether --enable-fast-install or --disable-fast-install was given.
3460 if test "${enable_fast_install+set}" = set; then
3461 enableval="$enable_fast_install"
3462 p=${PACKAGE-default}
3464 yes) enable_fast_install=yes ;;
3465 no) enable_fast_install=no ;;
3467 enable_fast_install=no
3468 # Look at the argument we got. We use all the common list separators.
3469 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3470 for pkg in $enableval; do
3471 if test "X$pkg" = "X$p"; then
3472 enable_fast_install=yes
3479 enable_fast_install=yes
3482 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3483 if test "${with_gnu_ld+set}" = set; then
3484 withval="$with_gnu_ld"
3485 test "$withval" = no || with_gnu_ld=yes
3490 if test "$GCC" = yes; then
3491 # Check if gcc -print-prog-name=ld gives a path.
3492 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3493 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3496 # gcc leaves a trailing carriage return which upsets mingw
3497 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3499 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3502 # Accept absolute paths.
3503 [\\/]* | [A-Za-z]:[\\/]*)
3504 re_direlt='/[^/][^/]*/\.\./'
3505 # Canonicalize the path of ld
3506 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3507 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3508 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3510 test -z "$LD" && LD="$ac_prog"
3513 # If it fails, then pretend we aren't using GCC.
3517 # If it is relative, then search for the first ld in PATH.
3521 elif test "$with_gnu_ld" = yes; then
3522 echo "$as_me:$LINENO: checking for GNU ld" >&5
3523 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3525 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3526 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3528 if test "${lt_cv_path_LD+set}" = set; then
3529 echo $ECHO_N "(cached) $ECHO_C" >&6
3531 if test -z "$LD"; then
3532 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3533 for ac_dir in $PATH; do
3534 test -z "$ac_dir" && ac_dir=.
3535 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3536 lt_cv_path_LD="$ac_dir/$ac_prog"
3537 # Check to see if the program is GNU ld. I'd rather use --version,
3538 # but apparently some GNU ld's only accept -v.
3539 # Break only if it was the GNU/non-GNU ld that we prefer.
3540 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3541 test "$with_gnu_ld" != no && break
3543 test "$with_gnu_ld" != yes && break
3549 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3554 if test -n "$LD"; then
3555 echo "$as_me:$LINENO: result: $LD" >&5
3556 echo "${ECHO_T}$LD" >&6
3558 echo "$as_me:$LINENO: result: no" >&5
3559 echo "${ECHO_T}no" >&6
3561 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3562 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3563 { (exit 1); exit 1; }; }
3564 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3565 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3566 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3567 echo $ECHO_N "(cached) $ECHO_C" >&6
3569 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3570 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3571 lt_cv_prog_gnu_ld=yes
3573 lt_cv_prog_gnu_ld=no
3576 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3577 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3578 with_gnu_ld=$lt_cv_prog_gnu_ld
3581 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3582 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3583 if test "${lt_cv_ld_reload_flag+set}" = set; then
3584 echo $ECHO_N "(cached) $ECHO_C" >&6
3586 lt_cv_ld_reload_flag='-r'
3588 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3589 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3590 reload_flag=$lt_cv_ld_reload_flag
3591 test -n "$reload_flag" && reload_flag=" $reload_flag"
3593 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3594 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3595 if test "${lt_cv_path_NM+set}" = set; then
3596 echo $ECHO_N "(cached) $ECHO_C" >&6
3598 if test -n "$NM"; then
3599 # Let the user override the test.
3602 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3603 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3604 test -z "$ac_dir" && ac_dir=.
3605 tmp_nm=$ac_dir/${ac_tool_prefix}nm
3606 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
3607 # Check to see if the nm accepts a BSD-compat flag.
3608 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3609 # nm: unknown option "B" ignored
3610 # Tru64's nm complains that /dev/null is an invalid object file
3611 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
3612 lt_cv_path_NM="$tmp_nm -B"
3614 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
3615 lt_cv_path_NM="$tmp_nm -p"
3618 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3619 continue # so that we can try to find one that supports BSD flags
3624 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3629 echo "$as_me:$LINENO: result: $NM" >&5
3630 echo "${ECHO_T}$NM" >&6
3632 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3633 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3635 if test "$LN_S" = "ln -s"; then
3636 echo "$as_me:$LINENO: result: yes" >&5
3637 echo "${ECHO_T}yes" >&6
3639 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3640 echo "${ECHO_T}no, using $LN_S" >&6
3643 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3644 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3645 if test "${lt_cv_deplibs_check_method+set}" = set; then
3646 echo $ECHO_N "(cached) $ECHO_C" >&6
3648 lt_cv_file_magic_cmd='$MAGIC_CMD'
3649 lt_cv_file_magic_test_file=
3650 lt_cv_deplibs_check_method='unknown'
3651 # Need to set the preceding variable on all platforms that support
3652 # interlibrary dependencies.
3653 # 'none' -- dependencies not supported.
3654 # `unknown' -- same as none, but documents that we really don't know.
3655 # 'pass_all' -- all dependencies passed with no checks.
3656 # 'test_compile' -- check by making test program.
3657 # 'file_magic [regex]' -- check by looking for files in library path
3658 # which responds to the $file_magic_cmd with a given egrep regex.
3659 # If you have `file' or equivalent on your system and you're not sure
3660 # whether `pass_all' will *always* work, you probably want this one.
3664 lt_cv_deplibs_check_method=pass_all
3668 lt_cv_deplibs_check_method=pass_all
3672 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3673 lt_cv_file_magic_cmd='/usr/bin/file -L'
3674 lt_cv_file_magic_test_file=/shlib/libc.so
3677 cygwin* | mingw* |pw32*)
3678 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3679 lt_cv_file_magic_cmd='$OBJDUMP -f'
3682 darwin* | rhapsody*)
3683 # this will be overwritten by pass_all, but leave it in just in case
3684 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
3685 lt_cv_file_magic_cmd='/usr/bin/file -L'
3687 rhapsody* | darwin1.012)
3688 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
3691 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
3694 lt_cv_deplibs_check_method=pass_all
3698 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3701 # Not sure whether the presence of OpenBSD here was a mistake.
3702 # Let's accept both of them until this is cleared up.
3703 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3704 lt_cv_file_magic_cmd=/usr/bin/file
3705 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3709 lt_cv_deplibs_check_method=pass_all
3714 lt_cv_deplibs_check_method=pass_all
3720 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3721 lt_cv_file_magic_cmd=/usr/bin/file
3722 lt_cv_file_magic_test_file=/usr/lib/libc.sl
3725 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3726 lt_cv_file_magic_cmd=/usr/bin/file
3727 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3735 # this will be overridden with pass_all, but let us keep it just in case
3736 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3740 *-32|*"-32 ") libmagic=32-bit;;
3741 *-n32|*"-n32 ") libmagic=N32;;
3742 *-64|*"-64 ") libmagic=64-bit;;
3743 *) libmagic=never-match;;
3745 # this will be overridden with pass_all, but let us keep it just in case
3746 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3749 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
3750 lt_cv_deplibs_check_method=pass_all
3753 # This must be Linux ELF.
3756 alpha* | mips* | hppa* | i*86 | powerpc* | sparc* | ia64* )
3757 lt_cv_deplibs_check_method=pass_all ;;
3759 # glibc up to 2.1.1 does not perform some relocations on ARM
3760 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
3762 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
3766 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3767 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3769 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
3774 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3775 lt_cv_file_magic_cmd=/usr/bin/file
3776 lt_cv_file_magic_test_file=/usr/lib/libnls.so
3779 osf3* | osf4* | osf5*)
3780 # this will be overridden with pass_all, but let us keep it just in case
3781 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
3782 lt_cv_file_magic_test_file=/shlib/libc.so
3783 lt_cv_deplibs_check_method=pass_all
3787 lt_cv_deplibs_check_method=pass_all
3791 lt_cv_deplibs_check_method=pass_all
3792 lt_cv_file_magic_test_file=/lib/libc.so
3795 sysv5uw[78]* | sysv4*uw2*)
3796 lt_cv_deplibs_check_method=pass_all
3799 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
3800 case $host_vendor in
3802 lt_cv_deplibs_check_method=pass_all
3805 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
3806 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
3813 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3814 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3815 file_magic_cmd=$lt_cv_file_magic_cmd
3816 deplibs_check_method=$lt_cv_deplibs_check_method
3822 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3824 # Only perform the check for file, if the check method requires it
3825 case $deplibs_check_method in
3827 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3828 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3829 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3830 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3831 echo $ECHO_N "(cached) $ECHO_C" >&6
3835 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3838 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
3841 ac_save_MAGIC_CMD="$MAGIC_CMD"
3842 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3843 ac_dummy="/usr/bin:$PATH"
3844 for ac_dir in $ac_dummy; do
3845 test -z "$ac_dir" && ac_dir=.
3846 if test -f $ac_dir/${ac_tool_prefix}file; then
3847 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
3848 if test -n "$file_magic_test_file"; then
3849 case $deplibs_check_method in
3851 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3852 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3853 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3854 egrep "$file_magic_regex" > /dev/null; then
3859 *** Warning: the command libtool uses to detect shared libraries,
3860 *** $file_magic_cmd, produces output that libtool cannot recognize.
3861 *** The result is that libtool may fail to recognize shared libraries
3862 *** as such. This will affect the creation of libtool libraries that
3863 *** depend on shared libraries, but programs linked with such libtool
3864 *** libraries will work regardless of this problem. Nevertheless, you
3865 *** may want to report the problem to your system manager and/or to
3866 *** bug-libtool@gnu.org
3876 MAGIC_CMD="$ac_save_MAGIC_CMD"
3881 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3882 if test -n "$MAGIC_CMD"; then
3883 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3884 echo "${ECHO_T}$MAGIC_CMD" >&6
3886 echo "$as_me:$LINENO: result: no" >&5
3887 echo "${ECHO_T}no" >&6
3890 if test -z "$lt_cv_path_MAGIC_CMD"; then
3891 if test -n "$ac_tool_prefix"; then
3892 echo "$as_me:$LINENO: checking for file" >&5
3893 echo $ECHO_N "checking for file... $ECHO_C" >&6
3894 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3895 echo $ECHO_N "(cached) $ECHO_C" >&6
3899 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3902 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
3905 ac_save_MAGIC_CMD="$MAGIC_CMD"
3906 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3907 ac_dummy="/usr/bin:$PATH"
3908 for ac_dir in $ac_dummy; do
3909 test -z "$ac_dir" && ac_dir=.
3910 if test -f $ac_dir/file; then
3911 lt_cv_path_MAGIC_CMD="$ac_dir/file"
3912 if test -n "$file_magic_test_file"; then
3913 case $deplibs_check_method in
3915 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3916 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3917 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3918 egrep "$file_magic_regex" > /dev/null; then
3923 *** Warning: the command libtool uses to detect shared libraries,
3924 *** $file_magic_cmd, produces output that libtool cannot recognize.
3925 *** The result is that libtool may fail to recognize shared libraries
3926 *** as such. This will affect the creation of libtool libraries that
3927 *** depend on shared libraries, but programs linked with such libtool
3928 *** libraries will work regardless of this problem. Nevertheless, you
3929 *** may want to report the problem to your system manager and/or to
3930 *** bug-libtool@gnu.org
3940 MAGIC_CMD="$ac_save_MAGIC_CMD"
3945 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3946 if test -n "$MAGIC_CMD"; then
3947 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3948 echo "${ECHO_T}$MAGIC_CMD" >&6
3950 echo "$as_me:$LINENO: result: no" >&5
3951 echo "${ECHO_T}no" >&6
3963 if test -n "$ac_tool_prefix"; then
3964 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3965 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3966 echo "$as_me:$LINENO: checking for $ac_word" >&5
3967 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3968 if test "${ac_cv_prog_RANLIB+set}" = set; then
3969 echo $ECHO_N "(cached) $ECHO_C" >&6
3971 if test -n "$RANLIB"; then
3972 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3978 test -z "$as_dir" && as_dir=.
3979 for ac_exec_ext in '' $ac_executable_extensions; do
3980 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3981 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3982 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3990 RANLIB=$ac_cv_prog_RANLIB
3991 if test -n "$RANLIB"; then
3992 echo "$as_me:$LINENO: result: $RANLIB" >&5
3993 echo "${ECHO_T}$RANLIB" >&6
3995 echo "$as_me:$LINENO: result: no" >&5
3996 echo "${ECHO_T}no" >&6
4000 if test -z "$ac_cv_prog_RANLIB"; then
4001 ac_ct_RANLIB=$RANLIB
4002 # Extract the first word of "ranlib", so it can be a program name with args.
4003 set dummy ranlib; ac_word=$2
4004 echo "$as_me:$LINENO: checking for $ac_word" >&5
4005 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4006 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4007 echo $ECHO_N "(cached) $ECHO_C" >&6
4009 if test -n "$ac_ct_RANLIB"; then
4010 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4016 test -z "$as_dir" && as_dir=.
4017 for ac_exec_ext in '' $ac_executable_extensions; do
4018 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4019 ac_cv_prog_ac_ct_RANLIB="ranlib"
4020 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4026 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4029 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4030 if test -n "$ac_ct_RANLIB"; then
4031 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4032 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4034 echo "$as_me:$LINENO: result: no" >&5
4035 echo "${ECHO_T}no" >&6
4038 RANLIB=$ac_ct_RANLIB
4040 RANLIB="$ac_cv_prog_RANLIB"
4043 if test -n "$ac_tool_prefix"; then
4044 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4045 set dummy ${ac_tool_prefix}strip; ac_word=$2
4046 echo "$as_me:$LINENO: checking for $ac_word" >&5
4047 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4048 if test "${ac_cv_prog_STRIP+set}" = set; then
4049 echo $ECHO_N "(cached) $ECHO_C" >&6
4051 if test -n "$STRIP"; then
4052 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4058 test -z "$as_dir" && as_dir=.
4059 for ac_exec_ext in '' $ac_executable_extensions; do
4060 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4061 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4062 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4070 STRIP=$ac_cv_prog_STRIP
4071 if test -n "$STRIP"; then
4072 echo "$as_me:$LINENO: result: $STRIP" >&5
4073 echo "${ECHO_T}$STRIP" >&6
4075 echo "$as_me:$LINENO: result: no" >&5
4076 echo "${ECHO_T}no" >&6
4080 if test -z "$ac_cv_prog_STRIP"; then
4082 # Extract the first word of "strip", so it can be a program name with args.
4083 set dummy strip; ac_word=$2
4084 echo "$as_me:$LINENO: checking for $ac_word" >&5
4085 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4086 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4087 echo $ECHO_N "(cached) $ECHO_C" >&6
4089 if test -n "$ac_ct_STRIP"; then
4090 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4096 test -z "$as_dir" && as_dir=.
4097 for ac_exec_ext in '' $ac_executable_extensions; do
4098 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4099 ac_cv_prog_ac_ct_STRIP="strip"
4100 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4106 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4109 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4110 if test -n "$ac_ct_STRIP"; then
4111 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4112 echo "${ECHO_T}$ac_ct_STRIP" >&6
4114 echo "$as_me:$LINENO: result: no" >&5
4115 echo "${ECHO_T}no" >&6
4120 STRIP="$ac_cv_prog_STRIP"
4124 # Check for any special flags to pass to ltconfig.
4125 libtool_flags="--cache-file=$cache_file"
4126 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4127 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4128 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4129 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4130 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4133 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4134 if test "${enable_libtool_lock+set}" = set; then
4135 enableval="$enable_libtool_lock"
4138 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4139 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4142 # Check whether --with-pic or --without-pic was given.
4143 if test "${with_pic+set}" = set; then
4149 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4150 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4152 # Some flags need to be propagated to the compiler or linker for good
4156 # Find out which ABI we are using.
4157 echo '#line 4157 "configure"' > conftest.$ac_ext
4158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4159 (eval $ac_compile) 2>&5
4161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4162 (exit $ac_status); }; then
4163 if test "$lt_cv_prog_gnu_ld" = yes; then
4164 case `/usr/bin/file conftest.$ac_objext` in
4166 LD="${LD-ld} -melf32bsmip"
4169 LD="${LD-ld} -melf32bmipn32"
4172 LD="${LD-ld} -melf64bmip"
4176 case `/usr/bin/file conftest.$ac_objext` in
4193 # Find out which ABI we are using.
4194 echo 'int i;' > conftest.$ac_ext
4195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4196 (eval $ac_compile) 2>&5
4198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4199 (exit $ac_status); }; then
4200 case "`/usr/bin/file conftest.o`" in
4212 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4213 # Find out which ABI we are using.
4214 echo 'int i;' > conftest.$ac_ext
4215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4216 (eval $ac_compile) 2>&5
4218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4219 (exit $ac_status); }; then
4220 case "`/usr/bin/file conftest.o`" in
4224 LD="${LD-ld} -m elf_i386"
4226 ppc64-*linux*|powerpc64-*linux*)
4227 LD="${LD-ld} -m elf32ppclinux"
4230 LD="${LD-ld} -m elf_s390"
4233 LD="${LD-ld} -m elf32_sparc"
4240 LD="${LD-ld} -m elf_x86_64"
4242 ppc*-*linux*|powerpc*-*linux*)
4243 LD="${LD-ld} -m elf64ppc"
4246 LD="${LD-ld} -m elf64_s390"
4249 LD="${LD-ld} -m elf64_sparc"
4259 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4260 SAVE_CFLAGS="$CFLAGS"
4261 CFLAGS="$CFLAGS -belf"
4262 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4263 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4264 if test "${lt_cv_cc_needs_belf+set}" = set; then
4265 echo $ECHO_N "(cached) $ECHO_C" >&6
4270 ac_cpp='$CPP $CPPFLAGS'
4271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4275 if test x$gcc_no_link = xyes; then
4276 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4277 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4278 { (exit 1); exit 1; }; }
4280 cat >conftest.$ac_ext <<_ACEOF
4281 #line $LINENO "configure"
4284 cat confdefs.h >>conftest.$ac_ext
4285 cat >>conftest.$ac_ext <<_ACEOF
4286 /* end confdefs.h. */
4296 rm -f conftest.$ac_objext conftest$ac_exeext
4297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4298 (eval $ac_link) 2>&5
4300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4301 (exit $ac_status); } &&
4302 { ac_try='test -s conftest$ac_exeext'
4303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4307 (exit $ac_status); }; }; then
4308 lt_cv_cc_needs_belf=yes
4310 echo "$as_me: failed program was:" >&5
4311 sed 's/^/| /' conftest.$ac_ext >&5
4313 lt_cv_cc_needs_belf=no
4315 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4317 ac_cpp='$CPP $CPPFLAGS'
4318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4323 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4324 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4325 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4326 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4327 CFLAGS="$SAVE_CFLAGS"
4335 # Save cache, so that ltconfig can load it
4336 cat >confcache <<\_ACEOF
4337 # This file is a shell script that caches the results of configure
4338 # tests run on this system so they can be shared between configure
4339 # scripts and configure runs, see configure's option --config-cache.
4340 # It is not useful on other systems. If it contains results you don't
4341 # want to keep, you may remove or edit it.
4343 # config.status only pays attention to the cache file if you give it
4344 # the --recheck option to rerun configure.
4346 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4347 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4352 # The following way of writing the cache mishandles newlines in values,
4353 # but we know of no workaround that is simple, portable, and efficient.
4354 # So, don't put newlines in cache variables' values.
4355 # Ultrix sh set writes to stderr and can't be redirected directly,
4356 # and sets the high bit in the cache file unless we assign to the vars.
4359 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4361 # `set' does not quote correctly, so add quotes (double-quote
4362 # substitution turns \\\\ into \\, and sed turns \\ into \).
4365 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4368 # `set' quotes correctly as required by POSIX, so do not add quotes.
4370 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4377 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4379 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4381 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4382 if test -w $cache_file; then
4383 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4384 cat confcache >$cache_file
4386 echo "not updating unwritable cache $cache_file"
4391 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4392 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4393 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4394 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4395 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4396 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4397 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4398 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4399 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4400 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4401 echo "$as_me: error: libtool configure failed" >&2;}
4402 { (exit 1); exit 1; }; }
4404 # Reload cache, that may have been modified by ltconfig
4405 if test -r "$cache_file"; then
4406 # Some versions of bash will fail to source /dev/null (special
4407 # files actually), so we avoid doing that.
4408 if test -f "$cache_file"; then
4409 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4410 echo "$as_me: loading cache $cache_file" >&6;}
4412 [\\/]* | ?:[\\/]* ) . $cache_file;;
4413 *) . ./$cache_file;;
4417 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4418 echo "$as_me: creating cache $cache_file" >&6;}
4423 # This can be used to rebuild libtool when needed
4424 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4426 # Always use our own libtool.
4427 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4429 # Redirect the config.log output again, so that the ltconfig log is not
4430 # clobbered by the next message.
4431 exec 5>>./config.log
4434 ac_cpp='$CXXCPP $CPPFLAGS'
4435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4438 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4439 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4440 if test -z "$CXXCPP"; then
4441 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4442 echo $ECHO_N "(cached) $ECHO_C" >&6
4444 # Double quotes because CXXCPP needs to be expanded
4445 for CXXCPP in "$CXX -E" "/lib/cpp"
4448 for ac_cxx_preproc_warn_flag in '' yes
4450 # Use a header file that comes with gcc, so configuring glibc
4451 # with a fresh cross-compiler works.
4452 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4453 # <limits.h> exists even on freestanding compilers.
4454 # On the NeXT, cc -E runs the code through the compiler's parser,
4455 # not just through cpp. "Syntax error" is here to catch this case.
4456 cat >conftest.$ac_ext <<_ACEOF
4457 #line $LINENO "configure"
4460 cat confdefs.h >>conftest.$ac_ext
4461 cat >>conftest.$ac_ext <<_ACEOF
4462 /* end confdefs.h. */
4464 # include <limits.h>
4466 # include <assert.h>
4470 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4471 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4473 grep -v '^ *+' conftest.er1 >conftest.err
4475 cat conftest.err >&5
4476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4477 (exit $ac_status); } >/dev/null; then
4478 if test -s conftest.err; then
4479 ac_cpp_err=$ac_cxx_preproc_warn_flag
4486 if test -z "$ac_cpp_err"; then
4489 echo "$as_me: failed program was:" >&5
4490 sed 's/^/| /' conftest.$ac_ext >&5
4492 # Broken: fails on valid input.
4495 rm -f conftest.err conftest.$ac_ext
4497 # OK, works on sane cases. Now check whether non-existent headers
4498 # can be detected and how.
4499 cat >conftest.$ac_ext <<_ACEOF
4500 #line $LINENO "configure"
4503 cat confdefs.h >>conftest.$ac_ext
4504 cat >>conftest.$ac_ext <<_ACEOF
4505 /* end confdefs.h. */
4506 #include <ac_nonexistent.h>
4508 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4509 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4511 grep -v '^ *+' conftest.er1 >conftest.err
4513 cat conftest.err >&5
4514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4515 (exit $ac_status); } >/dev/null; then
4516 if test -s conftest.err; then
4517 ac_cpp_err=$ac_cxx_preproc_warn_flag
4524 if test -z "$ac_cpp_err"; then
4525 # Broken: success on invalid input.
4528 echo "$as_me: failed program was:" >&5
4529 sed 's/^/| /' conftest.$ac_ext >&5
4531 # Passes both tests.
4535 rm -f conftest.err conftest.$ac_ext
4538 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4539 rm -f conftest.err conftest.$ac_ext
4540 if $ac_preproc_ok; then
4545 ac_cv_prog_CXXCPP=$CXXCPP
4548 CXXCPP=$ac_cv_prog_CXXCPP
4550 ac_cv_prog_CXXCPP=$CXXCPP
4552 echo "$as_me:$LINENO: result: $CXXCPP" >&5
4553 echo "${ECHO_T}$CXXCPP" >&6
4555 for ac_cxx_preproc_warn_flag in '' yes
4557 # Use a header file that comes with gcc, so configuring glibc
4558 # with a fresh cross-compiler works.
4559 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4560 # <limits.h> exists even on freestanding compilers.
4561 # On the NeXT, cc -E runs the code through the compiler's parser,
4562 # not just through cpp. "Syntax error" is here to catch this case.
4563 cat >conftest.$ac_ext <<_ACEOF
4564 #line $LINENO "configure"
4567 cat confdefs.h >>conftest.$ac_ext
4568 cat >>conftest.$ac_ext <<_ACEOF
4569 /* end confdefs.h. */
4571 # include <limits.h>
4573 # include <assert.h>
4577 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4578 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4580 grep -v '^ *+' conftest.er1 >conftest.err
4582 cat conftest.err >&5
4583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4584 (exit $ac_status); } >/dev/null; then
4585 if test -s conftest.err; then
4586 ac_cpp_err=$ac_cxx_preproc_warn_flag
4593 if test -z "$ac_cpp_err"; then
4596 echo "$as_me: failed program was:" >&5
4597 sed 's/^/| /' conftest.$ac_ext >&5
4599 # Broken: fails on valid input.
4602 rm -f conftest.err conftest.$ac_ext
4604 # OK, works on sane cases. Now check whether non-existent headers
4605 # can be detected and how.
4606 cat >conftest.$ac_ext <<_ACEOF
4607 #line $LINENO "configure"
4610 cat confdefs.h >>conftest.$ac_ext
4611 cat >>conftest.$ac_ext <<_ACEOF
4612 /* end confdefs.h. */
4613 #include <ac_nonexistent.h>
4615 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4616 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4618 grep -v '^ *+' conftest.er1 >conftest.err
4620 cat conftest.err >&5
4621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4622 (exit $ac_status); } >/dev/null; then
4623 if test -s conftest.err; then
4624 ac_cpp_err=$ac_cxx_preproc_warn_flag
4631 if test -z "$ac_cpp_err"; then
4632 # Broken: success on invalid input.
4635 echo "$as_me: failed program was:" >&5
4636 sed 's/^/| /' conftest.$ac_ext >&5
4638 # Passes both tests.
4642 rm -f conftest.err conftest.$ac_ext
4645 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4646 rm -f conftest.err conftest.$ac_ext
4647 if $ac_preproc_ok; then
4650 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4651 See \`config.log' for more details." >&5
4652 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4653 See \`config.log' for more details." >&2;}
4654 { (exit 1); exit 1; }; }
4658 ac_cpp='$CPP $CPPFLAGS'
4659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4665 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
4667 lt_save_CFLAGS="$CFLAGS"
4668 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
4669 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4670 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4671 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4672 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4673 deplibs_check_method="$deplibs_check_method" \
4674 file_magic_cmd="$file_magic_cmd" \
4675 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
4676 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
4677 || { { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
4678 echo "$as_me: error: libtool tag configuration failed" >&2;}
4679 { (exit 1); exit 1; }; }
4681 CFLAGS="$lt_save_CFLAGS"
4683 # Redirect the config.log output again, so that the ltconfig log is not
4684 # clobbered by the next message.
4685 exec 5>>./config.log
4694 # Check whether --with-target-subdir or --without-target-subdir was given.
4695 if test "${with_target_subdir+set}" = set; then
4696 withval="$with_target_subdir"
4700 # Check whether --with-cross-host or --without-cross-host was given.
4701 if test "${with_cross_host+set}" = set; then
4702 withval="$with_cross_host"
4706 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
4707 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
4708 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
4709 if test "${enable_maintainer_mode+set}" = set; then
4710 enableval="$enable_maintainer_mode"
4711 USE_MAINTAINER_MODE=$enableval
4713 USE_MAINTAINER_MODE=no
4715 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
4716 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
4719 if test $USE_MAINTAINER_MODE = yes; then
4720 MAINTAINER_MODE_TRUE=
4721 MAINTAINER_MODE_FALSE='#'
4723 MAINTAINER_MODE_TRUE='#'
4724 MAINTAINER_MODE_FALSE=
4726 MAINT=$MAINTAINER_MODE_TRUE
4730 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
4731 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
4732 THREADS=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
4733 if test -z "$THREADS"; then
4736 echo "$as_me:$LINENO: result: $THREADS" >&5
4737 echo "${ECHO_T}$THREADS" >&6
4739 # Check whether --enable-parallel-mark or --disable-parallel-mark was given.
4740 if test "${enable_parallel_mark+set}" = set; then
4741 enableval="$enable_parallel_mark"
4744 { { echo "$as_me:$LINENO: error: Parallel mark requires --enable-threads=x spec" >&5
4745 echo "$as_me: error: Parallel mark requires --enable-threads=x spec" >&2;}
4746 { (exit 1); exit 1; }; }
4752 INCLUDES="-I`cd $srcdir && ${PWDCMD-pwd}`/include"
4760 THREADLIBS=-lpthread
4762 x86-*-linux* | ia64-*-linux* | i586-*-linux* | i686-*-linux* | x86_64-*-linux* | alpha-*-linux*)
4763 cat >>confdefs.h <<\_ACEOF
4764 #define GC_LINUX_THREADS 1
4767 cat >>confdefs.h <<\_ACEOF
4768 #define _REENTRANT 1
4771 if test "${enable_parallel_mark}" = yes; then
4772 cat >>confdefs.h <<\_ACEOF
4773 #define PARALLEL_MARK 1
4777 cat >>confdefs.h <<\_ACEOF
4778 #define THREAD_LOCAL_ALLOC 1
4783 cat >>confdefs.h <<\_ACEOF
4784 #define GC_LINUX_THREADS 1
4787 cat >>confdefs.h <<\_ACEOF
4788 #define _REENTRANT 1
4793 cat >>confdefs.h <<\_ACEOF
4794 #define GC_AIX_THREADS 1
4797 cat >>confdefs.h <<\_ACEOF
4798 #define _REENTRANT 1
4803 { echo "$as_me:$LINENO: WARNING: \"Only HP/UX 11 threads are supported.\"" >&5
4804 echo "$as_me: WARNING: \"Only HP/UX 11 threads are supported.\"" >&2;}
4805 cat >>confdefs.h <<\_ACEOF
4806 #define GC_HPUX_THREADS 1
4809 cat >>confdefs.h <<\_ACEOF
4810 #define _POSIX_C_SOURCE 199506L
4813 if test "${enable_parallel_mark}" = yes; then
4814 cat >>confdefs.h <<\_ACEOF
4815 #define PARALLEL_MARK 1
4819 cat >>confdefs.h <<\_ACEOF
4820 #define THREAD_LOCAL_ALLOC 1
4823 THREADLIBS="-lpthread -lrt"
4826 { echo "$as_me:$LINENO: WARNING: \"FreeBSD does not yet fully support threads with Boehm GC.\"" >&5
4827 echo "$as_me: WARNING: \"FreeBSD does not yet fully support threads with Boehm GC.\"" >&2;}
4828 cat >>confdefs.h <<\_ACEOF
4829 #define GC_FREEBSD_THREADS 1
4832 INCLUDES="$INCLUDES -pthread"
4836 cat >>confdefs.h <<\_ACEOF
4837 #define GC_SOLARIS_THREADS 1
4840 cat >>confdefs.h <<\_ACEOF
4841 #define GC_SOLARIS_PTHREADS 1
4846 cat >>confdefs.h <<\_ACEOF
4847 #define GC_IRIX_THREADS 1
4852 cat >>confdefs.h <<\_ACEOF
4853 #define GC_WIN32_THREADS 1
4858 cat >>confdefs.h <<\_ACEOF
4859 #define GC_DARWIN_THREADS 1
4862 cat >>confdefs.h <<\_ACEOF
4863 #define THREAD_LOCAL_ALLOC 1
4866 if test "${enable_parallel_mark}" = yes; then
4867 cat >>confdefs.h <<\_ACEOF
4868 #define PARALLEL_MARK 1
4874 cat >>confdefs.h <<\_ACEOF
4875 #define GC_OSF1_THREADS 1
4878 if test "${enable_parallel_mark}" = yes; then
4879 cat >>confdefs.h <<\_ACEOF
4880 #define PARALLEL_MARK 1
4883 cat >>confdefs.h <<\_ACEOF
4884 #define THREAD_LOCAL_ALLOC 1
4887 # May want to enable it in other cases, too.
4888 # Measurements havent yet been done.
4890 INCLUDES="$INCLUDES -pthread"
4891 THREADLIBS="-lpthread -lrt"
4896 cat >>confdefs.h <<\_ACEOF
4897 #define GC_WIN32_THREADS 1
4903 echo "$as_me:$LINENO: result: $THREADLIBS" >&5
4904 echo "${ECHO_T}$THREADLIBS" >&6
4905 # Use pthread GCC switch
4907 if test "${enable_parallel_mark}" = yes; then
4908 cat >>confdefs.h <<\_ACEOF
4909 #define PARALLEL_MARK 1
4913 cat >>confdefs.h <<\_ACEOF
4914 #define THREAD_LOCAL_ALLOC 1
4917 cat >>confdefs.h <<\_ACEOF
4918 #define GC_DGUX386_THREADS 1
4921 cat >>confdefs.h <<\_ACEOF
4922 #define DGUX_THREADS 1
4925 # Enable _POSIX4A_DRAFT10_SOURCE with flag -pthread
4926 INCLUDES="-pthread $INCLUDES"
4930 THREADLIBS=-lpthread
4931 cat >>confdefs.h <<\_ACEOF
4932 #define GC_AIX_THREADS 1
4935 cat >>confdefs.h <<\_ACEOF
4936 #define _REENTRANT 1
4940 decosf1 | irix | mach | os2 | solaris | dce | vxworks)
4941 { { echo "$as_me:$LINENO: error: thread package $THREADS not yet supported" >&5
4942 echo "$as_me: error: thread package $THREADS not yet supported" >&2;}
4943 { (exit 1); exit 1; }; }
4946 { { echo "$as_me:$LINENO: error: $THREADS is an unknown thread package" >&5
4947 echo "$as_me: error: $THREADS is an unknown thread package" >&2;}
4948 { (exit 1); exit 1; }; }
4960 if test x$powerpc_darwin = xtrue; then
4961 POWERPC_DARWIN_TRUE=
4962 POWERPC_DARWIN_FALSE='#'
4964 POWERPC_DARWIN_TRUE='#'
4965 POWERPC_DARWIN_FALSE=
4968 # We never want libdl on darwin. It is a fake libdl that just ends up making
4973 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
4974 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
4975 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
4976 echo $ECHO_N "(cached) $ECHO_C" >&6
4978 ac_check_lib_save_LIBS=$LIBS
4980 if test x$gcc_no_link = xyes; then
4981 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4982 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4983 { (exit 1); exit 1; }; }
4985 cat >conftest.$ac_ext <<_ACEOF
4986 #line $LINENO "configure"
4989 cat confdefs.h >>conftest.$ac_ext
4990 cat >>conftest.$ac_ext <<_ACEOF
4991 /* end confdefs.h. */
4993 /* Override any gcc2 internal prototype to avoid an error. */
4997 /* We use char because int might match the return type of a gcc2
4998 builtin and then its argument prototype would still apply. */
5008 rm -f conftest.$ac_objext conftest$ac_exeext
5009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5010 (eval $ac_link) 2>&5
5012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5013 (exit $ac_status); } &&
5014 { ac_try='test -s conftest$ac_exeext'
5015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5019 (exit $ac_status); }; }; then
5020 ac_cv_lib_dl_dlopen=yes
5022 echo "$as_me: failed program was:" >&5
5023 sed 's/^/| /' conftest.$ac_ext >&5
5025 ac_cv_lib_dl_dlopen=no
5027 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5028 LIBS=$ac_check_lib_save_LIBS
5030 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
5031 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
5032 if test $ac_cv_lib_dl_dlopen = yes; then
5033 EXTRA_TEST_LIBS="$EXTRA_TEST_LIBS -ldl"
5041 target_all=libgcjgc.la
5047 # Check whether --with-ecos or --without-ecos was given.
5048 if test "${with_ecos+set}" = set; then
5049 withval="$with_ecos"
5050 TARGET_ECOS="$with_ecos"
5059 case "$TARGET_ECOS" in
5063 cat >>confdefs.h <<\_ACEOF
5067 CXXINCLUDES="-I${TARGET_ECOS}/include"
5068 addobjs="$addobjs ecos.lo"
5072 if test "${enable_cplusplus}" = yes; then
5073 addincludes="$addincludes include/gc_cpp.h include/gc_allocator.h"
5074 addtests="$addtests test_cpp"
5079 if test "${enable_cplusplus}" = yes; then
5092 # Configuration of shared libraries
5094 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
5095 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
5096 # Check whether --enable-shared or --disable-shared was given.
5097 if test "${enable_shared+set}" = set; then
5098 enableval="$enable_shared"
5099 p=${PACKAGE-default}
5101 yes) enable_shared=yes ;;
5102 no) enable_shared=no ;;
5105 # Look at the argument we got. We use all the common list separators.
5106 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
5107 for pkg in $enableval; do
5108 if test "X$pkg" = "X$p"; then
5122 echo "$as_me:$LINENO: result: no" >&5
5123 echo "${ECHO_T}no" >&6
5126 echo "$as_me:$LINENO: result: yes" >&5
5127 echo "${ECHO_T}yes" >&6
5131 # Configuration of machine-dependent code
5133 # We don't set NO_EXECUTE_PERMISSION by default because gcj (and
5134 # anything else that creates trampolines in gc-allocated memory)
5135 # always needs exec permission. The exceptions to this are IA-64 and
5136 # some variations of Power PC, where trampolines don't contain
5139 echo "$as_me:$LINENO: checking which machine-dependent code should be used" >&5
5140 echo $ECHO_N "checking which machine-dependent code should be used... $ECHO_C" >&6
5144 machdep="alpha_mach_dep.lo"
5145 if test x"${ac_cv_lib_dl_dlopen}" != xyes ; then
5146 { echo "$as_me:$LINENO: WARNING: OpenBSD/Alpha without dlopen(). Shared library support is disabled" >&5
5147 echo "$as_me: WARNING: OpenBSD/Alpha without dlopen(). Shared library support is disabled" >&2;}
5151 machdep="alpha_mach_dep.lo"
5153 i?86-*-solaris2.[89] | i?86-*-solaris2.1?)
5154 cat >>confdefs.h <<\_ACEOF
5155 #define SOLARIS25_PROC_VDB_BUG_FIXED 1
5160 machdep="mips_ultrix_mach_dep.lo"
5161 cat >>confdefs.h <<\_ACEOF
5162 #define STACKBASE __stackbase
5165 cat >>confdefs.h <<\_ACEOF
5166 #define DATASTART_IS_ETEXT 1
5171 machdep="mips_ultrix_mach-dep.lo"
5173 mips-nec-sysv*|mips-unknown-sysv*)
5178 machdep="mips_sgi_mach_dep.lo"
5181 machdep="sparc_netbsd_mach_dep.lo"
5183 sparc-sun-solaris2.3)
5184 machdep="sparc_mach_dep.lo"
5185 cat >>confdefs.h <<\_ACEOF
5186 #define SUNOS53_SHARED_LIB 1
5190 sparc-sun-solaris2.*)
5191 machdep="sparc_mach_dep.lo"
5194 cat >>confdefs.h <<\_ACEOF
5195 #define NO_EXECUTE_PERMISSION 1
5198 machdep="mach_dep.lo ia64_save_regs_in_stack.lo"
5201 if test x"$machdep" = x; then
5202 echo "$as_me:$LINENO: result: $machdep" >&5
5203 echo "${ECHO_T}$machdep" >&6
5204 machdep="mach_dep.lo"
5206 addobjs="$addobjs $machdep"
5219 # Check for AViiON Machines running DGUX
5221 echo "$as_me:$LINENO: checking if host is AViiON running DGUX" >&5
5222 echo $ECHO_N "checking if host is AViiON running DGUX... $ECHO_C" >&6
5225 ac_cpp='$CPP $CPPFLAGS'
5226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5229 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5230 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5231 # On Suns, sometimes $CPP names a directory.
5232 if test -n "$CPP" && test -d "$CPP"; then
5235 if test -z "$CPP"; then
5236 if test "${ac_cv_prog_CPP+set}" = set; then
5237 echo $ECHO_N "(cached) $ECHO_C" >&6
5239 # Double quotes because CPP needs to be expanded
5240 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5243 for ac_c_preproc_warn_flag in '' yes
5245 # Use a header file that comes with gcc, so configuring glibc
5246 # with a fresh cross-compiler works.
5247 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5248 # <limits.h> exists even on freestanding compilers.
5249 # On the NeXT, cc -E runs the code through the compiler's parser,
5250 # not just through cpp. "Syntax error" is here to catch this case.
5251 cat >conftest.$ac_ext <<_ACEOF
5252 #line $LINENO "configure"
5255 cat confdefs.h >>conftest.$ac_ext
5256 cat >>conftest.$ac_ext <<_ACEOF
5257 /* end confdefs.h. */
5259 # include <limits.h>
5261 # include <assert.h>
5265 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5266 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5268 grep -v '^ *+' conftest.er1 >conftest.err
5270 cat conftest.err >&5
5271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5272 (exit $ac_status); } >/dev/null; then
5273 if test -s conftest.err; then
5274 ac_cpp_err=$ac_c_preproc_warn_flag
5281 if test -z "$ac_cpp_err"; then
5284 echo "$as_me: failed program was:" >&5
5285 sed 's/^/| /' conftest.$ac_ext >&5
5287 # Broken: fails on valid input.
5290 rm -f conftest.err conftest.$ac_ext
5292 # OK, works on sane cases. Now check whether non-existent headers
5293 # can be detected and how.
5294 cat >conftest.$ac_ext <<_ACEOF
5295 #line $LINENO "configure"
5298 cat confdefs.h >>conftest.$ac_ext
5299 cat >>conftest.$ac_ext <<_ACEOF
5300 /* end confdefs.h. */
5301 #include <ac_nonexistent.h>
5303 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5304 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5306 grep -v '^ *+' conftest.er1 >conftest.err
5308 cat conftest.err >&5
5309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5310 (exit $ac_status); } >/dev/null; then
5311 if test -s conftest.err; then
5312 ac_cpp_err=$ac_c_preproc_warn_flag
5319 if test -z "$ac_cpp_err"; then
5320 # Broken: success on invalid input.
5323 echo "$as_me: failed program was:" >&5
5324 sed 's/^/| /' conftest.$ac_ext >&5
5326 # Passes both tests.
5330 rm -f conftest.err conftest.$ac_ext
5333 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5334 rm -f conftest.err conftest.$ac_ext
5335 if $ac_preproc_ok; then
5347 echo "$as_me:$LINENO: result: $CPP" >&5
5348 echo "${ECHO_T}$CPP" >&6
5350 for ac_c_preproc_warn_flag in '' yes
5352 # Use a header file that comes with gcc, so configuring glibc
5353 # with a fresh cross-compiler works.
5354 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5355 # <limits.h> exists even on freestanding compilers.
5356 # On the NeXT, cc -E runs the code through the compiler's parser,
5357 # not just through cpp. "Syntax error" is here to catch this case.
5358 cat >conftest.$ac_ext <<_ACEOF
5359 #line $LINENO "configure"
5362 cat confdefs.h >>conftest.$ac_ext
5363 cat >>conftest.$ac_ext <<_ACEOF
5364 /* end confdefs.h. */
5366 # include <limits.h>
5368 # include <assert.h>
5372 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5373 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5375 grep -v '^ *+' conftest.er1 >conftest.err
5377 cat conftest.err >&5
5378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5379 (exit $ac_status); } >/dev/null; then
5380 if test -s conftest.err; then
5381 ac_cpp_err=$ac_c_preproc_warn_flag
5388 if test -z "$ac_cpp_err"; then
5391 echo "$as_me: failed program was:" >&5
5392 sed 's/^/| /' conftest.$ac_ext >&5
5394 # Broken: fails on valid input.
5397 rm -f conftest.err conftest.$ac_ext
5399 # OK, works on sane cases. Now check whether non-existent headers
5400 # can be detected and how.
5401 cat >conftest.$ac_ext <<_ACEOF
5402 #line $LINENO "configure"
5405 cat confdefs.h >>conftest.$ac_ext
5406 cat >>conftest.$ac_ext <<_ACEOF
5407 /* end confdefs.h. */
5408 #include <ac_nonexistent.h>
5410 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5411 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5413 grep -v '^ *+' conftest.er1 >conftest.err
5415 cat conftest.err >&5
5416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5417 (exit $ac_status); } >/dev/null; then
5418 if test -s conftest.err; then
5419 ac_cpp_err=$ac_c_preproc_warn_flag
5426 if test -z "$ac_cpp_err"; then
5427 # Broken: success on invalid input.
5430 echo "$as_me: failed program was:" >&5
5431 sed 's/^/| /' conftest.$ac_ext >&5
5433 # Passes both tests.
5437 rm -f conftest.err conftest.$ac_ext
5440 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5441 rm -f conftest.err conftest.$ac_ext
5442 if $ac_preproc_ok; then
5445 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5446 See \`config.log' for more details." >&5
5447 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5448 See \`config.log' for more details." >&2;}
5449 { (exit 1); exit 1; }; }
5453 ac_cpp='$CPP $CPPFLAGS'
5454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5459 echo "$as_me:$LINENO: checking for egrep" >&5
5460 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5461 if test "${ac_cv_prog_egrep+set}" = set; then
5462 echo $ECHO_N "(cached) $ECHO_C" >&6
5464 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5465 then ac_cv_prog_egrep='grep -E'
5466 else ac_cv_prog_egrep='egrep'
5469 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5470 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5471 EGREP=$ac_cv_prog_egrep
5474 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5475 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5476 if test "${ac_cv_header_stdc+set}" = set; then
5477 echo $ECHO_N "(cached) $ECHO_C" >&6
5479 cat >conftest.$ac_ext <<_ACEOF
5480 #line $LINENO "configure"
5483 cat confdefs.h >>conftest.$ac_ext
5484 cat >>conftest.$ac_ext <<_ACEOF
5485 /* end confdefs.h. */
5499 rm -f conftest.$ac_objext
5500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5501 (eval $ac_compile) 2>&5
5503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5504 (exit $ac_status); } &&
5505 { ac_try='test -s conftest.$ac_objext'
5506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5510 (exit $ac_status); }; }; then
5511 ac_cv_header_stdc=yes
5513 echo "$as_me: failed program was:" >&5
5514 sed 's/^/| /' conftest.$ac_ext >&5
5516 ac_cv_header_stdc=no
5518 rm -f conftest.$ac_objext conftest.$ac_ext
5520 if test $ac_cv_header_stdc = yes; then
5521 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5522 cat >conftest.$ac_ext <<_ACEOF
5523 #line $LINENO "configure"
5526 cat confdefs.h >>conftest.$ac_ext
5527 cat >>conftest.$ac_ext <<_ACEOF
5528 /* end confdefs.h. */
5532 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5533 $EGREP "memchr" >/dev/null 2>&1; then
5536 ac_cv_header_stdc=no
5542 if test $ac_cv_header_stdc = yes; then
5543 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5544 cat >conftest.$ac_ext <<_ACEOF
5545 #line $LINENO "configure"
5548 cat confdefs.h >>conftest.$ac_ext
5549 cat >>conftest.$ac_ext <<_ACEOF
5550 /* end confdefs.h. */
5554 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5555 $EGREP "free" >/dev/null 2>&1; then
5558 ac_cv_header_stdc=no
5564 if test $ac_cv_header_stdc = yes; then
5565 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5566 if test "$cross_compiling" = yes; then
5569 cat >conftest.$ac_ext <<_ACEOF
5570 #line $LINENO "configure"
5573 cat confdefs.h >>conftest.$ac_ext
5574 cat >>conftest.$ac_ext <<_ACEOF
5575 /* end confdefs.h. */
5577 #if ((' ' & 0x0FF) == 0x020)
5578 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5579 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5581 # define ISLOWER(c) \
5582 (('a' <= (c) && (c) <= 'i') \
5583 || ('j' <= (c) && (c) <= 'r') \
5584 || ('s' <= (c) && (c) <= 'z'))
5585 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5588 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5593 for (i = 0; i < 256; i++)
5594 if (XOR (islower (i), ISLOWER (i))
5595 || toupper (i) != TOUPPER (i))
5600 rm -f conftest$ac_exeext
5601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5602 (eval $ac_link) 2>&5
5604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5605 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5610 (exit $ac_status); }; }; then
5613 echo "$as_me: program exited with status $ac_status" >&5
5614 echo "$as_me: failed program was:" >&5
5615 sed 's/^/| /' conftest.$ac_ext >&5
5618 ac_cv_header_stdc=no
5620 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5624 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5625 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5626 if test $ac_cv_header_stdc = yes; then
5628 cat >>confdefs.h <<\_ACEOF
5629 #define STDC_HEADERS 1
5634 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5644 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5645 inttypes.h stdint.h unistd.h
5647 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5648 echo "$as_me:$LINENO: checking for $ac_header" >&5
5649 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5650 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5651 echo $ECHO_N "(cached) $ECHO_C" >&6
5653 cat >conftest.$ac_ext <<_ACEOF
5654 #line $LINENO "configure"
5657 cat confdefs.h >>conftest.$ac_ext
5658 cat >>conftest.$ac_ext <<_ACEOF
5659 /* end confdefs.h. */
5660 $ac_includes_default
5662 #include <$ac_header>
5664 rm -f conftest.$ac_objext
5665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5666 (eval $ac_compile) 2>&5
5668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5669 (exit $ac_status); } &&
5670 { ac_try='test -s conftest.$ac_objext'
5671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5675 (exit $ac_status); }; }; then
5676 eval "$as_ac_Header=yes"
5678 echo "$as_me: failed program was:" >&5
5679 sed 's/^/| /' conftest.$ac_ext >&5
5681 eval "$as_ac_Header=no"
5683 rm -f conftest.$ac_objext conftest.$ac_ext
5685 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5686 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5687 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5688 cat >>confdefs.h <<_ACEOF
5689 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5697 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
5698 echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5
5699 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6
5700 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
5701 echo $ECHO_N "(cached) $ECHO_C" >&6
5703 echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5
5704 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6
5706 # Is the header compilable?
5707 echo "$as_me:$LINENO: checking sys/dg_sys_info.h usability" >&5
5708 echo $ECHO_N "checking sys/dg_sys_info.h usability... $ECHO_C" >&6
5709 cat >conftest.$ac_ext <<_ACEOF
5710 #line $LINENO "configure"
5713 cat confdefs.h >>conftest.$ac_ext
5714 cat >>conftest.$ac_ext <<_ACEOF
5715 /* end confdefs.h. */
5716 $ac_includes_default
5717 #include <sys/dg_sys_info.h>
5719 rm -f conftest.$ac_objext
5720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5721 (eval $ac_compile) 2>&5
5723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5724 (exit $ac_status); } &&
5725 { ac_try='test -s conftest.$ac_objext'
5726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5730 (exit $ac_status); }; }; then
5731 ac_header_compiler=yes
5733 echo "$as_me: failed program was:" >&5
5734 sed 's/^/| /' conftest.$ac_ext >&5
5736 ac_header_compiler=no
5738 rm -f conftest.$ac_objext conftest.$ac_ext
5739 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5740 echo "${ECHO_T}$ac_header_compiler" >&6
5742 # Is the header present?
5743 echo "$as_me:$LINENO: checking sys/dg_sys_info.h presence" >&5
5744 echo $ECHO_N "checking sys/dg_sys_info.h presence... $ECHO_C" >&6
5745 cat >conftest.$ac_ext <<_ACEOF
5746 #line $LINENO "configure"
5749 cat confdefs.h >>conftest.$ac_ext
5750 cat >>conftest.$ac_ext <<_ACEOF
5751 /* end confdefs.h. */
5752 #include <sys/dg_sys_info.h>
5754 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5755 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5757 grep -v '^ *+' conftest.er1 >conftest.err
5759 cat conftest.err >&5
5760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5761 (exit $ac_status); } >/dev/null; then
5762 if test -s conftest.err; then
5763 ac_cpp_err=$ac_c_preproc_warn_flag
5770 if test -z "$ac_cpp_err"; then
5771 ac_header_preproc=yes
5773 echo "$as_me: failed program was:" >&5
5774 sed 's/^/| /' conftest.$ac_ext >&5
5776 ac_header_preproc=no
5778 rm -f conftest.err conftest.$ac_ext
5779 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5780 echo "${ECHO_T}$ac_header_preproc" >&6
5782 # So? What about this header?
5783 case $ac_header_compiler:$ac_header_preproc in
5785 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&5
5786 echo "$as_me: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5787 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&5
5788 echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&2;}
5791 ## ------------------------------------ ##
5792 ## Report this to bug-autoconf@gnu.org. ##
5793 ## ------------------------------------ ##
5796 sed "s/^/$as_me: WARNING: /" >&2
5799 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&5
5800 echo "$as_me: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&2;}
5801 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&5
5802 echo "$as_me: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&2;}
5803 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&5
5804 echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&2;}
5807 ## ------------------------------------ ##
5808 ## Report this to bug-autoconf@gnu.org. ##
5809 ## ------------------------------------ ##
5812 sed "s/^/$as_me: WARNING: /" >&2
5815 echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5
5816 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6
5817 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
5818 echo $ECHO_N "(cached) $ECHO_C" >&6
5820 ac_cv_header_sys_dg_sys_info_h=$ac_header_preproc
5822 echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5
5823 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6
5826 if test $ac_cv_header_sys_dg_sys_info_h = yes; then
5832 echo "$as_me:$LINENO: result: $ac_is_dgux" >&5
5833 echo "${ECHO_T}$ac_is_dgux" >&6
5834 ## :GOTCHA: we do not check anything but sys/dg_sys_info.h
5835 if test $ac_is_dgux = yes; then
5836 if test "$enable_full_debug" = "yes"; then
5837 CFLAGS="-g -mstandard -DDGUX -D_DGUX_SOURCE -Di386 -mno-legend -O2"
5838 CXXFLAGS="-g -mstandard -DDGUX -D_DGUX_SOURCE -Di386 -mno-legend -O2"
5840 CFLAGS="-DDGUX -D_DGUX_SOURCE -Di386 -mno-legend -O2"
5841 CXXFLAGS="-DDGUX -D_DGUX_SOURCE -Di386 -mno-legend -O2"
5848 # Check whether --with-target-subdir or --without-target-subdir was given.
5849 if test "${with_target_subdir+set}" = set; then
5850 withval="$with_target_subdir"
5854 # Check whether --with-cross-host or --without-cross-host was given.
5855 if test "${with_cross_host+set}" = set; then
5856 withval="$with_cross_host"
5860 echo "$as_me:$LINENO: checking whether Solaris gcc optimization fix is necessary" >&5
5861 echo $ECHO_N "checking whether Solaris gcc optimization fix is necessary... $ECHO_C" >&6
5863 sparc-sun-solaris2*|*aix*)
5864 if test "$GCC" = yes; then
5865 echo "$as_me:$LINENO: result: yes" >&5
5866 echo "${ECHO_T}yes" >&6
5868 for i in $CFLAGS; do
5873 new_CFLAGS="$new_CFLAGS $i"
5877 CFLAGS="$new_CFLAGS"
5879 echo "$as_me:$LINENO: result: no" >&5
5880 echo "${ECHO_T}no" >&6
5883 *) echo "$as_me:$LINENO: result: no" >&5
5884 echo "${ECHO_T}no" >&6 ;;
5890 cat >>confdefs.h <<\_ACEOF
5894 cat >>confdefs.h <<\_ACEOF
5895 #define NO_SIGNALS 1
5898 cat >>confdefs.h <<\_ACEOF
5899 #define ALL_INTERIOR_POINTERS 1
5903 cat >>confdefs.h <<\_ACEOF
5904 #define JAVA_FINALIZATION 1
5907 cat >>confdefs.h <<\_ACEOF
5908 #define GC_GCJ_SUPPORT 1
5911 cat >>confdefs.h <<\_ACEOF
5912 #define ATOMIC_UNCOLLECTABLE 1
5916 if test -n "${with_cross_host}"; then
5917 cat >>confdefs.h <<\_ACEOF
5921 cat >>confdefs.h <<\_ACEOF
5922 #define NO_DEBUGGING 1
5927 # Check whether --enable-full-debug or --disable-full-debug was given.
5928 if test "${enable_full_debug+set}" = set; then
5929 enableval="$enable_full_debug"
5930 if test "$enable_full_debug" = "yes"; then
5931 { echo "$as_me:$LINENO: WARNING: \"Must define GC_DEBUG and use debug alloc. in clients.\"" >&5
5932 echo "$as_me: WARNING: \"Must define GC_DEBUG and use debug alloc. in clients.\"" >&2;}
5933 cat >>confdefs.h <<\_ACEOF
5934 #define KEEP_BACK_PTRS 1
5937 cat >>confdefs.h <<\_ACEOF
5938 #define DBG_HDRS_ALL 1
5943 cat >>confdefs.h <<\_ACEOF
5944 #define MAKE_BACK_GRAPH 1
5948 x86-*-linux* | i586-*-linux* | i686-*-linux* | x86_64-*-linux* )
5949 cat >>confdefs.h <<\_ACEOF
5950 #define MAKE_BACK_GRAPH 1
5953 { echo "$as_me:$LINENO: WARNING: \"Client must not use -fomit-frame-pointer.\"" >&5
5954 echo "$as_me: WARNING: \"Client must not use -fomit-frame-pointer.\"" >&2;}
5955 cat >>confdefs.h <<\_ACEOF
5956 #define SAVE_CALL_COUNT 8
5961 cat >>confdefs.h <<\_ACEOF
5962 #define MAKE_BACK_GRAPH 1
5970 if test -n "$with_cross_host" &&
5971 test x"$with_cross_host" != x"no"; then
5972 toolexecdir='$(exec_prefix)/$(target_noncanonical)'
5973 toolexeclibdir='$(toolexecdir)/lib'
5975 toolexecdir='$(libdir)/gcc-lib/$(target_noncanonical)'
5976 toolexeclibdir='$(libdir)'
5978 multi_os_directory=`$CC -print-multi-os-directory`
5979 case $multi_os_directory in
5980 .) ;; # Avoid trailing /.
5981 *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
5986 if test "${multilib}" = "yes"; then
5987 multilib_arg="--enable-multilib"
5992 ac_config_files="$ac_config_files Makefile include/Makefile"
5993 ac_config_commands="$ac_config_commands default"
5994 cat >confcache <<\_ACEOF
5995 # This file is a shell script that caches the results of configure
5996 # tests run on this system so they can be shared between configure
5997 # scripts and configure runs, see configure's option --config-cache.
5998 # It is not useful on other systems. If it contains results you don't
5999 # want to keep, you may remove or edit it.
6001 # config.status only pays attention to the cache file if you give it
6002 # the --recheck option to rerun configure.
6004 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6005 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6010 # The following way of writing the cache mishandles newlines in values,
6011 # but we know of no workaround that is simple, portable, and efficient.
6012 # So, don't put newlines in cache variables' values.
6013 # Ultrix sh set writes to stderr and can't be redirected directly,
6014 # and sets the high bit in the cache file unless we assign to the vars.
6017 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6019 # `set' does not quote correctly, so add quotes (double-quote
6020 # substitution turns \\\\ into \\, and sed turns \\ into \).
6023 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6026 # `set' quotes correctly as required by POSIX, so do not add quotes.
6028 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6035 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6037 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6039 if diff $cache_file confcache >/dev/null 2>&1; then :; else
6040 if test -w $cache_file; then
6041 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
6042 cat confcache >$cache_file
6044 echo "not updating unwritable cache $cache_file"
6049 test "x$prefix" = xNONE && prefix=$ac_default_prefix
6050 # Let make expand exec_prefix.
6051 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6053 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6054 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6055 # trailing colons and then remove the whole line if VPATH becomes empty
6056 # (actually we leave an empty line to preserve line numbers).
6057 if test "x$srcdir" = x.; then
6058 ac_vpsub='/^[ ]*VPATH[ ]*=/{
6059 s/:*\$(srcdir):*/:/;
6060 s/:*\${srcdir}:*/:/;
6062 s/^\([^=]*=[ ]*\):*/\1/;
6068 # Transform confdefs.h into DEFS.
6069 # Protect against shell expansion while executing Makefile rules.
6070 # Protect against Makefile macro expansion.
6072 # If the first sed substitution is executed (which looks for macros that
6073 # take arguments), then we branch to the quote section. Otherwise,
6074 # look for a macro that doesn't take arguments.
6075 cat >confdef2opt.sed <<\_ACEOF
6078 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
6080 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
6084 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
6090 # We use echo to avoid assuming a particular line-breaking character.
6091 # The extra dot is to prevent the shell from consuming trailing
6092 # line-breaks from the sub-command output. A line-break within
6093 # single-quotes doesn't work because, if this script is created in a
6094 # platform that uses two characters for line-breaks (e.g., DOS), tr
6096 ac_LF_and_DOT=`echo; echo .`
6097 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
6098 rm -f confdef2opt.sed
6103 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6104 # 1. Remove the extension, and $U if already installed.
6105 ac_i=`echo "$ac_i" |
6106 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
6108 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
6109 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
6113 LTLIBOBJS=$ac_ltlibobjs
6117 : ${CONFIG_STATUS=./config.status}
6118 ac_clean_files_save=$ac_clean_files
6119 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6120 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6121 echo "$as_me: creating $CONFIG_STATUS" >&6;}
6122 cat >$CONFIG_STATUS <<_ACEOF
6124 # Generated by $as_me.
6125 # Run this file to recreate the current configuration.
6126 # Compiler output produced by configure, useful for debugging
6127 # configure, is in config.log if it exists.
6132 SHELL=\${CONFIG_SHELL-$SHELL}
6135 cat >>$CONFIG_STATUS <<\_ACEOF
6136 ## --------------------- ##
6137 ## M4sh Initialization. ##
6138 ## --------------------- ##
6140 # Be Bourne compatible
6141 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
6144 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6145 # is contrary to our usage. Disable this feature.
6146 alias -g '${1+"$@"}'='"$@"'
6147 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
6151 # Support unset when possible.
6152 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
6159 # Work around bugs in pre-3.0 UWIN ksh.
6160 $as_unset ENV MAIL MAILPATH
6167 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
6168 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
6169 LC_TELEPHONE LC_TIME
6171 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
6172 eval $as_var=C; export $as_var
6178 # Required to use basename.
6179 if expr a : '\(a\)' >/dev/null 2>&1; then
6185 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
6186 as_basename=basename
6192 # Name of the executable.
6193 as_me=`$as_basename "$0" ||
6194 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6195 X"$0" : 'X\(//\)$' \| \
6196 X"$0" : 'X\(/\)$' \| \
6197 . : '\(.\)' 2>/dev/null ||
6199 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
6200 /^X\/\(\/\/\)$/{ s//\1/; q; }
6201 /^X\/\(\/\).*/{ s//\1/; q; }
6205 # PATH needs CR, and LINENO needs CR and PATH.
6206 # Avoid depending upon Character Ranges.
6207 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6208 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6209 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6210 as_cr_digits='0123456789'
6211 as_cr_alnum=$as_cr_Letters$as_cr_digits
6213 # The user is always right.
6214 if test "${PATH_SEPARATOR+set}" != set; then
6215 echo "#! /bin/sh" >conf$$.sh
6216 echo "exit 0" >>conf$$.sh
6218 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
6229 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6230 test "x$as_lineno_1" != "x$as_lineno_2" &&
6231 test "x$as_lineno_3" = "x$as_lineno_2" || {
6232 # Find who we are. Look in the path if we contain no path at all
6235 *[\\/]* ) as_myself=$0 ;;
6236 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6240 test -z "$as_dir" && as_dir=.
6241 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6246 # We did not find ourselves, most probably we were run as `sh COMMAND'
6247 # in which case we are not to be found in the path.
6248 if test "x$as_myself" = x; then
6251 if test ! -f "$as_myself"; then
6252 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
6253 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
6254 { (exit 1); exit 1; }; }
6256 case $CONFIG_SHELL in
6258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6259 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
6262 test -z "$as_dir" && as_dir=.
6263 for as_base in sh bash ksh sh5; do
6266 if ("$as_dir/$as_base" -c '
6269 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6270 test "x$as_lineno_1" != "x$as_lineno_2" &&
6271 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
6272 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
6273 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
6274 CONFIG_SHELL=$as_dir/$as_base
6276 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
6284 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6285 # uniformly replaced by the line number. The first 'sed' inserts a
6286 # line-number line before each line; the second 'sed' does the real
6287 # work. The second script uses 'N' to pair each line-number line
6288 # with the numbered line, and appends trailing '-' during
6289 # substitution so that $LINENO is not a special case at line end.
6290 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6291 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
6292 sed '=' <$as_myself |
6297 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
6300 s,^['$as_cr_digits']*\n,,
6302 chmod +x $as_me.lineno ||
6303 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
6304 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
6305 { (exit 1); exit 1; }; }
6307 # Don't try to exec as it changes $[0], causing all sort of problems
6308 # (the dirname of $[0] is not the place where we might find the
6309 # original and so on. Autoconf is especially sensible to this).
6311 # Exit status is that of the last command.
6316 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
6317 *c*,-n*) ECHO_N= ECHO_C='
6319 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
6320 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
6323 if expr a : '\(a\)' >/dev/null 2>&1; then
6329 rm -f conf$$ conf$$.exe conf$$.file
6331 if ln -s conf$$.file conf$$ 2>/dev/null; then
6332 # We could just check for DJGPP; but this test a) works b) is more generic
6333 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
6334 if test -f conf$$.exe; then
6335 # Don't use ln at all; we don't have any links
6340 elif ln conf$$.file conf$$ 2>/dev/null; then
6345 rm -f conf$$ conf$$.exe conf$$.file
6347 if mkdir -p . 2>/dev/null; then
6353 as_executable_p="test -f"
6355 # Sed expression to map a string onto a valid CPP name.
6356 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
6358 # Sed expression to map a string onto a valid variable name.
6359 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
6363 # We need space, tab and new line, in precisely that order.
6373 # Open the log real soon, to keep \$[0] and so on meaningful, and to
6374 # report actual input values of CONFIG_FILES etc. instead of their
6375 # values after options handling. Logging --version etc. is OK.
6379 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6380 ## Running $as_me. ##
6385 This file was extended by $as_me, which was
6386 generated by GNU Autoconf 2.57. Invocation command line was
6388 CONFIG_FILES = $CONFIG_FILES
6389 CONFIG_HEADERS = $CONFIG_HEADERS
6390 CONFIG_LINKS = $CONFIG_LINKS
6391 CONFIG_COMMANDS = $CONFIG_COMMANDS
6395 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
6399 # Files that config.status was made for.
6400 if test -n "$ac_config_files"; then
6401 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
6404 if test -n "$ac_config_headers"; then
6405 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
6408 if test -n "$ac_config_links"; then
6409 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
6412 if test -n "$ac_config_commands"; then
6413 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
6416 cat >>$CONFIG_STATUS <<\_ACEOF
6419 \`$as_me' instantiates files from templates according to the
6420 current configuration.
6422 Usage: $0 [OPTIONS] [FILE]...
6424 -h, --help print this help, then exit
6425 -V, --version print version number, then exit
6426 -q, --quiet do not print progress messages
6427 -d, --debug don't remove temporary files
6428 --recheck update $as_me by reconfiguring in the same conditions
6429 --file=FILE[:TEMPLATE]
6430 instantiate the configuration file FILE
6432 Configuration files:
6435 Configuration commands:
6438 Report bugs to <bug-autoconf@gnu.org>."
6441 cat >>$CONFIG_STATUS <<_ACEOF
6444 configured by $0, generated by GNU Autoconf 2.57,
6445 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
6447 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
6448 Free Software Foundation, Inc.
6449 This config.status script is free software; the Free Software Foundation
6450 gives unlimited permission to copy, distribute and modify it."
6455 cat >>$CONFIG_STATUS <<\_ACEOF
6456 # If no file are specified by the user, then we need to provide default
6457 # value. By we need to know if files were specified by the user.
6463 ac_option=`expr "x$1" : 'x\([^=]*\)='`
6464 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
6472 *) # This is not an option, so the user has probably given explicit
6475 ac_need_defaults=false;;
6479 # Handling of the options.
6481 cat >>$CONFIG_STATUS <<\_ACEOF
6482 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6484 --version | --vers* | -V )
6485 echo "$ac_cs_version"; exit 0 ;;
6487 # Conflict between --help and --header
6488 { { echo "$as_me:$LINENO: error: ambiguous option: $1
6489 Try \`$0 --help' for more information." >&5
6490 echo "$as_me: error: ambiguous option: $1
6491 Try \`$0 --help' for more information." >&2;}
6492 { (exit 1); exit 1; }; };;
6493 --help | --hel | -h )
6494 echo "$ac_cs_usage"; exit 0 ;;
6495 --debug | --d* | -d )
6497 --file | --fil | --fi | --f )
6499 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
6500 ac_need_defaults=false;;
6501 --header | --heade | --head | --hea )
6503 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
6504 ac_need_defaults=false;;
6505 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6506 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6510 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
6511 Try \`$0 --help' for more information." >&5
6512 echo "$as_me: error: unrecognized option: $1
6513 Try \`$0 --help' for more information." >&2;}
6514 { (exit 1); exit 1; }; } ;;
6516 *) ac_config_targets="$ac_config_targets $1" ;;
6522 ac_configure_extra_args=
6524 if $ac_cs_silent; then
6526 ac_configure_extra_args="$ac_configure_extra_args --silent"
6530 cat >>$CONFIG_STATUS <<_ACEOF
6531 if \$ac_cs_recheck; then
6532 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
6533 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6538 cat >>$CONFIG_STATUS <<_ACEOF
6540 # INIT-COMMANDS section.
6546 with_multisubdir=${with_multisubdir}
6547 ac_configure_args="${multilib_arg} ${ac_configure_args}"
6548 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
6549 gc_basedir=${gc_basedir}
6551 ORIGINAL_LD_FOR_MULTILIBS="${ORIGINAL_LD_FOR_MULTILIBS}"
6553 INCLUDES="$INCLUDES"
6560 cat >>$CONFIG_STATUS <<\_ACEOF
6561 for ac_config_target in $ac_config_targets
6563 case "$ac_config_target" in
6564 # Handling of arguments.
6565 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6566 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
6567 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
6568 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6569 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6570 { (exit 1); exit 1; }; };;
6574 # If the user did not use the arguments to specify the items to instantiate,
6575 # then the envvar interface is used. Set only those that are not.
6576 # We use the long form for the default assignment because of an extremely
6577 # bizarre bug on SunOS 4.1.3.
6578 if $ac_need_defaults; then
6579 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6580 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6583 # Have a temporary directory for convenience. Make it in the build tree
6584 # simply because there is no reason to put it here, and in addition,
6585 # creating and moving files from /tmp can sometimes cause problems.
6586 # Create a temporary directory, and hook for its removal unless debugging.
6589 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
6590 trap '{ (exit 1); exit 1; }' 1 2 13 15
6593 # Create a (secure) tmp directory for tmp files.
6596 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
6597 test -n "$tmp" && test -d "$tmp"
6600 tmp=./confstat$$-$RANDOM
6601 (umask 077 && mkdir $tmp)
6604 echo "$me: cannot create a temporary directory in ." >&2
6605 { (exit 1); exit 1; }
6610 cat >>$CONFIG_STATUS <<_ACEOF
6613 # CONFIG_FILES section.
6616 # No need to generate the scripts if there are no CONFIG_FILES.
6617 # This happens for instance when ./config.status config.h
6618 if test -n "\$CONFIG_FILES"; then
6619 # Protect against being on the right side of a sed subst in config.status.
6620 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
6621 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
6622 s,@SHELL@,$SHELL,;t t
6623 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
6624 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
6625 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
6626 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
6627 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
6628 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
6629 s,@exec_prefix@,$exec_prefix,;t t
6630 s,@prefix@,$prefix,;t t
6631 s,@program_transform_name@,$program_transform_name,;t t
6632 s,@bindir@,$bindir,;t t
6633 s,@sbindir@,$sbindir,;t t
6634 s,@libexecdir@,$libexecdir,;t t
6635 s,@datadir@,$datadir,;t t
6636 s,@sysconfdir@,$sysconfdir,;t t
6637 s,@sharedstatedir@,$sharedstatedir,;t t
6638 s,@localstatedir@,$localstatedir,;t t
6639 s,@libdir@,$libdir,;t t
6640 s,@includedir@,$includedir,;t t
6641 s,@oldincludedir@,$oldincludedir,;t t
6642 s,@infodir@,$infodir,;t t
6643 s,@mandir@,$mandir,;t t
6644 s,@build_alias@,$build_alias,;t t
6645 s,@host_alias@,$host_alias,;t t
6646 s,@target_alias@,$target_alias,;t t
6648 s,@ECHO_C@,$ECHO_C,;t t
6649 s,@ECHO_N@,$ECHO_N,;t t
6650 s,@ECHO_T@,$ECHO_T,;t t
6652 s,@gc_basedir@,$gc_basedir,;t t
6653 s,@build@,$build,;t t
6654 s,@build_cpu@,$build_cpu,;t t
6655 s,@build_vendor@,$build_vendor,;t t
6656 s,@build_os@,$build_os,;t t
6658 s,@host_cpu@,$host_cpu,;t t
6659 s,@host_vendor@,$host_vendor,;t t
6660 s,@host_os@,$host_os,;t t
6661 s,@target@,$target,;t t
6662 s,@target_cpu@,$target_cpu,;t t
6663 s,@target_vendor@,$target_vendor,;t t
6664 s,@target_os@,$target_os,;t t
6665 s,@mkinstalldirs@,$mkinstalldirs,;t t
6666 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
6667 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
6668 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
6669 s,@PACKAGE@,$PACKAGE,;t t
6670 s,@VERSION@,$VERSION,;t t
6671 s,@ACLOCAL@,$ACLOCAL,;t t
6672 s,@AUTOCONF@,$AUTOCONF,;t t
6673 s,@AUTOMAKE@,$AUTOMAKE,;t t
6674 s,@AUTOHEADER@,$AUTOHEADER,;t t
6675 s,@MAKEINFO@,$MAKEINFO,;t t
6676 s,@SET_MAKE@,$SET_MAKE,;t t
6678 s,@ac_ct_CC@,$ac_ct_CC,;t t
6679 s,@EXEEXT@,$EXEEXT,;t t
6680 s,@OBJEXT@,$OBJEXT,;t t
6682 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
6683 s,@CFLAGS@,$CFLAGS,;t t
6684 s,@CXXFLAGS@,$CXXFLAGS,;t t
6686 s,@ac_ct_AS@,$ac_ct_AS,;t t
6688 s,@ac_ct_AR@,$ac_ct_AR,;t t
6689 s,@RANLIB@,$RANLIB,;t t
6690 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
6691 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
6692 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
6693 s,@MAINT@,$MAINT,;t t
6694 s,@GC_CFLAGS@,$GC_CFLAGS,;t t
6696 s,@STRIP@,$STRIP,;t t
6697 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
6698 s,@LIBTOOL@,$LIBTOOL,;t t
6699 s,@CXXCPP@,$CXXCPP,;t t
6700 s,@CPPFLAGS@,$CPPFLAGS,;t t
6701 s,@THREADLIBS@,$THREADLIBS,;t t
6702 s,@POWERPC_DARWIN_TRUE@,$POWERPC_DARWIN_TRUE,;t t
6703 s,@POWERPC_DARWIN_FALSE@,$POWERPC_DARWIN_FALSE,;t t
6704 s,@EXTRA_TEST_LIBS@,$EXTRA_TEST_LIBS,;t t
6705 s,@target_all@,$target_all,;t t
6706 s,@target_noncanonical@,$target_noncanonical,;t t
6707 s,@CPLUSPLUS_TRUE@,$CPLUSPLUS_TRUE,;t t
6708 s,@CPLUSPLUS_FALSE@,$CPLUSPLUS_FALSE,;t t
6709 s,@INCLUDES@,$INCLUDES,;t t
6710 s,@CXXINCLUDES@,$CXXINCLUDES,;t t
6711 s,@addobjs@,$addobjs,;t t
6712 s,@addincludes@,$addincludes,;t t
6713 s,@addlibs@,$addlibs,;t t
6714 s,@addtests@,$addtests,;t t
6716 s,@EGREP@,$EGREP,;t t
6717 s,@MY_CFLAGS@,$MY_CFLAGS,;t t
6718 s,@toolexecdir@,$toolexecdir,;t t
6719 s,@toolexeclibdir@,$toolexeclibdir,;t t
6720 s,@LIBOBJS@,$LIBOBJS,;t t
6721 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
6726 cat >>$CONFIG_STATUS <<\_ACEOF
6727 # Split the substitutions into bite-sized pieces for seds with
6728 # small command number limits, like on Digital OSF/1 and HP-UX.
6730 ac_sed_frag=1 # Number of current file.
6731 ac_beg=1 # First line for current file.
6732 ac_end=$ac_max_sed_lines # Line after last line for current file.
6735 while $ac_more_lines; do
6736 if test $ac_beg -gt 1; then
6737 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
6739 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
6741 if test ! -s $tmp/subs.frag; then
6744 # The purpose of the label and of the branching condition is to
6745 # speed up the sed processing (if there are no `@' at all, there
6746 # is no need to browse any of the substitutions).
6747 # These are the two extra sed commands mentioned above.
6749 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
6750 if test -z "$ac_sed_cmds"; then
6751 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
6753 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
6755 ac_sed_frag=`expr $ac_sed_frag + 1`
6757 ac_end=`expr $ac_end + $ac_max_sed_lines`
6760 if test -z "$ac_sed_cmds"; then
6763 fi # test -n "$CONFIG_FILES"
6766 cat >>$CONFIG_STATUS <<\_ACEOF
6767 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
6768 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6770 - | *:- | *:-:* ) # input from stdin
6772 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6773 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6774 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6775 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6776 * ) ac_file_in=$ac_file.in ;;
6779 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
6780 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6781 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6782 X"$ac_file" : 'X\(//\)[^/]' \| \
6783 X"$ac_file" : 'X\(//\)$' \| \
6784 X"$ac_file" : 'X\(/\)' \| \
6785 . : '\(.\)' 2>/dev/null ||
6787 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6788 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6789 /^X\(\/\/\)$/{ s//\1/; q; }
6790 /^X\(\/\).*/{ s//\1/; q; }
6792 { if $as_mkdir_p; then
6797 while test ! -d "$as_dir"; do
6798 as_dirs="$as_dir $as_dirs"
6799 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6800 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6801 X"$as_dir" : 'X\(//\)[^/]' \| \
6802 X"$as_dir" : 'X\(//\)$' \| \
6803 X"$as_dir" : 'X\(/\)' \| \
6804 . : '\(.\)' 2>/dev/null ||
6806 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6807 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6808 /^X\(\/\/\)$/{ s//\1/; q; }
6809 /^X\(\/\).*/{ s//\1/; q; }
6812 test ! -n "$as_dirs" || mkdir $as_dirs
6813 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6814 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6815 { (exit 1); exit 1; }; }; }
6819 if test "$ac_dir" != .; then
6820 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6821 # A "../" for each directory in $ac_dir_suffix.
6822 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6824 ac_dir_suffix= ac_top_builddir=
6828 .) # No --srcdir option. We are building in place.
6830 if test -z "$ac_top_builddir"; then
6833 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6835 [\\/]* | ?:[\\/]* ) # Absolute path.
6836 ac_srcdir=$srcdir$ac_dir_suffix;
6837 ac_top_srcdir=$srcdir ;;
6839 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6840 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6842 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
6844 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
6845 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
6846 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
6847 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
6851 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6852 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
6855 if test x"$ac_file" != x-; then
6856 { echo "$as_me:$LINENO: creating $ac_file" >&5
6857 echo "$as_me: creating $ac_file" >&6;}
6860 # Let's still pretend it is `configure' which instantiates (i.e., don't
6861 # use $as_me), people would be surprised to read:
6862 # /* config.h. Generated by config.status. */
6863 if test x"$ac_file" = x-; then
6866 configure_input="$ac_file. "
6868 configure_input=$configure_input"Generated from `echo $ac_file_in |
6869 sed 's,.*/,,'` by configure."
6871 # First look for the input files in the build tree, otherwise in the
6873 ac_file_inputs=`IFS=:
6874 for f in $ac_file_in; do
6876 -) echo $tmp/stdin ;;
6878 # Absolute (can't be DOS-style, as IFS=:)
6879 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6880 echo "$as_me: error: cannot find input file: $f" >&2;}
6881 { (exit 1); exit 1; }; }
6884 if test -f "$f"; then
6887 elif test -f "$srcdir/$f"; then
6892 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6893 echo "$as_me: error: cannot find input file: $f" >&2;}
6894 { (exit 1); exit 1; }; }
6897 done` || { (exit 1); exit 1; }
6899 cat >>$CONFIG_STATUS <<_ACEOF
6903 cat >>$CONFIG_STATUS <<\_ACEOF
6905 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6906 s,@configure_input@,$configure_input,;t t
6907 s,@srcdir@,$ac_srcdir,;t t
6908 s,@abs_srcdir@,$ac_abs_srcdir,;t t
6909 s,@top_srcdir@,$ac_top_srcdir,;t t
6910 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
6911 s,@builddir@,$ac_builddir,;t t
6912 s,@abs_builddir@,$ac_abs_builddir,;t t
6913 s,@top_builddir@,$ac_top_builddir,;t t
6914 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
6915 s,@INSTALL@,$ac_INSTALL,;t t
6916 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6918 if test x"$ac_file" != x-; then
6919 mv $tmp/out $ac_file
6927 cat >>$CONFIG_STATUS <<\_ACEOF
6930 # CONFIG_COMMANDS section.
6932 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
6933 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
6934 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
6935 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
6936 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6937 X"$ac_dest" : 'X\(//\)[^/]' \| \
6938 X"$ac_dest" : 'X\(//\)$' \| \
6939 X"$ac_dest" : 'X\(/\)' \| \
6940 . : '\(.\)' 2>/dev/null ||
6942 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6943 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6944 /^X\(\/\/\)$/{ s//\1/; q; }
6945 /^X\(\/\).*/{ s//\1/; q; }
6949 if test "$ac_dir" != .; then
6950 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6951 # A "../" for each directory in $ac_dir_suffix.
6952 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6954 ac_dir_suffix= ac_top_builddir=
6958 .) # No --srcdir option. We are building in place.
6960 if test -z "$ac_top_builddir"; then
6963 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6965 [\\/]* | ?:[\\/]* ) # Absolute path.
6966 ac_srcdir=$srcdir$ac_dir_suffix;
6967 ac_top_srcdir=$srcdir ;;
6969 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6970 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6972 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
6974 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
6975 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
6976 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
6977 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
6980 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
6981 echo "$as_me: executing $ac_dest commands" >&6;}
6984 echo "$INCLUDES $DEFS" > boehm-cflags
6986 if test -n "$CONFIG_FILES"; then
6987 LD="${ORIGINAL_LD_FOR_MULTILIBS}"
6988 ac_file=Makefile . ${gc_basedir}/../config-ml.in
6994 cat >>$CONFIG_STATUS <<\_ACEOF
6996 { (exit 0); exit 0; }
6998 chmod +x $CONFIG_STATUS
6999 ac_clean_files=$ac_clean_files_save
7002 # configure is writing to config.log, and then calls config.status.
7003 # config.status does its own redirection, appending to config.log.
7004 # Unfortunately, on DOS this fails, as config.log is still kept open
7005 # by configure, so config.status won't be able to write to it; its
7006 # output is simply discarded. So we exec the FD to /dev/null,
7007 # effectively closing config.log, so it can be properly (re)opened and
7008 # appended to by config.status. When coming back to configure, we
7009 # need to make the FD available again.
7010 if test "$no_create" != yes; then
7012 ac_config_status_args=
7013 test "$silent" = yes &&
7014 ac_config_status_args="$ac_config_status_args --quiet"
7016 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7018 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7019 # would make configure fail if this is the last instruction.
7020 $ac_cs_success || { (exit 1); exit 1; }