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}"
1710 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
1711 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1712 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1713 { (exit 1); exit 1; }; }
1718 missing_dir=`cd $ac_aux_dir && pwd`
1719 echo "$as_me:$LINENO: checking for working aclocal" >&5
1720 echo $ECHO_N "checking for working aclocal... $ECHO_C" >&6
1721 # Run test in a subshell; some versions of sh will print an error if
1722 # an executable is not found, even if stderr is redirected.
1723 # Redirect stdin to placate older versions of autoconf. Sigh.
1724 if (aclocal --version) < /dev/null > /dev/null 2>&1; then
1726 echo "$as_me:$LINENO: result: found" >&5
1727 echo "${ECHO_T}found" >&6
1729 ACLOCAL="$missing_dir/missing aclocal"
1730 echo "$as_me:$LINENO: result: missing" >&5
1731 echo "${ECHO_T}missing" >&6
1734 echo "$as_me:$LINENO: checking for working autoconf" >&5
1735 echo $ECHO_N "checking for working autoconf... $ECHO_C" >&6
1736 # Run test in a subshell; some versions of sh will print an error if
1737 # an executable is not found, even if stderr is redirected.
1738 # Redirect stdin to placate older versions of autoconf. Sigh.
1739 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
1741 echo "$as_me:$LINENO: result: found" >&5
1742 echo "${ECHO_T}found" >&6
1744 AUTOCONF="$missing_dir/missing autoconf"
1745 echo "$as_me:$LINENO: result: missing" >&5
1746 echo "${ECHO_T}missing" >&6
1749 echo "$as_me:$LINENO: checking for working automake" >&5
1750 echo $ECHO_N "checking for working automake... $ECHO_C" >&6
1751 # Run test in a subshell; some versions of sh will print an error if
1752 # an executable is not found, even if stderr is redirected.
1753 # Redirect stdin to placate older versions of autoconf. Sigh.
1754 if (automake --version) < /dev/null > /dev/null 2>&1; then
1756 echo "$as_me:$LINENO: result: found" >&5
1757 echo "${ECHO_T}found" >&6
1759 AUTOMAKE="$missing_dir/missing automake"
1760 echo "$as_me:$LINENO: result: missing" >&5
1761 echo "${ECHO_T}missing" >&6
1764 echo "$as_me:$LINENO: checking for working autoheader" >&5
1765 echo $ECHO_N "checking for working autoheader... $ECHO_C" >&6
1766 # Run test in a subshell; some versions of sh will print an error if
1767 # an executable is not found, even if stderr is redirected.
1768 # Redirect stdin to placate older versions of autoconf. Sigh.
1769 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
1770 AUTOHEADER=autoheader
1771 echo "$as_me:$LINENO: result: found" >&5
1772 echo "${ECHO_T}found" >&6
1774 AUTOHEADER="$missing_dir/missing autoheader"
1775 echo "$as_me:$LINENO: result: missing" >&5
1776 echo "${ECHO_T}missing" >&6
1779 echo "$as_me:$LINENO: checking for working makeinfo" >&5
1780 echo $ECHO_N "checking for working makeinfo... $ECHO_C" >&6
1781 # Run test in a subshell; some versions of sh will print an error if
1782 # an executable is not found, even if stderr is redirected.
1783 # Redirect stdin to placate older versions of autoconf. Sigh.
1784 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
1786 echo "$as_me:$LINENO: result: found" >&5
1787 echo "${ECHO_T}found" >&6
1789 MAKEINFO="$missing_dir/missing makeinfo"
1790 echo "$as_me:$LINENO: result: missing" >&5
1791 echo "${ECHO_T}missing" >&6
1796 # The autoconf 2.5x version of the no-executables hack.
1797 # GCC_NO_EXECUTABLES
1799 # FIXME: The GCC team has specific needs which the current Autoconf
1800 # framework cannot solve elegantly. This macro implements a dirty
1801 # hack until Autoconf is able to provide the services its users
1804 # Several of the support libraries that are often built with GCC can't
1805 # assume the tool-chain is already capable of linking a program: the
1806 # compiler often expects to be able to link with some of such
1809 # In several of these libraries, workarounds have been introduced to
1810 # avoid the AC_PROG_CC_WORKS test, that would just abort their
1811 # configuration. The introduction of AC_EXEEXT, enabled either by
1812 # libtool or by CVS autoconf, have just made matters worse.
1814 # Unlike the previous AC_NO_EXECUTABLES, this test does not
1815 # disable link tests at autoconf time, but at configure time.
1816 # This allows AC_NO_EXECUTABLES to be invoked conditionally.
1817 # GCC_NO_EXECUTABLES
1821 # Yak. We must force CC and CXX to /not/ be precious variables; otherwise
1822 # the wrong, non-multilib-adjusted value will be used in multilibs.
1823 # As a side effect, we have to subst CFLAGS and CXXFLAGS ourselves.
1828 ac_cpp='$CPP $CPPFLAGS'
1829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1832 if test -n "$ac_tool_prefix"; then
1833 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1834 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1835 echo "$as_me:$LINENO: checking for $ac_word" >&5
1836 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1837 if test "${ac_cv_prog_CC+set}" = set; then
1838 echo $ECHO_N "(cached) $ECHO_C" >&6
1840 if test -n "$CC"; then
1841 ac_cv_prog_CC="$CC" # Let the user override the test.
1843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1847 test -z "$as_dir" && as_dir=.
1848 for ac_exec_ext in '' $ac_executable_extensions; do
1849 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1850 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1851 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1860 if test -n "$CC"; then
1861 echo "$as_me:$LINENO: result: $CC" >&5
1862 echo "${ECHO_T}$CC" >&6
1864 echo "$as_me:$LINENO: result: no" >&5
1865 echo "${ECHO_T}no" >&6
1869 if test -z "$ac_cv_prog_CC"; then
1871 # Extract the first word of "gcc", so it can be a program name with args.
1872 set dummy gcc; ac_word=$2
1873 echo "$as_me:$LINENO: checking for $ac_word" >&5
1874 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1875 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1876 echo $ECHO_N "(cached) $ECHO_C" >&6
1878 if test -n "$ac_ct_CC"; then
1879 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1885 test -z "$as_dir" && as_dir=.
1886 for ac_exec_ext in '' $ac_executable_extensions; do
1887 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1888 ac_cv_prog_ac_ct_CC="gcc"
1889 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1897 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1898 if test -n "$ac_ct_CC"; then
1899 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1900 echo "${ECHO_T}$ac_ct_CC" >&6
1902 echo "$as_me:$LINENO: result: no" >&5
1903 echo "${ECHO_T}no" >&6
1911 if test -z "$CC"; then
1912 if test -n "$ac_tool_prefix"; then
1913 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1914 set dummy ${ac_tool_prefix}cc; ac_word=$2
1915 echo "$as_me:$LINENO: checking for $ac_word" >&5
1916 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1917 if test "${ac_cv_prog_CC+set}" = set; then
1918 echo $ECHO_N "(cached) $ECHO_C" >&6
1920 if test -n "$CC"; then
1921 ac_cv_prog_CC="$CC" # Let the user override the test.
1923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1927 test -z "$as_dir" && as_dir=.
1928 for ac_exec_ext in '' $ac_executable_extensions; do
1929 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1930 ac_cv_prog_CC="${ac_tool_prefix}cc"
1931 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1940 if test -n "$CC"; then
1941 echo "$as_me:$LINENO: result: $CC" >&5
1942 echo "${ECHO_T}$CC" >&6
1944 echo "$as_me:$LINENO: result: no" >&5
1945 echo "${ECHO_T}no" >&6
1949 if test -z "$ac_cv_prog_CC"; then
1951 # Extract the first word of "cc", so it can be a program name with args.
1952 set dummy cc; ac_word=$2
1953 echo "$as_me:$LINENO: checking for $ac_word" >&5
1954 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1955 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1956 echo $ECHO_N "(cached) $ECHO_C" >&6
1958 if test -n "$ac_ct_CC"; then
1959 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1965 test -z "$as_dir" && as_dir=.
1966 for ac_exec_ext in '' $ac_executable_extensions; do
1967 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1968 ac_cv_prog_ac_ct_CC="cc"
1969 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1977 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1978 if test -n "$ac_ct_CC"; then
1979 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1980 echo "${ECHO_T}$ac_ct_CC" >&6
1982 echo "$as_me:$LINENO: result: no" >&5
1983 echo "${ECHO_T}no" >&6
1992 if test -z "$CC"; then
1993 # Extract the first word of "cc", so it can be a program name with args.
1994 set dummy cc; ac_word=$2
1995 echo "$as_me:$LINENO: checking for $ac_word" >&5
1996 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1997 if test "${ac_cv_prog_CC+set}" = set; then
1998 echo $ECHO_N "(cached) $ECHO_C" >&6
2000 if test -n "$CC"; then
2001 ac_cv_prog_CC="$CC" # Let the user override the test.
2004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2008 test -z "$as_dir" && as_dir=.
2009 for ac_exec_ext in '' $ac_executable_extensions; do
2010 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2011 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2012 ac_prog_rejected=yes
2016 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2022 if test $ac_prog_rejected = yes; then
2023 # We found a bogon in the path, so make sure we never use it.
2024 set dummy $ac_cv_prog_CC
2026 if test $# != 0; then
2027 # We chose a different compiler from the bogus one.
2028 # However, it has the same basename, so the bogon will be chosen
2029 # first if we set CC to just the basename; use the full file name.
2031 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2037 if test -n "$CC"; then
2038 echo "$as_me:$LINENO: result: $CC" >&5
2039 echo "${ECHO_T}$CC" >&6
2041 echo "$as_me:$LINENO: result: no" >&5
2042 echo "${ECHO_T}no" >&6
2046 if test -z "$CC"; then
2047 if test -n "$ac_tool_prefix"; then
2050 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2051 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2052 echo "$as_me:$LINENO: checking for $ac_word" >&5
2053 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2054 if test "${ac_cv_prog_CC+set}" = set; then
2055 echo $ECHO_N "(cached) $ECHO_C" >&6
2057 if test -n "$CC"; then
2058 ac_cv_prog_CC="$CC" # Let the user override the test.
2060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2064 test -z "$as_dir" && as_dir=.
2065 for ac_exec_ext in '' $ac_executable_extensions; do
2066 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2067 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2068 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2077 if test -n "$CC"; then
2078 echo "$as_me:$LINENO: result: $CC" >&5
2079 echo "${ECHO_T}$CC" >&6
2081 echo "$as_me:$LINENO: result: no" >&5
2082 echo "${ECHO_T}no" >&6
2085 test -n "$CC" && break
2088 if test -z "$CC"; then
2092 # Extract the first word of "$ac_prog", so it can be a program name with args.
2093 set dummy $ac_prog; ac_word=$2
2094 echo "$as_me:$LINENO: checking for $ac_word" >&5
2095 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2096 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2097 echo $ECHO_N "(cached) $ECHO_C" >&6
2099 if test -n "$ac_ct_CC"; then
2100 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2106 test -z "$as_dir" && as_dir=.
2107 for ac_exec_ext in '' $ac_executable_extensions; do
2108 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2109 ac_cv_prog_ac_ct_CC="$ac_prog"
2110 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2118 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2119 if test -n "$ac_ct_CC"; then
2120 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2121 echo "${ECHO_T}$ac_ct_CC" >&6
2123 echo "$as_me:$LINENO: result: no" >&5
2124 echo "${ECHO_T}no" >&6
2127 test -n "$ac_ct_CC" && break
2136 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2137 See \`config.log' for more details." >&5
2138 echo "$as_me: error: no acceptable C compiler found in \$PATH
2139 See \`config.log' for more details." >&2;}
2140 { (exit 1); exit 1; }; }
2142 # Provide some information about the compiler.
2143 echo "$as_me:$LINENO:" \
2144 "checking for C compiler version" >&5
2145 ac_compiler=`set X $ac_compile; echo $2`
2146 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2147 (eval $ac_compiler --version </dev/null >&5) 2>&5
2149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2150 (exit $ac_status); }
2151 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2152 (eval $ac_compiler -v </dev/null >&5) 2>&5
2154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2155 (exit $ac_status); }
2156 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2157 (eval $ac_compiler -V </dev/null >&5) 2>&5
2159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2160 (exit $ac_status); }
2162 cat >conftest.$ac_ext <<_ACEOF
2163 #line $LINENO "configure"
2166 cat confdefs.h >>conftest.$ac_ext
2167 cat >>conftest.$ac_ext <<_ACEOF
2168 /* end confdefs.h. */
2179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2180 (eval $ac_link) 2>&5
2182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2183 (exit $ac_status); }; then
2189 if test x$gcc_no_link = xyes; then
2190 # Setting cross_compile will disable run tests; it will
2191 # also disable AC_CHECK_FILE but that's generally
2192 # correct if we can't link.
2196 cat >conftest.$ac_ext <<_ACEOF
2197 #line $LINENO "configure"
2200 cat confdefs.h >>conftest.$ac_ext
2201 cat >>conftest.$ac_ext <<_ACEOF
2202 /* end confdefs.h. */
2212 ac_clean_files_save=$ac_clean_files
2213 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2214 # Try to create an executable without -o first, disregard a.out.
2215 # It will help us diagnose broken compilers, and finding out an intuition
2217 echo "$as_me:$LINENO: checking for C compiler default output" >&5
2218 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2219 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2220 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2221 (eval $ac_link_default) 2>&5
2223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2224 (exit $ac_status); }; then
2225 # Find the output, starting from the most likely. This scheme is
2226 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2229 # Be careful to initialize this variable, since it used to be cached.
2230 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2232 # b.out is created by i960 compilers.
2233 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2235 test -f "$ac_file" || continue
2237 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2240 # This is the source file.
2243 # We found the default executable, but exeext='' is most
2247 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2248 # FIXME: I believe we export ac_cv_exeext for Libtool,
2249 # but it would be cool to find out if it's true. Does anybody
2250 # maintain Libtool? --akim.
2258 echo "$as_me: failed program was:" >&5
2259 sed 's/^/| /' conftest.$ac_ext >&5
2261 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2262 See \`config.log' for more details." >&5
2263 echo "$as_me: error: C compiler cannot create executables
2264 See \`config.log' for more details." >&2;}
2265 { (exit 77); exit 77; }; }
2268 ac_exeext=$ac_cv_exeext
2269 echo "$as_me:$LINENO: result: $ac_file" >&5
2270 echo "${ECHO_T}$ac_file" >&6
2272 # Check the compiler produces executables we can run. If not, either
2273 # the compiler is broken, or we cross compile.
2274 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2275 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2276 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2277 # If not cross compiling, check that we can run a simple program.
2278 if test "$cross_compiling" != yes; then
2279 if { ac_try='./$ac_file'
2280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2284 (exit $ac_status); }; }; then
2287 if test "$cross_compiling" = maybe; then
2290 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2291 If you meant to cross compile, use \`--host'.
2292 See \`config.log' for more details." >&5
2293 echo "$as_me: error: cannot run C compiled programs.
2294 If you meant to cross compile, use \`--host'.
2295 See \`config.log' for more details." >&2;}
2296 { (exit 1); exit 1; }; }
2300 echo "$as_me:$LINENO: result: yes" >&5
2301 echo "${ECHO_T}yes" >&6
2303 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2304 ac_clean_files=$ac_clean_files_save
2305 # Check the compiler produces executables we can run. If not, either
2306 # the compiler is broken, or we cross compile.
2307 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2308 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2309 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2310 echo "${ECHO_T}$cross_compiling" >&6
2312 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2313 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2315 (eval $ac_link) 2>&5
2317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2318 (exit $ac_status); }; then
2319 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2320 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2321 # work properly (i.e., refer to `conftest.exe'), while it won't with
2323 for ac_file in conftest.exe conftest conftest.*; do
2324 test -f "$ac_file" || continue
2326 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2327 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2334 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2335 See \`config.log' for more details." >&5
2336 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2337 See \`config.log' for more details." >&2;}
2338 { (exit 1); exit 1; }; }
2341 rm -f conftest$ac_cv_exeext
2342 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2343 echo "${ECHO_T}$ac_cv_exeext" >&6
2345 rm -f conftest.$ac_ext
2346 EXEEXT=$ac_cv_exeext
2349 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2350 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2351 if test "${ac_cv_objext+set}" = set; then
2352 echo $ECHO_N "(cached) $ECHO_C" >&6
2354 cat >conftest.$ac_ext <<_ACEOF
2355 #line $LINENO "configure"
2358 cat confdefs.h >>conftest.$ac_ext
2359 cat >>conftest.$ac_ext <<_ACEOF
2360 /* end confdefs.h. */
2370 rm -f conftest.o conftest.obj
2371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2372 (eval $ac_compile) 2>&5
2374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2375 (exit $ac_status); }; then
2376 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2378 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2379 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2384 echo "$as_me: failed program was:" >&5
2385 sed 's/^/| /' conftest.$ac_ext >&5
2387 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2388 See \`config.log' for more details." >&5
2389 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2390 See \`config.log' for more details." >&2;}
2391 { (exit 1); exit 1; }; }
2394 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2396 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2397 echo "${ECHO_T}$ac_cv_objext" >&6
2398 OBJEXT=$ac_cv_objext
2400 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2401 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2402 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2403 echo $ECHO_N "(cached) $ECHO_C" >&6
2405 cat >conftest.$ac_ext <<_ACEOF
2406 #line $LINENO "configure"
2409 cat confdefs.h >>conftest.$ac_ext
2410 cat >>conftest.$ac_ext <<_ACEOF
2411 /* end confdefs.h. */
2424 rm -f conftest.$ac_objext
2425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2426 (eval $ac_compile) 2>&5
2428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2429 (exit $ac_status); } &&
2430 { ac_try='test -s conftest.$ac_objext'
2431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2435 (exit $ac_status); }; }; then
2438 echo "$as_me: failed program was:" >&5
2439 sed 's/^/| /' conftest.$ac_ext >&5
2443 rm -f conftest.$ac_objext conftest.$ac_ext
2444 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2447 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2448 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2449 GCC=`test $ac_compiler_gnu = yes && echo yes`
2450 ac_test_CFLAGS=${CFLAGS+set}
2451 ac_save_CFLAGS=$CFLAGS
2453 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2454 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2455 if test "${ac_cv_prog_cc_g+set}" = set; then
2456 echo $ECHO_N "(cached) $ECHO_C" >&6
2458 cat >conftest.$ac_ext <<_ACEOF
2459 #line $LINENO "configure"
2462 cat confdefs.h >>conftest.$ac_ext
2463 cat >>conftest.$ac_ext <<_ACEOF
2464 /* end confdefs.h. */
2474 rm -f conftest.$ac_objext
2475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2476 (eval $ac_compile) 2>&5
2478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2479 (exit $ac_status); } &&
2480 { ac_try='test -s conftest.$ac_objext'
2481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2485 (exit $ac_status); }; }; then
2488 echo "$as_me: failed program was:" >&5
2489 sed 's/^/| /' conftest.$ac_ext >&5
2493 rm -f conftest.$ac_objext conftest.$ac_ext
2495 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2496 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2497 if test "$ac_test_CFLAGS" = set; then
2498 CFLAGS=$ac_save_CFLAGS
2499 elif test $ac_cv_prog_cc_g = yes; then
2500 if test "$GCC" = yes; then
2506 if test "$GCC" = yes; then
2512 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2513 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2514 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2515 echo $ECHO_N "(cached) $ECHO_C" >&6
2517 ac_cv_prog_cc_stdc=no
2519 cat >conftest.$ac_ext <<_ACEOF
2520 #line $LINENO "configure"
2523 cat confdefs.h >>conftest.$ac_ext
2524 cat >>conftest.$ac_ext <<_ACEOF
2525 /* end confdefs.h. */
2528 #include <sys/types.h>
2529 #include <sys/stat.h>
2530 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2531 struct buf { int x; };
2532 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2533 static char *e (p, i)
2539 static char *f (char * (*g) (char **, int), char **p, ...)
2544 s = g (p, va_arg (v,int));
2548 int test (int i, double x);
2549 struct s1 {int (*f) (int a);};
2550 struct s2 {int (*f) (double a);};
2551 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2557 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2562 # Don't try gcc -ansi; that turns off useful extensions and
2563 # breaks some systems' header files.
2564 # AIX -qlanglvl=ansi
2565 # Ultrix and OSF/1 -std1
2566 # HP-UX 10.20 and later -Ae
2567 # HP-UX older versions -Aa -D_HPUX_SOURCE
2568 # SVR4 -Xc -D__EXTENSIONS__
2569 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2571 CC="$ac_save_CC $ac_arg"
2572 rm -f conftest.$ac_objext
2573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2574 (eval $ac_compile) 2>&5
2576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2577 (exit $ac_status); } &&
2578 { ac_try='test -s conftest.$ac_objext'
2579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2583 (exit $ac_status); }; }; then
2584 ac_cv_prog_cc_stdc=$ac_arg
2587 echo "$as_me: failed program was:" >&5
2588 sed 's/^/| /' conftest.$ac_ext >&5
2591 rm -f conftest.$ac_objext
2593 rm -f conftest.$ac_ext conftest.$ac_objext
2598 case "x$ac_cv_prog_cc_stdc" in
2600 echo "$as_me:$LINENO: result: none needed" >&5
2601 echo "${ECHO_T}none needed" >&6 ;;
2603 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2604 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2605 CC="$CC $ac_cv_prog_cc_stdc" ;;
2608 # Some people use a C++ compiler to compile C. Since we use `exit',
2609 # in C++ we need to declare it. In case someone uses the same compiler
2610 # for both compiling C and C++ we need to have the C++ compiler decide
2611 # the declaration of exit, since it's the most demanding environment.
2612 cat >conftest.$ac_ext <<_ACEOF
2617 rm -f conftest.$ac_objext
2618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2619 (eval $ac_compile) 2>&5
2621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2622 (exit $ac_status); } &&
2623 { ac_try='test -s conftest.$ac_objext'
2624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2628 (exit $ac_status); }; }; then
2629 for ac_declaration in \
2631 'extern "C" void std::exit (int) throw (); using std::exit;' \
2632 'extern "C" void std::exit (int); using std::exit;' \
2633 'extern "C" void exit (int) throw ();' \
2634 'extern "C" void exit (int);' \
2637 cat >conftest.$ac_ext <<_ACEOF
2638 #line $LINENO "configure"
2641 cat confdefs.h >>conftest.$ac_ext
2642 cat >>conftest.$ac_ext <<_ACEOF
2643 /* end confdefs.h. */
2654 rm -f conftest.$ac_objext
2655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2656 (eval $ac_compile) 2>&5
2658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2659 (exit $ac_status); } &&
2660 { ac_try='test -s conftest.$ac_objext'
2661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2665 (exit $ac_status); }; }; then
2668 echo "$as_me: failed program was:" >&5
2669 sed 's/^/| /' conftest.$ac_ext >&5
2673 rm -f conftest.$ac_objext conftest.$ac_ext
2674 cat >conftest.$ac_ext <<_ACEOF
2675 #line $LINENO "configure"
2678 cat confdefs.h >>conftest.$ac_ext
2679 cat >>conftest.$ac_ext <<_ACEOF
2680 /* end confdefs.h. */
2690 rm -f conftest.$ac_objext
2691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2692 (eval $ac_compile) 2>&5
2694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2695 (exit $ac_status); } &&
2696 { ac_try='test -s conftest.$ac_objext'
2697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2701 (exit $ac_status); }; }; then
2704 echo "$as_me: failed program was:" >&5
2705 sed 's/^/| /' conftest.$ac_ext >&5
2708 rm -f conftest.$ac_objext conftest.$ac_ext
2711 if test -n "$ac_declaration"; then
2712 echo '#ifdef __cplusplus' >>confdefs.h
2713 echo $ac_declaration >>confdefs.h
2714 echo '#endif' >>confdefs.h
2718 echo "$as_me: failed program was:" >&5
2719 sed 's/^/| /' conftest.$ac_ext >&5
2722 rm -f conftest.$ac_objext conftest.$ac_ext
2724 ac_cpp='$CPP $CPPFLAGS'
2725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2730 ac_cpp='$CXXCPP $CPPFLAGS'
2731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2734 if test -n "$ac_tool_prefix"; then
2735 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2737 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2738 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2739 echo "$as_me:$LINENO: checking for $ac_word" >&5
2740 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2741 if test "${ac_cv_prog_CXX+set}" = set; then
2742 echo $ECHO_N "(cached) $ECHO_C" >&6
2744 if test -n "$CXX"; then
2745 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2751 test -z "$as_dir" && as_dir=.
2752 for ac_exec_ext in '' $ac_executable_extensions; do
2753 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2754 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2755 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2764 if test -n "$CXX"; then
2765 echo "$as_me:$LINENO: result: $CXX" >&5
2766 echo "${ECHO_T}$CXX" >&6
2768 echo "$as_me:$LINENO: result: no" >&5
2769 echo "${ECHO_T}no" >&6
2772 test -n "$CXX" && break
2775 if test -z "$CXX"; then
2777 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2779 # Extract the first word of "$ac_prog", so it can be a program name with args.
2780 set dummy $ac_prog; ac_word=$2
2781 echo "$as_me:$LINENO: checking for $ac_word" >&5
2782 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2783 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2784 echo $ECHO_N "(cached) $ECHO_C" >&6
2786 if test -n "$ac_ct_CXX"; then
2787 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2793 test -z "$as_dir" && as_dir=.
2794 for ac_exec_ext in '' $ac_executable_extensions; do
2795 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2796 ac_cv_prog_ac_ct_CXX="$ac_prog"
2797 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2805 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2806 if test -n "$ac_ct_CXX"; then
2807 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2808 echo "${ECHO_T}$ac_ct_CXX" >&6
2810 echo "$as_me:$LINENO: result: no" >&5
2811 echo "${ECHO_T}no" >&6
2814 test -n "$ac_ct_CXX" && break
2816 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
2822 # Provide some information about the compiler.
2823 echo "$as_me:$LINENO:" \
2824 "checking for C++ compiler version" >&5
2825 ac_compiler=`set X $ac_compile; echo $2`
2826 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2827 (eval $ac_compiler --version </dev/null >&5) 2>&5
2829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2830 (exit $ac_status); }
2831 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2832 (eval $ac_compiler -v </dev/null >&5) 2>&5
2834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2835 (exit $ac_status); }
2836 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2837 (eval $ac_compiler -V </dev/null >&5) 2>&5
2839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2840 (exit $ac_status); }
2842 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2843 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2844 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2845 echo $ECHO_N "(cached) $ECHO_C" >&6
2847 cat >conftest.$ac_ext <<_ACEOF
2848 #line $LINENO "configure"
2851 cat confdefs.h >>conftest.$ac_ext
2852 cat >>conftest.$ac_ext <<_ACEOF
2853 /* end confdefs.h. */
2866 rm -f conftest.$ac_objext
2867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2868 (eval $ac_compile) 2>&5
2870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2871 (exit $ac_status); } &&
2872 { ac_try='test -s conftest.$ac_objext'
2873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2877 (exit $ac_status); }; }; then
2880 echo "$as_me: failed program was:" >&5
2881 sed 's/^/| /' conftest.$ac_ext >&5
2885 rm -f conftest.$ac_objext conftest.$ac_ext
2886 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2889 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2890 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2891 GXX=`test $ac_compiler_gnu = yes && echo yes`
2892 ac_test_CXXFLAGS=${CXXFLAGS+set}
2893 ac_save_CXXFLAGS=$CXXFLAGS
2895 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2896 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2897 if test "${ac_cv_prog_cxx_g+set}" = set; then
2898 echo $ECHO_N "(cached) $ECHO_C" >&6
2900 cat >conftest.$ac_ext <<_ACEOF
2901 #line $LINENO "configure"
2904 cat confdefs.h >>conftest.$ac_ext
2905 cat >>conftest.$ac_ext <<_ACEOF
2906 /* end confdefs.h. */
2916 rm -f conftest.$ac_objext
2917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2918 (eval $ac_compile) 2>&5
2920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2921 (exit $ac_status); } &&
2922 { ac_try='test -s conftest.$ac_objext'
2923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2927 (exit $ac_status); }; }; then
2928 ac_cv_prog_cxx_g=yes
2930 echo "$as_me: failed program was:" >&5
2931 sed 's/^/| /' conftest.$ac_ext >&5
2935 rm -f conftest.$ac_objext conftest.$ac_ext
2937 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2938 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2939 if test "$ac_test_CXXFLAGS" = set; then
2940 CXXFLAGS=$ac_save_CXXFLAGS
2941 elif test $ac_cv_prog_cxx_g = yes; then
2942 if test "$GXX" = yes; then
2948 if test "$GXX" = yes; then
2954 for ac_declaration in \
2956 'extern "C" void std::exit (int) throw (); using std::exit;' \
2957 'extern "C" void std::exit (int); using std::exit;' \
2958 'extern "C" void exit (int) throw ();' \
2959 'extern "C" void exit (int);' \
2962 cat >conftest.$ac_ext <<_ACEOF
2963 #line $LINENO "configure"
2966 cat confdefs.h >>conftest.$ac_ext
2967 cat >>conftest.$ac_ext <<_ACEOF
2968 /* end confdefs.h. */
2979 rm -f conftest.$ac_objext
2980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2981 (eval $ac_compile) 2>&5
2983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2984 (exit $ac_status); } &&
2985 { ac_try='test -s conftest.$ac_objext'
2986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2990 (exit $ac_status); }; }; then
2993 echo "$as_me: failed program was:" >&5
2994 sed 's/^/| /' conftest.$ac_ext >&5
2998 rm -f conftest.$ac_objext conftest.$ac_ext
2999 cat >conftest.$ac_ext <<_ACEOF
3000 #line $LINENO "configure"
3003 cat confdefs.h >>conftest.$ac_ext
3004 cat >>conftest.$ac_ext <<_ACEOF
3005 /* end confdefs.h. */
3015 rm -f conftest.$ac_objext
3016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3017 (eval $ac_compile) 2>&5
3019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3020 (exit $ac_status); } &&
3021 { ac_try='test -s conftest.$ac_objext'
3022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3026 (exit $ac_status); }; }; then
3029 echo "$as_me: failed program was:" >&5
3030 sed 's/^/| /' conftest.$ac_ext >&5
3033 rm -f conftest.$ac_objext conftest.$ac_ext
3036 if test -n "$ac_declaration"; then
3037 echo '#ifdef __cplusplus' >>confdefs.h
3038 echo $ac_declaration >>confdefs.h
3039 echo '#endif' >>confdefs.h
3043 ac_cpp='$CPP $CPPFLAGS'
3044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3053 if test -n "$ac_tool_prefix"; then
3054 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3055 set dummy ${ac_tool_prefix}as; ac_word=$2
3056 echo "$as_me:$LINENO: checking for $ac_word" >&5
3057 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3058 if test "${ac_cv_prog_AS+set}" = set; then
3059 echo $ECHO_N "(cached) $ECHO_C" >&6
3061 if test -n "$AS"; then
3062 ac_cv_prog_AS="$AS" # Let the user override the test.
3064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3068 test -z "$as_dir" && as_dir=.
3069 for ac_exec_ext in '' $ac_executable_extensions; do
3070 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3071 ac_cv_prog_AS="${ac_tool_prefix}as"
3072 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3081 if test -n "$AS"; then
3082 echo "$as_me:$LINENO: result: $AS" >&5
3083 echo "${ECHO_T}$AS" >&6
3085 echo "$as_me:$LINENO: result: no" >&5
3086 echo "${ECHO_T}no" >&6
3090 if test -z "$ac_cv_prog_AS"; then
3092 # Extract the first word of "as", so it can be a program name with args.
3093 set dummy as; ac_word=$2
3094 echo "$as_me:$LINENO: checking for $ac_word" >&5
3095 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3096 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3097 echo $ECHO_N "(cached) $ECHO_C" >&6
3099 if test -n "$ac_ct_AS"; then
3100 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3106 test -z "$as_dir" && as_dir=.
3107 for ac_exec_ext in '' $ac_executable_extensions; do
3108 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3109 ac_cv_prog_ac_ct_AS="as"
3110 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3118 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3119 if test -n "$ac_ct_AS"; then
3120 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3121 echo "${ECHO_T}$ac_ct_AS" >&6
3123 echo "$as_me:$LINENO: result: no" >&5
3124 echo "${ECHO_T}no" >&6
3132 if test -n "$ac_tool_prefix"; then
3133 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3134 set dummy ${ac_tool_prefix}ar; ac_word=$2
3135 echo "$as_me:$LINENO: checking for $ac_word" >&5
3136 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3137 if test "${ac_cv_prog_AR+set}" = set; then
3138 echo $ECHO_N "(cached) $ECHO_C" >&6
3140 if test -n "$AR"; then
3141 ac_cv_prog_AR="$AR" # Let the user override the test.
3143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3147 test -z "$as_dir" && as_dir=.
3148 for ac_exec_ext in '' $ac_executable_extensions; do
3149 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3150 ac_cv_prog_AR="${ac_tool_prefix}ar"
3151 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3160 if test -n "$AR"; then
3161 echo "$as_me:$LINENO: result: $AR" >&5
3162 echo "${ECHO_T}$AR" >&6
3164 echo "$as_me:$LINENO: result: no" >&5
3165 echo "${ECHO_T}no" >&6
3169 if test -z "$ac_cv_prog_AR"; then
3171 # Extract the first word of "ar", so it can be a program name with args.
3172 set dummy ar; ac_word=$2
3173 echo "$as_me:$LINENO: checking for $ac_word" >&5
3174 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3175 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3176 echo $ECHO_N "(cached) $ECHO_C" >&6
3178 if test -n "$ac_ct_AR"; then
3179 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3185 test -z "$as_dir" && as_dir=.
3186 for ac_exec_ext in '' $ac_executable_extensions; do
3187 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3188 ac_cv_prog_ac_ct_AR="ar"
3189 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3197 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3198 if test -n "$ac_ct_AR"; then
3199 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3200 echo "${ECHO_T}$ac_ct_AR" >&6
3202 echo "$as_me:$LINENO: result: no" >&5
3203 echo "${ECHO_T}no" >&6
3211 if test -n "$ac_tool_prefix"; then
3212 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3213 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3214 echo "$as_me:$LINENO: checking for $ac_word" >&5
3215 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3216 if test "${ac_cv_prog_RANLIB+set}" = set; then
3217 echo $ECHO_N "(cached) $ECHO_C" >&6
3219 if test -n "$RANLIB"; then
3220 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3226 test -z "$as_dir" && as_dir=.
3227 for ac_exec_ext in '' $ac_executable_extensions; do
3228 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3229 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3230 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3238 RANLIB=$ac_cv_prog_RANLIB
3239 if test -n "$RANLIB"; then
3240 echo "$as_me:$LINENO: result: $RANLIB" >&5
3241 echo "${ECHO_T}$RANLIB" >&6
3243 echo "$as_me:$LINENO: result: no" >&5
3244 echo "${ECHO_T}no" >&6
3248 if test -z "$ac_cv_prog_RANLIB"; then
3249 ac_ct_RANLIB=$RANLIB
3250 # Extract the first word of "ranlib", so it can be a program name with args.
3251 set dummy ranlib; ac_word=$2
3252 echo "$as_me:$LINENO: checking for $ac_word" >&5
3253 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3254 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3255 echo $ECHO_N "(cached) $ECHO_C" >&6
3257 if test -n "$ac_ct_RANLIB"; then
3258 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3264 test -z "$as_dir" && as_dir=.
3265 for ac_exec_ext in '' $ac_executable_extensions; do
3266 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3267 ac_cv_prog_ac_ct_RANLIB="ranlib"
3268 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3274 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3277 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3278 if test -n "$ac_ct_RANLIB"; then
3279 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3280 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3282 echo "$as_me:$LINENO: result: no" >&5
3283 echo "${ECHO_T}no" >&6
3286 RANLIB=$ac_ct_RANLIB
3288 RANLIB="$ac_cv_prog_RANLIB"
3292 # Find a good install program. We prefer a C program (faster),
3293 # so one script is as good as another. But avoid the broken or
3294 # incompatible versions:
3295 # SysV /etc/install, /usr/sbin/install
3296 # SunOS /usr/etc/install
3297 # IRIX /sbin/install
3299 # AmigaOS /C/install, which installs bootblocks on floppy discs
3300 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3301 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3302 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3303 # ./install, which can be erroneously created by make from ./install.sh.
3304 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3305 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3306 if test -z "$INSTALL"; then
3307 if test "${ac_cv_path_install+set}" = set; then
3308 echo $ECHO_N "(cached) $ECHO_C" >&6
3310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3314 test -z "$as_dir" && as_dir=.
3315 # Account for people who put trailing slashes in PATH elements.
3317 ./ | .// | /cC/* | \
3318 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3321 # OSF1 and SCO ODT 3.0 have their own names for install.
3322 # Don't use installbsd from OSF since it installs stuff as root
3324 for ac_prog in ginstall scoinst install; do
3325 for ac_exec_ext in '' $ac_executable_extensions; do
3326 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3327 if test $ac_prog = install &&
3328 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3329 # AIX install. It has an incompatible calling convention.
3331 elif test $ac_prog = install &&
3332 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3333 # program-specific install script used by HP pwplus--don't use.
3336 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3348 if test "${ac_cv_path_install+set}" = set; then
3349 INSTALL=$ac_cv_path_install
3351 # As a last resort, use the slow shell script. We don't cache a
3352 # path for INSTALL within a source directory, because that will
3353 # break other packages using the cache if that directory is
3354 # removed, or if the path is relative.
3355 INSTALL=$ac_install_sh
3358 echo "$as_me:$LINENO: result: $INSTALL" >&5
3359 echo "${ECHO_T}$INSTALL" >&6
3361 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3362 # It thinks the first close brace ends the variable substitution.
3363 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3365 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3367 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3370 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3371 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
3372 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3373 if test "${enable_maintainer_mode+set}" = set; then
3374 enableval="$enable_maintainer_mode"
3375 USE_MAINTAINER_MODE=$enableval
3377 USE_MAINTAINER_MODE=no
3379 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3380 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
3383 if test $USE_MAINTAINER_MODE = yes; then
3384 MAINTAINER_MODE_TRUE=
3385 MAINTAINER_MODE_FALSE='#'
3387 MAINTAINER_MODE_TRUE='#'
3388 MAINTAINER_MODE_FALSE=
3390 MAINT=$MAINTAINER_MODE_TRUE
3394 . ${srcdir}/configure.host
3396 case ${gc_basedir} in
3397 /* | A-Za-z:/\\*) gc_flagbasedir=${gc_basedir} ;;
3398 *) gc_flagbasedir='$(top_builddir)/'${gc_basedir} ;;
3401 gc_cflags="${gc_cflags} -I"'$(top_builddir)'"/./targ-include -I${gc_flagbasedir}/libc/include"
3404 gc_cflags="${gc_cflags} -I${gc_flagbasedir}/../winsup/include"
3409 GC_CFLAGS=${gc_cflags}
3412 # Check whether --enable-shared or --disable-shared was given.
3413 if test "${enable_shared+set}" = set; then
3414 enableval="$enable_shared"
3415 p=${PACKAGE-default}
3417 yes) enable_shared=yes ;;
3418 no) enable_shared=no ;;
3421 # Look at the argument we got. We use all the common list separators.
3422 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3423 for pkg in $enableval; do
3424 if test "X$pkg" = "X$p"; then
3434 # Check whether --enable-static or --disable-static was given.
3435 if test "${enable_static+set}" = set; then
3436 enableval="$enable_static"
3437 p=${PACKAGE-default}
3439 yes) enable_static=yes ;;
3440 no) enable_static=no ;;
3443 # Look at the argument we got. We use all the common list separators.
3444 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3445 for pkg in $enableval; do
3446 if test "X$pkg" = "X$p"; then
3456 # Check whether --enable-fast-install or --disable-fast-install was given.
3457 if test "${enable_fast_install+set}" = set; then
3458 enableval="$enable_fast_install"
3459 p=${PACKAGE-default}
3461 yes) enable_fast_install=yes ;;
3462 no) enable_fast_install=no ;;
3464 enable_fast_install=no
3465 # Look at the argument we got. We use all the common list separators.
3466 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3467 for pkg in $enableval; do
3468 if test "X$pkg" = "X$p"; then
3469 enable_fast_install=yes
3476 enable_fast_install=yes
3479 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3480 if test "${with_gnu_ld+set}" = set; then
3481 withval="$with_gnu_ld"
3482 test "$withval" = no || with_gnu_ld=yes
3487 if test "$GCC" = yes; then
3488 # Check if gcc -print-prog-name=ld gives a path.
3489 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3490 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3493 # gcc leaves a trailing carriage return which upsets mingw
3494 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3496 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3499 # Accept absolute paths.
3500 [\\/]* | [A-Za-z]:[\\/]*)
3501 re_direlt='/[^/][^/]*/\.\./'
3502 # Canonicalize the path of ld
3503 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3504 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3505 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3507 test -z "$LD" && LD="$ac_prog"
3510 # If it fails, then pretend we aren't using GCC.
3514 # If it is relative, then search for the first ld in PATH.
3518 elif test "$with_gnu_ld" = yes; then
3519 echo "$as_me:$LINENO: checking for GNU ld" >&5
3520 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3522 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3523 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3525 if test "${lt_cv_path_LD+set}" = set; then
3526 echo $ECHO_N "(cached) $ECHO_C" >&6
3528 if test -z "$LD"; then
3529 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3530 for ac_dir in $PATH; do
3531 test -z "$ac_dir" && ac_dir=.
3532 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3533 lt_cv_path_LD="$ac_dir/$ac_prog"
3534 # Check to see if the program is GNU ld. I'd rather use --version,
3535 # but apparently some GNU ld's only accept -v.
3536 # Break only if it was the GNU/non-GNU ld that we prefer.
3537 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3538 test "$with_gnu_ld" != no && break
3540 test "$with_gnu_ld" != yes && break
3546 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3551 if test -n "$LD"; then
3552 echo "$as_me:$LINENO: result: $LD" >&5
3553 echo "${ECHO_T}$LD" >&6
3555 echo "$as_me:$LINENO: result: no" >&5
3556 echo "${ECHO_T}no" >&6
3558 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3559 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3560 { (exit 1); exit 1; }; }
3561 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3562 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3563 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3564 echo $ECHO_N "(cached) $ECHO_C" >&6
3566 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3567 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3568 lt_cv_prog_gnu_ld=yes
3570 lt_cv_prog_gnu_ld=no
3573 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3574 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3575 with_gnu_ld=$lt_cv_prog_gnu_ld
3578 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3579 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3580 if test "${lt_cv_ld_reload_flag+set}" = set; then
3581 echo $ECHO_N "(cached) $ECHO_C" >&6
3583 lt_cv_ld_reload_flag='-r'
3585 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3586 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3587 reload_flag=$lt_cv_ld_reload_flag
3588 test -n "$reload_flag" && reload_flag=" $reload_flag"
3590 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3591 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3592 if test "${lt_cv_path_NM+set}" = set; then
3593 echo $ECHO_N "(cached) $ECHO_C" >&6
3595 if test -n "$NM"; then
3596 # Let the user override the test.
3599 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3600 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3601 test -z "$ac_dir" && ac_dir=.
3602 tmp_nm=$ac_dir/${ac_tool_prefix}nm
3603 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
3604 # Check to see if the nm accepts a BSD-compat flag.
3605 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3606 # nm: unknown option "B" ignored
3607 # Tru64's nm complains that /dev/null is an invalid object file
3608 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
3609 lt_cv_path_NM="$tmp_nm -B"
3611 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
3612 lt_cv_path_NM="$tmp_nm -p"
3615 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3616 continue # so that we can try to find one that supports BSD flags
3621 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3626 echo "$as_me:$LINENO: result: $NM" >&5
3627 echo "${ECHO_T}$NM" >&6
3629 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3630 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3632 if test "$LN_S" = "ln -s"; then
3633 echo "$as_me:$LINENO: result: yes" >&5
3634 echo "${ECHO_T}yes" >&6
3636 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3637 echo "${ECHO_T}no, using $LN_S" >&6
3640 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3641 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3642 if test "${lt_cv_deplibs_check_method+set}" = set; then
3643 echo $ECHO_N "(cached) $ECHO_C" >&6
3645 lt_cv_file_magic_cmd='$MAGIC_CMD'
3646 lt_cv_file_magic_test_file=
3647 lt_cv_deplibs_check_method='unknown'
3648 # Need to set the preceding variable on all platforms that support
3649 # interlibrary dependencies.
3650 # 'none' -- dependencies not supported.
3651 # `unknown' -- same as none, but documents that we really don't know.
3652 # 'pass_all' -- all dependencies passed with no checks.
3653 # 'test_compile' -- check by making test program.
3654 # 'file_magic [regex]' -- check by looking for files in library path
3655 # which responds to the $file_magic_cmd with a given egrep regex.
3656 # If you have `file' or equivalent on your system and you're not sure
3657 # whether `pass_all' will *always* work, you probably want this one.
3661 lt_cv_deplibs_check_method=pass_all
3665 lt_cv_deplibs_check_method=pass_all
3669 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3670 lt_cv_file_magic_cmd='/usr/bin/file -L'
3671 lt_cv_file_magic_test_file=/shlib/libc.so
3674 cygwin* | mingw* |pw32*)
3675 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3676 lt_cv_file_magic_cmd='$OBJDUMP -f'
3679 darwin* | rhapsody*)
3680 # this will be overwritten by pass_all, but leave it in just in case
3681 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
3682 lt_cv_file_magic_cmd='/usr/bin/file -L'
3684 rhapsody* | darwin1.012)
3685 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
3688 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
3691 lt_cv_deplibs_check_method=pass_all
3695 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3698 # Not sure whether the presence of OpenBSD here was a mistake.
3699 # Let's accept both of them until this is cleared up.
3700 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3701 lt_cv_file_magic_cmd=/usr/bin/file
3702 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3706 lt_cv_deplibs_check_method=pass_all
3711 lt_cv_deplibs_check_method=pass_all
3717 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3718 lt_cv_file_magic_cmd=/usr/bin/file
3719 lt_cv_file_magic_test_file=/usr/lib/libc.sl
3722 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3723 lt_cv_file_magic_cmd=/usr/bin/file
3724 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3732 # this will be overridden with pass_all, but let us keep it just in case
3733 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3737 *-32|*"-32 ") libmagic=32-bit;;
3738 *-n32|*"-n32 ") libmagic=N32;;
3739 *-64|*"-64 ") libmagic=64-bit;;
3740 *) libmagic=never-match;;
3742 # this will be overridden with pass_all, but let us keep it just in case
3743 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3746 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
3747 lt_cv_deplibs_check_method=pass_all
3750 # This must be Linux ELF.
3753 alpha* | mips* | hppa* | i*86 | powerpc* | sparc* | ia64* )
3754 lt_cv_deplibs_check_method=pass_all ;;
3756 # glibc up to 2.1.1 does not perform some relocations on ARM
3757 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
3759 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
3763 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3764 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3766 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
3771 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3772 lt_cv_file_magic_cmd=/usr/bin/file
3773 lt_cv_file_magic_test_file=/usr/lib/libnls.so
3776 osf3* | osf4* | osf5*)
3777 # this will be overridden with pass_all, but let us keep it just in case
3778 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
3779 lt_cv_file_magic_test_file=/shlib/libc.so
3780 lt_cv_deplibs_check_method=pass_all
3784 lt_cv_deplibs_check_method=pass_all
3788 lt_cv_deplibs_check_method=pass_all
3789 lt_cv_file_magic_test_file=/lib/libc.so
3792 sysv5uw[78]* | sysv4*uw2*)
3793 lt_cv_deplibs_check_method=pass_all
3796 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
3797 case $host_vendor in
3799 lt_cv_deplibs_check_method=pass_all
3802 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]'
3803 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
3810 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3811 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3812 file_magic_cmd=$lt_cv_file_magic_cmd
3813 deplibs_check_method=$lt_cv_deplibs_check_method
3819 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3821 # Only perform the check for file, if the check method requires it
3822 case $deplibs_check_method in
3824 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3825 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3826 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3827 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3828 echo $ECHO_N "(cached) $ECHO_C" >&6
3832 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3835 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
3838 ac_save_MAGIC_CMD="$MAGIC_CMD"
3839 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3840 ac_dummy="/usr/bin:$PATH"
3841 for ac_dir in $ac_dummy; do
3842 test -z "$ac_dir" && ac_dir=.
3843 if test -f $ac_dir/${ac_tool_prefix}file; then
3844 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
3845 if test -n "$file_magic_test_file"; then
3846 case $deplibs_check_method in
3848 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3849 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3850 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3851 egrep "$file_magic_regex" > /dev/null; then
3856 *** Warning: the command libtool uses to detect shared libraries,
3857 *** $file_magic_cmd, produces output that libtool cannot recognize.
3858 *** The result is that libtool may fail to recognize shared libraries
3859 *** as such. This will affect the creation of libtool libraries that
3860 *** depend on shared libraries, but programs linked with such libtool
3861 *** libraries will work regardless of this problem. Nevertheless, you
3862 *** may want to report the problem to your system manager and/or to
3863 *** bug-libtool@gnu.org
3873 MAGIC_CMD="$ac_save_MAGIC_CMD"
3878 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3879 if test -n "$MAGIC_CMD"; then
3880 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3881 echo "${ECHO_T}$MAGIC_CMD" >&6
3883 echo "$as_me:$LINENO: result: no" >&5
3884 echo "${ECHO_T}no" >&6
3887 if test -z "$lt_cv_path_MAGIC_CMD"; then
3888 if test -n "$ac_tool_prefix"; then
3889 echo "$as_me:$LINENO: checking for file" >&5
3890 echo $ECHO_N "checking for file... $ECHO_C" >&6
3891 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3892 echo $ECHO_N "(cached) $ECHO_C" >&6
3896 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3899 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
3902 ac_save_MAGIC_CMD="$MAGIC_CMD"
3903 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3904 ac_dummy="/usr/bin:$PATH"
3905 for ac_dir in $ac_dummy; do
3906 test -z "$ac_dir" && ac_dir=.
3907 if test -f $ac_dir/file; then
3908 lt_cv_path_MAGIC_CMD="$ac_dir/file"
3909 if test -n "$file_magic_test_file"; then
3910 case $deplibs_check_method in
3912 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3913 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3914 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3915 egrep "$file_magic_regex" > /dev/null; then
3920 *** Warning: the command libtool uses to detect shared libraries,
3921 *** $file_magic_cmd, produces output that libtool cannot recognize.
3922 *** The result is that libtool may fail to recognize shared libraries
3923 *** as such. This will affect the creation of libtool libraries that
3924 *** depend on shared libraries, but programs linked with such libtool
3925 *** libraries will work regardless of this problem. Nevertheless, you
3926 *** may want to report the problem to your system manager and/or to
3927 *** bug-libtool@gnu.org
3937 MAGIC_CMD="$ac_save_MAGIC_CMD"
3942 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3943 if test -n "$MAGIC_CMD"; then
3944 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3945 echo "${ECHO_T}$MAGIC_CMD" >&6
3947 echo "$as_me:$LINENO: result: no" >&5
3948 echo "${ECHO_T}no" >&6
3960 if test -n "$ac_tool_prefix"; then
3961 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3962 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3963 echo "$as_me:$LINENO: checking for $ac_word" >&5
3964 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3965 if test "${ac_cv_prog_RANLIB+set}" = set; then
3966 echo $ECHO_N "(cached) $ECHO_C" >&6
3968 if test -n "$RANLIB"; then
3969 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3975 test -z "$as_dir" && as_dir=.
3976 for ac_exec_ext in '' $ac_executable_extensions; do
3977 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3978 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3979 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3987 RANLIB=$ac_cv_prog_RANLIB
3988 if test -n "$RANLIB"; then
3989 echo "$as_me:$LINENO: result: $RANLIB" >&5
3990 echo "${ECHO_T}$RANLIB" >&6
3992 echo "$as_me:$LINENO: result: no" >&5
3993 echo "${ECHO_T}no" >&6
3997 if test -z "$ac_cv_prog_RANLIB"; then
3998 ac_ct_RANLIB=$RANLIB
3999 # Extract the first word of "ranlib", so it can be a program name with args.
4000 set dummy ranlib; ac_word=$2
4001 echo "$as_me:$LINENO: checking for $ac_word" >&5
4002 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4003 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4004 echo $ECHO_N "(cached) $ECHO_C" >&6
4006 if test -n "$ac_ct_RANLIB"; then
4007 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4013 test -z "$as_dir" && as_dir=.
4014 for ac_exec_ext in '' $ac_executable_extensions; do
4015 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4016 ac_cv_prog_ac_ct_RANLIB="ranlib"
4017 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4023 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4026 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4027 if test -n "$ac_ct_RANLIB"; then
4028 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4029 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4031 echo "$as_me:$LINENO: result: no" >&5
4032 echo "${ECHO_T}no" >&6
4035 RANLIB=$ac_ct_RANLIB
4037 RANLIB="$ac_cv_prog_RANLIB"
4040 if test -n "$ac_tool_prefix"; then
4041 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4042 set dummy ${ac_tool_prefix}strip; ac_word=$2
4043 echo "$as_me:$LINENO: checking for $ac_word" >&5
4044 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4045 if test "${ac_cv_prog_STRIP+set}" = set; then
4046 echo $ECHO_N "(cached) $ECHO_C" >&6
4048 if test -n "$STRIP"; then
4049 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4055 test -z "$as_dir" && as_dir=.
4056 for ac_exec_ext in '' $ac_executable_extensions; do
4057 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4058 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4059 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4067 STRIP=$ac_cv_prog_STRIP
4068 if test -n "$STRIP"; then
4069 echo "$as_me:$LINENO: result: $STRIP" >&5
4070 echo "${ECHO_T}$STRIP" >&6
4072 echo "$as_me:$LINENO: result: no" >&5
4073 echo "${ECHO_T}no" >&6
4077 if test -z "$ac_cv_prog_STRIP"; then
4079 # Extract the first word of "strip", so it can be a program name with args.
4080 set dummy strip; ac_word=$2
4081 echo "$as_me:$LINENO: checking for $ac_word" >&5
4082 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4083 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4084 echo $ECHO_N "(cached) $ECHO_C" >&6
4086 if test -n "$ac_ct_STRIP"; then
4087 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4093 test -z "$as_dir" && as_dir=.
4094 for ac_exec_ext in '' $ac_executable_extensions; do
4095 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4096 ac_cv_prog_ac_ct_STRIP="strip"
4097 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4103 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4106 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4107 if test -n "$ac_ct_STRIP"; then
4108 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4109 echo "${ECHO_T}$ac_ct_STRIP" >&6
4111 echo "$as_me:$LINENO: result: no" >&5
4112 echo "${ECHO_T}no" >&6
4117 STRIP="$ac_cv_prog_STRIP"
4121 # Check for any special flags to pass to ltconfig.
4122 libtool_flags="--cache-file=$cache_file"
4123 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4124 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4125 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4126 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4127 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4130 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4131 if test "${enable_libtool_lock+set}" = set; then
4132 enableval="$enable_libtool_lock"
4135 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4136 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4139 # Check whether --with-pic or --without-pic was given.
4140 if test "${with_pic+set}" = set; then
4146 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4147 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4149 # Some flags need to be propagated to the compiler or linker for good
4153 # Find out which ABI we are using.
4154 echo '#line 4154 "configure"' > conftest.$ac_ext
4155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4156 (eval $ac_compile) 2>&5
4158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4159 (exit $ac_status); }; then
4160 if test "$lt_cv_prog_gnu_ld" = yes; then
4161 case `/usr/bin/file conftest.$ac_objext` in
4163 LD="${LD-ld} -melf32bsmip"
4166 LD="${LD-ld} -melf32bmipn32"
4169 LD="${LD-ld} -melf64bmip"
4173 case `/usr/bin/file conftest.$ac_objext` in
4190 # Find out which ABI we are using.
4191 echo 'int i;' > conftest.$ac_ext
4192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4193 (eval $ac_compile) 2>&5
4195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4196 (exit $ac_status); }; then
4197 case "`/usr/bin/file conftest.o`" in
4209 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4210 # Find out which ABI we are using.
4211 echo 'int i;' > conftest.$ac_ext
4212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4213 (eval $ac_compile) 2>&5
4215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4216 (exit $ac_status); }; then
4217 case "`/usr/bin/file conftest.o`" in
4221 LD="${LD-ld} -m elf_i386"
4223 ppc64-*linux*|powerpc64-*linux*)
4224 LD="${LD-ld} -m elf32ppclinux"
4227 LD="${LD-ld} -m elf_s390"
4230 LD="${LD-ld} -m elf32_sparc"
4237 LD="${LD-ld} -m elf_x86_64"
4239 ppc*-*linux*|powerpc*-*linux*)
4240 LD="${LD-ld} -m elf64ppc"
4243 LD="${LD-ld} -m elf64_s390"
4246 LD="${LD-ld} -m elf64_sparc"
4256 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4257 SAVE_CFLAGS="$CFLAGS"
4258 CFLAGS="$CFLAGS -belf"
4259 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4260 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4261 if test "${lt_cv_cc_needs_belf+set}" = set; then
4262 echo $ECHO_N "(cached) $ECHO_C" >&6
4267 ac_cpp='$CPP $CPPFLAGS'
4268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4272 if test x$gcc_no_link = xyes; then
4273 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4274 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4275 { (exit 1); exit 1; }; }
4277 cat >conftest.$ac_ext <<_ACEOF
4278 #line $LINENO "configure"
4281 cat confdefs.h >>conftest.$ac_ext
4282 cat >>conftest.$ac_ext <<_ACEOF
4283 /* end confdefs.h. */
4293 rm -f conftest.$ac_objext conftest$ac_exeext
4294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4295 (eval $ac_link) 2>&5
4297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4298 (exit $ac_status); } &&
4299 { ac_try='test -s conftest$ac_exeext'
4300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4304 (exit $ac_status); }; }; then
4305 lt_cv_cc_needs_belf=yes
4307 echo "$as_me: failed program was:" >&5
4308 sed 's/^/| /' conftest.$ac_ext >&5
4310 lt_cv_cc_needs_belf=no
4312 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4314 ac_cpp='$CPP $CPPFLAGS'
4315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4320 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4321 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4322 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4323 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4324 CFLAGS="$SAVE_CFLAGS"
4332 # Save cache, so that ltconfig can load it
4333 cat >confcache <<\_ACEOF
4334 # This file is a shell script that caches the results of configure
4335 # tests run on this system so they can be shared between configure
4336 # scripts and configure runs, see configure's option --config-cache.
4337 # It is not useful on other systems. If it contains results you don't
4338 # want to keep, you may remove or edit it.
4340 # config.status only pays attention to the cache file if you give it
4341 # the --recheck option to rerun configure.
4343 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4344 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4349 # The following way of writing the cache mishandles newlines in values,
4350 # but we know of no workaround that is simple, portable, and efficient.
4351 # So, don't put newlines in cache variables' values.
4352 # Ultrix sh set writes to stderr and can't be redirected directly,
4353 # and sets the high bit in the cache file unless we assign to the vars.
4356 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4358 # `set' does not quote correctly, so add quotes (double-quote
4359 # substitution turns \\\\ into \\, and sed turns \\ into \).
4362 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4365 # `set' quotes correctly as required by POSIX, so do not add quotes.
4367 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4374 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4376 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4378 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4379 if test -w $cache_file; then
4380 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4381 cat confcache >$cache_file
4383 echo "not updating unwritable cache $cache_file"
4388 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4389 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4390 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4391 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4392 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4393 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4394 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4395 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4396 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4397 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4398 echo "$as_me: error: libtool configure failed" >&2;}
4399 { (exit 1); exit 1; }; }
4401 # Reload cache, that may have been modified by ltconfig
4402 if test -r "$cache_file"; then
4403 # Some versions of bash will fail to source /dev/null (special
4404 # files actually), so we avoid doing that.
4405 if test -f "$cache_file"; then
4406 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4407 echo "$as_me: loading cache $cache_file" >&6;}
4409 [\\/]* | ?:[\\/]* ) . $cache_file;;
4410 *) . ./$cache_file;;
4414 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4415 echo "$as_me: creating cache $cache_file" >&6;}
4420 # This can be used to rebuild libtool when needed
4421 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4423 # Always use our own libtool.
4424 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4426 # Redirect the config.log output again, so that the ltconfig log is not
4427 # clobbered by the next message.
4428 exec 5>>./config.log
4431 ac_cpp='$CXXCPP $CPPFLAGS'
4432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4435 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4436 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4437 if test -z "$CXXCPP"; then
4438 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4439 echo $ECHO_N "(cached) $ECHO_C" >&6
4441 # Double quotes because CXXCPP needs to be expanded
4442 for CXXCPP in "$CXX -E" "/lib/cpp"
4445 for ac_cxx_preproc_warn_flag in '' yes
4447 # Use a header file that comes with gcc, so configuring glibc
4448 # with a fresh cross-compiler works.
4449 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4450 # <limits.h> exists even on freestanding compilers.
4451 # On the NeXT, cc -E runs the code through the compiler's parser,
4452 # not just through cpp. "Syntax error" is here to catch this case.
4453 cat >conftest.$ac_ext <<_ACEOF
4454 #line $LINENO "configure"
4457 cat confdefs.h >>conftest.$ac_ext
4458 cat >>conftest.$ac_ext <<_ACEOF
4459 /* end confdefs.h. */
4461 # include <limits.h>
4463 # include <assert.h>
4467 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4468 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4470 grep -v '^ *+' conftest.er1 >conftest.err
4472 cat conftest.err >&5
4473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4474 (exit $ac_status); } >/dev/null; then
4475 if test -s conftest.err; then
4476 ac_cpp_err=$ac_cxx_preproc_warn_flag
4483 if test -z "$ac_cpp_err"; then
4486 echo "$as_me: failed program was:" >&5
4487 sed 's/^/| /' conftest.$ac_ext >&5
4489 # Broken: fails on valid input.
4492 rm -f conftest.err conftest.$ac_ext
4494 # OK, works on sane cases. Now check whether non-existent headers
4495 # can be detected and how.
4496 cat >conftest.$ac_ext <<_ACEOF
4497 #line $LINENO "configure"
4500 cat confdefs.h >>conftest.$ac_ext
4501 cat >>conftest.$ac_ext <<_ACEOF
4502 /* end confdefs.h. */
4503 #include <ac_nonexistent.h>
4505 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4506 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4508 grep -v '^ *+' conftest.er1 >conftest.err
4510 cat conftest.err >&5
4511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4512 (exit $ac_status); } >/dev/null; then
4513 if test -s conftest.err; then
4514 ac_cpp_err=$ac_cxx_preproc_warn_flag
4521 if test -z "$ac_cpp_err"; then
4522 # Broken: success on invalid input.
4525 echo "$as_me: failed program was:" >&5
4526 sed 's/^/| /' conftest.$ac_ext >&5
4528 # Passes both tests.
4532 rm -f conftest.err conftest.$ac_ext
4535 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4536 rm -f conftest.err conftest.$ac_ext
4537 if $ac_preproc_ok; then
4542 ac_cv_prog_CXXCPP=$CXXCPP
4545 CXXCPP=$ac_cv_prog_CXXCPP
4547 ac_cv_prog_CXXCPP=$CXXCPP
4549 echo "$as_me:$LINENO: result: $CXXCPP" >&5
4550 echo "${ECHO_T}$CXXCPP" >&6
4552 for ac_cxx_preproc_warn_flag in '' yes
4554 # Use a header file that comes with gcc, so configuring glibc
4555 # with a fresh cross-compiler works.
4556 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4557 # <limits.h> exists even on freestanding compilers.
4558 # On the NeXT, cc -E runs the code through the compiler's parser,
4559 # not just through cpp. "Syntax error" is here to catch this case.
4560 cat >conftest.$ac_ext <<_ACEOF
4561 #line $LINENO "configure"
4564 cat confdefs.h >>conftest.$ac_ext
4565 cat >>conftest.$ac_ext <<_ACEOF
4566 /* end confdefs.h. */
4568 # include <limits.h>
4570 # include <assert.h>
4574 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4575 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4577 grep -v '^ *+' conftest.er1 >conftest.err
4579 cat conftest.err >&5
4580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4581 (exit $ac_status); } >/dev/null; then
4582 if test -s conftest.err; then
4583 ac_cpp_err=$ac_cxx_preproc_warn_flag
4590 if test -z "$ac_cpp_err"; then
4593 echo "$as_me: failed program was:" >&5
4594 sed 's/^/| /' conftest.$ac_ext >&5
4596 # Broken: fails on valid input.
4599 rm -f conftest.err conftest.$ac_ext
4601 # OK, works on sane cases. Now check whether non-existent headers
4602 # can be detected and how.
4603 cat >conftest.$ac_ext <<_ACEOF
4604 #line $LINENO "configure"
4607 cat confdefs.h >>conftest.$ac_ext
4608 cat >>conftest.$ac_ext <<_ACEOF
4609 /* end confdefs.h. */
4610 #include <ac_nonexistent.h>
4612 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4613 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4615 grep -v '^ *+' conftest.er1 >conftest.err
4617 cat conftest.err >&5
4618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4619 (exit $ac_status); } >/dev/null; then
4620 if test -s conftest.err; then
4621 ac_cpp_err=$ac_cxx_preproc_warn_flag
4628 if test -z "$ac_cpp_err"; then
4629 # Broken: success on invalid input.
4632 echo "$as_me: failed program was:" >&5
4633 sed 's/^/| /' conftest.$ac_ext >&5
4635 # Passes both tests.
4639 rm -f conftest.err conftest.$ac_ext
4642 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4643 rm -f conftest.err conftest.$ac_ext
4644 if $ac_preproc_ok; then
4647 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4648 See \`config.log' for more details." >&5
4649 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4650 See \`config.log' for more details." >&2;}
4651 { (exit 1); exit 1; }; }
4655 ac_cpp='$CPP $CPPFLAGS'
4656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4662 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
4664 lt_save_CFLAGS="$CFLAGS"
4665 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
4666 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4667 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4668 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4669 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4670 deplibs_check_method="$deplibs_check_method" \
4671 file_magic_cmd="$file_magic_cmd" \
4672 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
4673 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
4674 || { { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
4675 echo "$as_me: error: libtool tag configuration failed" >&2;}
4676 { (exit 1); exit 1; }; }
4678 CFLAGS="$lt_save_CFLAGS"
4680 # Redirect the config.log output again, so that the ltconfig log is not
4681 # clobbered by the next message.
4682 exec 5>>./config.log
4691 # Check whether --with-target-subdir or --without-target-subdir was given.
4692 if test "${with_target_subdir+set}" = set; then
4693 withval="$with_target_subdir"
4697 # Check whether --with-cross-host or --without-cross-host was given.
4698 if test "${with_cross_host+set}" = set; then
4699 withval="$with_cross_host"
4703 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
4704 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
4705 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
4706 if test "${enable_maintainer_mode+set}" = set; then
4707 enableval="$enable_maintainer_mode"
4708 USE_MAINTAINER_MODE=$enableval
4710 USE_MAINTAINER_MODE=no
4712 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
4713 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
4716 if test $USE_MAINTAINER_MODE = yes; then
4717 MAINTAINER_MODE_TRUE=
4718 MAINTAINER_MODE_FALSE='#'
4720 MAINTAINER_MODE_TRUE='#'
4721 MAINTAINER_MODE_FALSE=
4723 MAINT=$MAINTAINER_MODE_TRUE
4727 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
4728 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
4729 THREADS=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
4730 if test -z "$THREADS"; then
4733 echo "$as_me:$LINENO: result: $THREADS" >&5
4734 echo "${ECHO_T}$THREADS" >&6
4736 # Check whether --enable-parallel-mark or --disable-parallel-mark was given.
4737 if test "${enable_parallel_mark+set}" = set; then
4738 enableval="$enable_parallel_mark"
4741 { { echo "$as_me:$LINENO: error: Parallel mark requires --enable-threads=x spec" >&5
4742 echo "$as_me: error: Parallel mark requires --enable-threads=x spec" >&2;}
4743 { (exit 1); exit 1; }; }
4749 INCLUDES="-I`cd $srcdir && ${PWDCMD-pwd}`/include"
4757 THREADLIBS=-lpthread
4759 x86-*-linux* | ia64-*-linux* | i586-*-linux* | i686-*-linux* | x86_64-*-linux* | alpha-*-linux*)
4760 cat >>confdefs.h <<\_ACEOF
4761 #define GC_LINUX_THREADS 1
4764 cat >>confdefs.h <<\_ACEOF
4765 #define _REENTRANT 1
4768 if test "${enable_parallel_mark}" = yes; then
4769 cat >>confdefs.h <<\_ACEOF
4770 #define PARALLEL_MARK 1
4774 cat >>confdefs.h <<\_ACEOF
4775 #define THREAD_LOCAL_ALLOC 1
4780 cat >>confdefs.h <<\_ACEOF
4781 #define GC_LINUX_THREADS 1
4784 cat >>confdefs.h <<\_ACEOF
4785 #define _REENTRANT 1
4790 cat >>confdefs.h <<\_ACEOF
4791 #define GC_AIX_THREADS 1
4794 cat >>confdefs.h <<\_ACEOF
4795 #define _REENTRANT 1
4800 { echo "$as_me:$LINENO: WARNING: \"Only HP/UX 11 threads are supported.\"" >&5
4801 echo "$as_me: WARNING: \"Only HP/UX 11 threads are supported.\"" >&2;}
4802 cat >>confdefs.h <<\_ACEOF
4803 #define GC_HPUX_THREADS 1
4806 cat >>confdefs.h <<\_ACEOF
4807 #define _POSIX_C_SOURCE 199506L
4810 if test "${enable_parallel_mark}" = yes; then
4811 cat >>confdefs.h <<\_ACEOF
4812 #define PARALLEL_MARK 1
4816 cat >>confdefs.h <<\_ACEOF
4817 #define THREAD_LOCAL_ALLOC 1
4820 THREADLIBS="-lpthread -lrt"
4823 { echo "$as_me:$LINENO: WARNING: \"FreeBSD does not yet fully support threads with Boehm GC.\"" >&5
4824 echo "$as_me: WARNING: \"FreeBSD does not yet fully support threads with Boehm GC.\"" >&2;}
4825 cat >>confdefs.h <<\_ACEOF
4826 #define GC_FREEBSD_THREADS 1
4829 INCLUDES="$INCLUDES -pthread"
4833 cat >>confdefs.h <<\_ACEOF
4834 #define GC_SOLARIS_THREADS 1
4837 cat >>confdefs.h <<\_ACEOF
4838 #define GC_SOLARIS_PTHREADS 1
4843 cat >>confdefs.h <<\_ACEOF
4844 #define GC_IRIX_THREADS 1
4849 cat >>confdefs.h <<\_ACEOF
4850 #define GC_WIN32_THREADS 1
4855 cat >>confdefs.h <<\_ACEOF
4856 #define GC_DARWIN_THREADS 1
4859 cat >>confdefs.h <<\_ACEOF
4860 #define THREAD_LOCAL_ALLOC 1
4863 if test "${enable_parallel_mark}" = yes; then
4864 cat >>confdefs.h <<\_ACEOF
4865 #define PARALLEL_MARK 1
4871 cat >>confdefs.h <<\_ACEOF
4872 #define GC_OSF1_THREADS 1
4875 if test "${enable_parallel_mark}" = yes; then
4876 cat >>confdefs.h <<\_ACEOF
4877 #define PARALLEL_MARK 1
4880 cat >>confdefs.h <<\_ACEOF
4881 #define THREAD_LOCAL_ALLOC 1
4884 # May want to enable it in other cases, too.
4885 # Measurements havent yet been done.
4887 INCLUDES="$INCLUDES -pthread"
4888 THREADLIBS="-lpthread -lrt"
4893 cat >>confdefs.h <<\_ACEOF
4894 #define GC_WIN32_THREADS 1
4900 echo "$as_me:$LINENO: result: $THREADLIBS" >&5
4901 echo "${ECHO_T}$THREADLIBS" >&6
4902 # Use pthread GCC switch
4904 if test "${enable_parallel_mark}" = yes; then
4905 cat >>confdefs.h <<\_ACEOF
4906 #define PARALLEL_MARK 1
4910 cat >>confdefs.h <<\_ACEOF
4911 #define THREAD_LOCAL_ALLOC 1
4914 cat >>confdefs.h <<\_ACEOF
4915 #define GC_DGUX386_THREADS 1
4918 cat >>confdefs.h <<\_ACEOF
4919 #define DGUX_THREADS 1
4922 # Enable _POSIX4A_DRAFT10_SOURCE with flag -pthread
4923 INCLUDES="-pthread $INCLUDES"
4927 THREADLIBS=-lpthread
4928 cat >>confdefs.h <<\_ACEOF
4929 #define GC_AIX_THREADS 1
4932 cat >>confdefs.h <<\_ACEOF
4933 #define _REENTRANT 1
4937 decosf1 | irix | mach | os2 | solaris | dce | vxworks)
4938 { { echo "$as_me:$LINENO: error: thread package $THREADS not yet supported" >&5
4939 echo "$as_me: error: thread package $THREADS not yet supported" >&2;}
4940 { (exit 1); exit 1; }; }
4943 { { echo "$as_me:$LINENO: error: $THREADS is an unknown thread package" >&5
4944 echo "$as_me: error: $THREADS is an unknown thread package" >&2;}
4945 { (exit 1); exit 1; }; }
4957 if test x$powerpc_darwin = xtrue; then
4958 POWERPC_DARWIN_TRUE=
4959 POWERPC_DARWIN_FALSE='#'
4961 POWERPC_DARWIN_TRUE='#'
4962 POWERPC_DARWIN_FALSE=
4965 # We never want libdl on darwin. It is a fake libdl that just ends up making
4970 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
4971 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
4972 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
4973 echo $ECHO_N "(cached) $ECHO_C" >&6
4975 ac_check_lib_save_LIBS=$LIBS
4977 if test x$gcc_no_link = xyes; then
4978 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4979 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4980 { (exit 1); exit 1; }; }
4982 cat >conftest.$ac_ext <<_ACEOF
4983 #line $LINENO "configure"
4986 cat confdefs.h >>conftest.$ac_ext
4987 cat >>conftest.$ac_ext <<_ACEOF
4988 /* end confdefs.h. */
4990 /* Override any gcc2 internal prototype to avoid an error. */
4994 /* We use char because int might match the return type of a gcc2
4995 builtin and then its argument prototype would still apply. */
5005 rm -f conftest.$ac_objext conftest$ac_exeext
5006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5007 (eval $ac_link) 2>&5
5009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5010 (exit $ac_status); } &&
5011 { ac_try='test -s conftest$ac_exeext'
5012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5016 (exit $ac_status); }; }; then
5017 ac_cv_lib_dl_dlopen=yes
5019 echo "$as_me: failed program was:" >&5
5020 sed 's/^/| /' conftest.$ac_ext >&5
5022 ac_cv_lib_dl_dlopen=no
5024 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5025 LIBS=$ac_check_lib_save_LIBS
5027 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
5028 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
5029 if test $ac_cv_lib_dl_dlopen = yes; then
5030 EXTRA_TEST_LIBS="$EXTRA_TEST_LIBS -ldl"
5038 target_all=libgcjgc.la
5044 # Check whether --with-ecos or --without-ecos was given.
5045 if test "${with_ecos+set}" = set; then
5046 withval="$with_ecos"
5047 TARGET_ECOS="$with_ecos"
5056 case "$TARGET_ECOS" in
5060 cat >>confdefs.h <<\_ACEOF
5064 CXXINCLUDES="-I${TARGET_ECOS}/include"
5065 addobjs="$addobjs ecos.lo"
5069 if test "${enable_cplusplus}" = yes; then
5070 addincludes="$addincludes include/gc_cpp.h include/gc_allocator.h"
5071 addtests="$addtests test_cpp"
5076 if test "${enable_cplusplus}" = yes; then
5089 # Configuration of shared libraries
5091 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
5092 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
5093 # Check whether --enable-shared or --disable-shared was given.
5094 if test "${enable_shared+set}" = set; then
5095 enableval="$enable_shared"
5096 p=${PACKAGE-default}
5098 yes) enable_shared=yes ;;
5099 no) enable_shared=no ;;
5102 # Look at the argument we got. We use all the common list separators.
5103 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
5104 for pkg in $enableval; do
5105 if test "X$pkg" = "X$p"; then
5119 echo "$as_me:$LINENO: result: no" >&5
5120 echo "${ECHO_T}no" >&6
5123 echo "$as_me:$LINENO: result: yes" >&5
5124 echo "${ECHO_T}yes" >&6
5128 # Configuration of machine-dependent code
5130 # We don't set NO_EXECUTE_PERMISSION by default because gcj (and
5131 # anything else that creates trampolines in gc-allocated memory)
5132 # always needs exec permission. The exceptions to this are IA-64 and
5133 # some variations of Power PC, where trampolines don't contain
5136 echo "$as_me:$LINENO: checking which machine-dependent code should be used" >&5
5137 echo $ECHO_N "checking which machine-dependent code should be used... $ECHO_C" >&6
5141 machdep="alpha_mach_dep.lo"
5142 if test x"${ac_cv_lib_dl_dlopen}" != xyes ; then
5143 { echo "$as_me:$LINENO: WARNING: OpenBSD/Alpha without dlopen(). Shared library support is disabled" >&5
5144 echo "$as_me: WARNING: OpenBSD/Alpha without dlopen(). Shared library support is disabled" >&2;}
5148 machdep="alpha_mach_dep.lo"
5150 i?86-*-solaris2.[89] | i?86-*-solaris2.1?)
5151 cat >>confdefs.h <<\_ACEOF
5152 #define SOLARIS25_PROC_VDB_BUG_FIXED 1
5157 machdep="mips_ultrix_mach_dep.lo"
5158 cat >>confdefs.h <<\_ACEOF
5159 #define STACKBASE __stackbase
5162 cat >>confdefs.h <<\_ACEOF
5163 #define DATASTART_IS_ETEXT 1
5168 machdep="mips_ultrix_mach-dep.lo"
5170 mips-nec-sysv*|mips-unknown-sysv*)
5175 machdep="mips_sgi_mach_dep.lo"
5178 machdep="sparc_netbsd_mach_dep.lo"
5180 sparc-sun-solaris2.3)
5181 machdep="sparc_mach_dep.lo"
5182 cat >>confdefs.h <<\_ACEOF
5183 #define SUNOS53_SHARED_LIB 1
5187 sparc-sun-solaris2.*)
5188 machdep="sparc_mach_dep.lo"
5191 cat >>confdefs.h <<\_ACEOF
5192 #define NO_EXECUTE_PERMISSION 1
5195 machdep="mach_dep.lo ia64_save_regs_in_stack.lo"
5198 if test x"$machdep" = x; then
5199 echo "$as_me:$LINENO: result: $machdep" >&5
5200 echo "${ECHO_T}$machdep" >&6
5201 machdep="mach_dep.lo"
5203 addobjs="$addobjs $machdep"
5216 # Check for AViiON Machines running DGUX
5218 echo "$as_me:$LINENO: checking if host is AViiON running DGUX" >&5
5219 echo $ECHO_N "checking if host is AViiON running DGUX... $ECHO_C" >&6
5222 ac_cpp='$CPP $CPPFLAGS'
5223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5226 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5227 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5228 # On Suns, sometimes $CPP names a directory.
5229 if test -n "$CPP" && test -d "$CPP"; then
5232 if test -z "$CPP"; then
5233 if test "${ac_cv_prog_CPP+set}" = set; then
5234 echo $ECHO_N "(cached) $ECHO_C" >&6
5236 # Double quotes because CPP needs to be expanded
5237 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5240 for ac_c_preproc_warn_flag in '' yes
5242 # Use a header file that comes with gcc, so configuring glibc
5243 # with a fresh cross-compiler works.
5244 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5245 # <limits.h> exists even on freestanding compilers.
5246 # On the NeXT, cc -E runs the code through the compiler's parser,
5247 # not just through cpp. "Syntax error" is here to catch this case.
5248 cat >conftest.$ac_ext <<_ACEOF
5249 #line $LINENO "configure"
5252 cat confdefs.h >>conftest.$ac_ext
5253 cat >>conftest.$ac_ext <<_ACEOF
5254 /* end confdefs.h. */
5256 # include <limits.h>
5258 # include <assert.h>
5262 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5263 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5265 grep -v '^ *+' conftest.er1 >conftest.err
5267 cat conftest.err >&5
5268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5269 (exit $ac_status); } >/dev/null; then
5270 if test -s conftest.err; then
5271 ac_cpp_err=$ac_c_preproc_warn_flag
5278 if test -z "$ac_cpp_err"; then
5281 echo "$as_me: failed program was:" >&5
5282 sed 's/^/| /' conftest.$ac_ext >&5
5284 # Broken: fails on valid input.
5287 rm -f conftest.err conftest.$ac_ext
5289 # OK, works on sane cases. Now check whether non-existent headers
5290 # can be detected and how.
5291 cat >conftest.$ac_ext <<_ACEOF
5292 #line $LINENO "configure"
5295 cat confdefs.h >>conftest.$ac_ext
5296 cat >>conftest.$ac_ext <<_ACEOF
5297 /* end confdefs.h. */
5298 #include <ac_nonexistent.h>
5300 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5301 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5303 grep -v '^ *+' conftest.er1 >conftest.err
5305 cat conftest.err >&5
5306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5307 (exit $ac_status); } >/dev/null; then
5308 if test -s conftest.err; then
5309 ac_cpp_err=$ac_c_preproc_warn_flag
5316 if test -z "$ac_cpp_err"; then
5317 # Broken: success on invalid input.
5320 echo "$as_me: failed program was:" >&5
5321 sed 's/^/| /' conftest.$ac_ext >&5
5323 # Passes both tests.
5327 rm -f conftest.err conftest.$ac_ext
5330 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5331 rm -f conftest.err conftest.$ac_ext
5332 if $ac_preproc_ok; then
5344 echo "$as_me:$LINENO: result: $CPP" >&5
5345 echo "${ECHO_T}$CPP" >&6
5347 for ac_c_preproc_warn_flag in '' yes
5349 # Use a header file that comes with gcc, so configuring glibc
5350 # with a fresh cross-compiler works.
5351 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5352 # <limits.h> exists even on freestanding compilers.
5353 # On the NeXT, cc -E runs the code through the compiler's parser,
5354 # not just through cpp. "Syntax error" is here to catch this case.
5355 cat >conftest.$ac_ext <<_ACEOF
5356 #line $LINENO "configure"
5359 cat confdefs.h >>conftest.$ac_ext
5360 cat >>conftest.$ac_ext <<_ACEOF
5361 /* end confdefs.h. */
5363 # include <limits.h>
5365 # include <assert.h>
5369 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5370 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5372 grep -v '^ *+' conftest.er1 >conftest.err
5374 cat conftest.err >&5
5375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5376 (exit $ac_status); } >/dev/null; then
5377 if test -s conftest.err; then
5378 ac_cpp_err=$ac_c_preproc_warn_flag
5385 if test -z "$ac_cpp_err"; then
5388 echo "$as_me: failed program was:" >&5
5389 sed 's/^/| /' conftest.$ac_ext >&5
5391 # Broken: fails on valid input.
5394 rm -f conftest.err conftest.$ac_ext
5396 # OK, works on sane cases. Now check whether non-existent headers
5397 # can be detected and how.
5398 cat >conftest.$ac_ext <<_ACEOF
5399 #line $LINENO "configure"
5402 cat confdefs.h >>conftest.$ac_ext
5403 cat >>conftest.$ac_ext <<_ACEOF
5404 /* end confdefs.h. */
5405 #include <ac_nonexistent.h>
5407 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5408 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5410 grep -v '^ *+' conftest.er1 >conftest.err
5412 cat conftest.err >&5
5413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5414 (exit $ac_status); } >/dev/null; then
5415 if test -s conftest.err; then
5416 ac_cpp_err=$ac_c_preproc_warn_flag
5423 if test -z "$ac_cpp_err"; then
5424 # Broken: success on invalid input.
5427 echo "$as_me: failed program was:" >&5
5428 sed 's/^/| /' conftest.$ac_ext >&5
5430 # Passes both tests.
5434 rm -f conftest.err conftest.$ac_ext
5437 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5438 rm -f conftest.err conftest.$ac_ext
5439 if $ac_preproc_ok; then
5442 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5443 See \`config.log' for more details." >&5
5444 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5445 See \`config.log' for more details." >&2;}
5446 { (exit 1); exit 1; }; }
5450 ac_cpp='$CPP $CPPFLAGS'
5451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5456 echo "$as_me:$LINENO: checking for egrep" >&5
5457 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5458 if test "${ac_cv_prog_egrep+set}" = set; then
5459 echo $ECHO_N "(cached) $ECHO_C" >&6
5461 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5462 then ac_cv_prog_egrep='grep -E'
5463 else ac_cv_prog_egrep='egrep'
5466 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5467 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5468 EGREP=$ac_cv_prog_egrep
5471 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5472 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5473 if test "${ac_cv_header_stdc+set}" = set; then
5474 echo $ECHO_N "(cached) $ECHO_C" >&6
5476 cat >conftest.$ac_ext <<_ACEOF
5477 #line $LINENO "configure"
5480 cat confdefs.h >>conftest.$ac_ext
5481 cat >>conftest.$ac_ext <<_ACEOF
5482 /* end confdefs.h. */
5496 rm -f conftest.$ac_objext
5497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5498 (eval $ac_compile) 2>&5
5500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5501 (exit $ac_status); } &&
5502 { ac_try='test -s conftest.$ac_objext'
5503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5507 (exit $ac_status); }; }; then
5508 ac_cv_header_stdc=yes
5510 echo "$as_me: failed program was:" >&5
5511 sed 's/^/| /' conftest.$ac_ext >&5
5513 ac_cv_header_stdc=no
5515 rm -f conftest.$ac_objext conftest.$ac_ext
5517 if test $ac_cv_header_stdc = yes; then
5518 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5519 cat >conftest.$ac_ext <<_ACEOF
5520 #line $LINENO "configure"
5523 cat confdefs.h >>conftest.$ac_ext
5524 cat >>conftest.$ac_ext <<_ACEOF
5525 /* end confdefs.h. */
5529 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5530 $EGREP "memchr" >/dev/null 2>&1; then
5533 ac_cv_header_stdc=no
5539 if test $ac_cv_header_stdc = yes; then
5540 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5541 cat >conftest.$ac_ext <<_ACEOF
5542 #line $LINENO "configure"
5545 cat confdefs.h >>conftest.$ac_ext
5546 cat >>conftest.$ac_ext <<_ACEOF
5547 /* end confdefs.h. */
5551 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5552 $EGREP "free" >/dev/null 2>&1; then
5555 ac_cv_header_stdc=no
5561 if test $ac_cv_header_stdc = yes; then
5562 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5563 if test "$cross_compiling" = yes; then
5566 cat >conftest.$ac_ext <<_ACEOF
5567 #line $LINENO "configure"
5570 cat confdefs.h >>conftest.$ac_ext
5571 cat >>conftest.$ac_ext <<_ACEOF
5572 /* end confdefs.h. */
5574 #if ((' ' & 0x0FF) == 0x020)
5575 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5576 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5578 # define ISLOWER(c) \
5579 (('a' <= (c) && (c) <= 'i') \
5580 || ('j' <= (c) && (c) <= 'r') \
5581 || ('s' <= (c) && (c) <= 'z'))
5582 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5585 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5590 for (i = 0; i < 256; i++)
5591 if (XOR (islower (i), ISLOWER (i))
5592 || toupper (i) != TOUPPER (i))
5597 rm -f conftest$ac_exeext
5598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5599 (eval $ac_link) 2>&5
5601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5602 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5607 (exit $ac_status); }; }; then
5610 echo "$as_me: program exited with status $ac_status" >&5
5611 echo "$as_me: failed program was:" >&5
5612 sed 's/^/| /' conftest.$ac_ext >&5
5615 ac_cv_header_stdc=no
5617 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5621 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5622 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5623 if test $ac_cv_header_stdc = yes; then
5625 cat >>confdefs.h <<\_ACEOF
5626 #define STDC_HEADERS 1
5631 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5641 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5642 inttypes.h stdint.h unistd.h
5644 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5645 echo "$as_me:$LINENO: checking for $ac_header" >&5
5646 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5647 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5648 echo $ECHO_N "(cached) $ECHO_C" >&6
5650 cat >conftest.$ac_ext <<_ACEOF
5651 #line $LINENO "configure"
5654 cat confdefs.h >>conftest.$ac_ext
5655 cat >>conftest.$ac_ext <<_ACEOF
5656 /* end confdefs.h. */
5657 $ac_includes_default
5659 #include <$ac_header>
5661 rm -f conftest.$ac_objext
5662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5663 (eval $ac_compile) 2>&5
5665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5666 (exit $ac_status); } &&
5667 { ac_try='test -s conftest.$ac_objext'
5668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5672 (exit $ac_status); }; }; then
5673 eval "$as_ac_Header=yes"
5675 echo "$as_me: failed program was:" >&5
5676 sed 's/^/| /' conftest.$ac_ext >&5
5678 eval "$as_ac_Header=no"
5680 rm -f conftest.$ac_objext conftest.$ac_ext
5682 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5683 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5684 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5685 cat >>confdefs.h <<_ACEOF
5686 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5694 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
5695 echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5
5696 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6
5697 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
5698 echo $ECHO_N "(cached) $ECHO_C" >&6
5700 echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5
5701 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6
5703 # Is the header compilable?
5704 echo "$as_me:$LINENO: checking sys/dg_sys_info.h usability" >&5
5705 echo $ECHO_N "checking sys/dg_sys_info.h usability... $ECHO_C" >&6
5706 cat >conftest.$ac_ext <<_ACEOF
5707 #line $LINENO "configure"
5710 cat confdefs.h >>conftest.$ac_ext
5711 cat >>conftest.$ac_ext <<_ACEOF
5712 /* end confdefs.h. */
5713 $ac_includes_default
5714 #include <sys/dg_sys_info.h>
5716 rm -f conftest.$ac_objext
5717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5718 (eval $ac_compile) 2>&5
5720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5721 (exit $ac_status); } &&
5722 { ac_try='test -s conftest.$ac_objext'
5723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5727 (exit $ac_status); }; }; then
5728 ac_header_compiler=yes
5730 echo "$as_me: failed program was:" >&5
5731 sed 's/^/| /' conftest.$ac_ext >&5
5733 ac_header_compiler=no
5735 rm -f conftest.$ac_objext conftest.$ac_ext
5736 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5737 echo "${ECHO_T}$ac_header_compiler" >&6
5739 # Is the header present?
5740 echo "$as_me:$LINENO: checking sys/dg_sys_info.h presence" >&5
5741 echo $ECHO_N "checking sys/dg_sys_info.h presence... $ECHO_C" >&6
5742 cat >conftest.$ac_ext <<_ACEOF
5743 #line $LINENO "configure"
5746 cat confdefs.h >>conftest.$ac_ext
5747 cat >>conftest.$ac_ext <<_ACEOF
5748 /* end confdefs.h. */
5749 #include <sys/dg_sys_info.h>
5751 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5752 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5754 grep -v '^ *+' conftest.er1 >conftest.err
5756 cat conftest.err >&5
5757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5758 (exit $ac_status); } >/dev/null; then
5759 if test -s conftest.err; then
5760 ac_cpp_err=$ac_c_preproc_warn_flag
5767 if test -z "$ac_cpp_err"; then
5768 ac_header_preproc=yes
5770 echo "$as_me: failed program was:" >&5
5771 sed 's/^/| /' conftest.$ac_ext >&5
5773 ac_header_preproc=no
5775 rm -f conftest.err conftest.$ac_ext
5776 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5777 echo "${ECHO_T}$ac_header_preproc" >&6
5779 # So? What about this header?
5780 case $ac_header_compiler:$ac_header_preproc in
5782 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&5
5783 echo "$as_me: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5784 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&5
5785 echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&2;}
5788 ## ------------------------------------ ##
5789 ## Report this to bug-autoconf@gnu.org. ##
5790 ## ------------------------------------ ##
5793 sed "s/^/$as_me: WARNING: /" >&2
5796 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&5
5797 echo "$as_me: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&2;}
5798 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&5
5799 echo "$as_me: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&2;}
5800 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&5
5801 echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&2;}
5804 ## ------------------------------------ ##
5805 ## Report this to bug-autoconf@gnu.org. ##
5806 ## ------------------------------------ ##
5809 sed "s/^/$as_me: WARNING: /" >&2
5812 echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5
5813 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6
5814 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
5815 echo $ECHO_N "(cached) $ECHO_C" >&6
5817 ac_cv_header_sys_dg_sys_info_h=$ac_header_preproc
5819 echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5
5820 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6
5823 if test $ac_cv_header_sys_dg_sys_info_h = yes; then
5829 echo "$as_me:$LINENO: result: $ac_is_dgux" >&5
5830 echo "${ECHO_T}$ac_is_dgux" >&6
5831 ## :GOTCHA: we do not check anything but sys/dg_sys_info.h
5832 if test $ac_is_dgux = yes; then
5833 if test "$enable_full_debug" = "yes"; then
5834 CFLAGS="-g -mstandard -DDGUX -D_DGUX_SOURCE -Di386 -mno-legend -O2"
5835 CXXFLAGS="-g -mstandard -DDGUX -D_DGUX_SOURCE -Di386 -mno-legend -O2"
5837 CFLAGS="-DDGUX -D_DGUX_SOURCE -Di386 -mno-legend -O2"
5838 CXXFLAGS="-DDGUX -D_DGUX_SOURCE -Di386 -mno-legend -O2"
5845 # Check whether --with-target-subdir or --without-target-subdir was given.
5846 if test "${with_target_subdir+set}" = set; then
5847 withval="$with_target_subdir"
5851 # Check whether --with-cross-host or --without-cross-host was given.
5852 if test "${with_cross_host+set}" = set; then
5853 withval="$with_cross_host"
5857 echo "$as_me:$LINENO: checking whether Solaris gcc optimization fix is necessary" >&5
5858 echo $ECHO_N "checking whether Solaris gcc optimization fix is necessary... $ECHO_C" >&6
5860 sparc-sun-solaris2*|*aix*)
5861 if test "$GCC" = yes; then
5862 echo "$as_me:$LINENO: result: yes" >&5
5863 echo "${ECHO_T}yes" >&6
5865 for i in $CFLAGS; do
5870 new_CFLAGS="$new_CFLAGS $i"
5874 CFLAGS="$new_CFLAGS"
5876 echo "$as_me:$LINENO: result: no" >&5
5877 echo "${ECHO_T}no" >&6
5880 *) echo "$as_me:$LINENO: result: no" >&5
5881 echo "${ECHO_T}no" >&6 ;;
5887 cat >>confdefs.h <<\_ACEOF
5891 cat >>confdefs.h <<\_ACEOF
5892 #define NO_SIGNALS 1
5895 cat >>confdefs.h <<\_ACEOF
5896 #define ALL_INTERIOR_POINTERS 1
5900 cat >>confdefs.h <<\_ACEOF
5901 #define JAVA_FINALIZATION 1
5904 cat >>confdefs.h <<\_ACEOF
5905 #define GC_GCJ_SUPPORT 1
5908 cat >>confdefs.h <<\_ACEOF
5909 #define ATOMIC_UNCOLLECTABLE 1
5913 if test -n "${with_cross_host}"; then
5914 cat >>confdefs.h <<\_ACEOF
5918 cat >>confdefs.h <<\_ACEOF
5919 #define NO_DEBUGGING 1
5924 # Check whether --enable-full-debug or --disable-full-debug was given.
5925 if test "${enable_full_debug+set}" = set; then
5926 enableval="$enable_full_debug"
5927 if test "$enable_full_debug" = "yes"; then
5928 { echo "$as_me:$LINENO: WARNING: \"Must define GC_DEBUG and use debug alloc. in clients.\"" >&5
5929 echo "$as_me: WARNING: \"Must define GC_DEBUG and use debug alloc. in clients.\"" >&2;}
5930 cat >>confdefs.h <<\_ACEOF
5931 #define KEEP_BACK_PTRS 1
5934 cat >>confdefs.h <<\_ACEOF
5935 #define DBG_HDRS_ALL 1
5940 cat >>confdefs.h <<\_ACEOF
5941 #define MAKE_BACK_GRAPH 1
5945 x86-*-linux* | i586-*-linux* | i686-*-linux* | x86_64-*-linux* )
5946 cat >>confdefs.h <<\_ACEOF
5947 #define MAKE_BACK_GRAPH 1
5950 { echo "$as_me:$LINENO: WARNING: \"Client must not use -fomit-frame-pointer.\"" >&5
5951 echo "$as_me: WARNING: \"Client must not use -fomit-frame-pointer.\"" >&2;}
5952 cat >>confdefs.h <<\_ACEOF
5953 #define SAVE_CALL_COUNT 8
5958 cat >>confdefs.h <<\_ACEOF
5959 #define MAKE_BACK_GRAPH 1
5967 if test -n "$with_cross_host" &&
5968 test x"$with_cross_host" != x"no"; then
5969 toolexecdir='$(exec_prefix)/$(target_noncanonical)'
5970 toolexeclibdir='$(toolexecdir)/lib'
5972 toolexecdir='$(libdir)/gcc-lib/$(target_noncanonical)'
5973 toolexeclibdir='$(libdir)'
5975 multi_os_directory=`$CC -print-multi-os-directory`
5976 case $multi_os_directory in
5977 .) ;; # Avoid trailing /.
5978 *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
5983 if test "${multilib}" = "yes"; then
5984 multilib_arg="--enable-multilib"
5989 ac_config_files="$ac_config_files Makefile include/Makefile"
5990 ac_config_commands="$ac_config_commands default"
5991 cat >confcache <<\_ACEOF
5992 # This file is a shell script that caches the results of configure
5993 # tests run on this system so they can be shared between configure
5994 # scripts and configure runs, see configure's option --config-cache.
5995 # It is not useful on other systems. If it contains results you don't
5996 # want to keep, you may remove or edit it.
5998 # config.status only pays attention to the cache file if you give it
5999 # the --recheck option to rerun configure.
6001 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6002 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6007 # The following way of writing the cache mishandles newlines in values,
6008 # but we know of no workaround that is simple, portable, and efficient.
6009 # So, don't put newlines in cache variables' values.
6010 # Ultrix sh set writes to stderr and can't be redirected directly,
6011 # and sets the high bit in the cache file unless we assign to the vars.
6014 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6016 # `set' does not quote correctly, so add quotes (double-quote
6017 # substitution turns \\\\ into \\, and sed turns \\ into \).
6020 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6023 # `set' quotes correctly as required by POSIX, so do not add quotes.
6025 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6032 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6034 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6036 if diff $cache_file confcache >/dev/null 2>&1; then :; else
6037 if test -w $cache_file; then
6038 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
6039 cat confcache >$cache_file
6041 echo "not updating unwritable cache $cache_file"
6046 test "x$prefix" = xNONE && prefix=$ac_default_prefix
6047 # Let make expand exec_prefix.
6048 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6050 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6051 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6052 # trailing colons and then remove the whole line if VPATH becomes empty
6053 # (actually we leave an empty line to preserve line numbers).
6054 if test "x$srcdir" = x.; then
6055 ac_vpsub='/^[ ]*VPATH[ ]*=/{
6056 s/:*\$(srcdir):*/:/;
6057 s/:*\${srcdir}:*/:/;
6059 s/^\([^=]*=[ ]*\):*/\1/;
6065 # Transform confdefs.h into DEFS.
6066 # Protect against shell expansion while executing Makefile rules.
6067 # Protect against Makefile macro expansion.
6069 # If the first sed substitution is executed (which looks for macros that
6070 # take arguments), then we branch to the quote section. Otherwise,
6071 # look for a macro that doesn't take arguments.
6072 cat >confdef2opt.sed <<\_ACEOF
6075 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
6077 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
6081 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
6087 # We use echo to avoid assuming a particular line-breaking character.
6088 # The extra dot is to prevent the shell from consuming trailing
6089 # line-breaks from the sub-command output. A line-break within
6090 # single-quotes doesn't work because, if this script is created in a
6091 # platform that uses two characters for line-breaks (e.g., DOS), tr
6093 ac_LF_and_DOT=`echo; echo .`
6094 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
6095 rm -f confdef2opt.sed
6100 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6101 # 1. Remove the extension, and $U if already installed.
6102 ac_i=`echo "$ac_i" |
6103 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
6105 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
6106 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
6110 LTLIBOBJS=$ac_ltlibobjs
6114 : ${CONFIG_STATUS=./config.status}
6115 ac_clean_files_save=$ac_clean_files
6116 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6117 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6118 echo "$as_me: creating $CONFIG_STATUS" >&6;}
6119 cat >$CONFIG_STATUS <<_ACEOF
6121 # Generated by $as_me.
6122 # Run this file to recreate the current configuration.
6123 # Compiler output produced by configure, useful for debugging
6124 # configure, is in config.log if it exists.
6129 SHELL=\${CONFIG_SHELL-$SHELL}
6132 cat >>$CONFIG_STATUS <<\_ACEOF
6133 ## --------------------- ##
6134 ## M4sh Initialization. ##
6135 ## --------------------- ##
6137 # Be Bourne compatible
6138 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
6141 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6142 # is contrary to our usage. Disable this feature.
6143 alias -g '${1+"$@"}'='"$@"'
6144 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
6148 # Support unset when possible.
6149 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
6156 # Work around bugs in pre-3.0 UWIN ksh.
6157 $as_unset ENV MAIL MAILPATH
6164 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
6165 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
6166 LC_TELEPHONE LC_TIME
6168 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
6169 eval $as_var=C; export $as_var
6175 # Required to use basename.
6176 if expr a : '\(a\)' >/dev/null 2>&1; then
6182 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
6183 as_basename=basename
6189 # Name of the executable.
6190 as_me=`$as_basename "$0" ||
6191 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6192 X"$0" : 'X\(//\)$' \| \
6193 X"$0" : 'X\(/\)$' \| \
6194 . : '\(.\)' 2>/dev/null ||
6196 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
6197 /^X\/\(\/\/\)$/{ s//\1/; q; }
6198 /^X\/\(\/\).*/{ s//\1/; q; }
6202 # PATH needs CR, and LINENO needs CR and PATH.
6203 # Avoid depending upon Character Ranges.
6204 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6205 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6206 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6207 as_cr_digits='0123456789'
6208 as_cr_alnum=$as_cr_Letters$as_cr_digits
6210 # The user is always right.
6211 if test "${PATH_SEPARATOR+set}" != set; then
6212 echo "#! /bin/sh" >conf$$.sh
6213 echo "exit 0" >>conf$$.sh
6215 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
6226 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6227 test "x$as_lineno_1" != "x$as_lineno_2" &&
6228 test "x$as_lineno_3" = "x$as_lineno_2" || {
6229 # Find who we are. Look in the path if we contain no path at all
6232 *[\\/]* ) as_myself=$0 ;;
6233 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6237 test -z "$as_dir" && as_dir=.
6238 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6243 # We did not find ourselves, most probably we were run as `sh COMMAND'
6244 # in which case we are not to be found in the path.
6245 if test "x$as_myself" = x; then
6248 if test ! -f "$as_myself"; then
6249 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
6250 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
6251 { (exit 1); exit 1; }; }
6253 case $CONFIG_SHELL in
6255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6256 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
6259 test -z "$as_dir" && as_dir=.
6260 for as_base in sh bash ksh sh5; do
6263 if ("$as_dir/$as_base" -c '
6266 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6267 test "x$as_lineno_1" != "x$as_lineno_2" &&
6268 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
6269 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
6270 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
6271 CONFIG_SHELL=$as_dir/$as_base
6273 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
6281 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6282 # uniformly replaced by the line number. The first 'sed' inserts a
6283 # line-number line before each line; the second 'sed' does the real
6284 # work. The second script uses 'N' to pair each line-number line
6285 # with the numbered line, and appends trailing '-' during
6286 # substitution so that $LINENO is not a special case at line end.
6287 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6288 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
6289 sed '=' <$as_myself |
6294 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
6297 s,^['$as_cr_digits']*\n,,
6299 chmod +x $as_me.lineno ||
6300 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
6301 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
6302 { (exit 1); exit 1; }; }
6304 # Don't try to exec as it changes $[0], causing all sort of problems
6305 # (the dirname of $[0] is not the place where we might find the
6306 # original and so on. Autoconf is especially sensible to this).
6308 # Exit status is that of the last command.
6313 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
6314 *c*,-n*) ECHO_N= ECHO_C='
6316 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
6317 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
6320 if expr a : '\(a\)' >/dev/null 2>&1; then
6326 rm -f conf$$ conf$$.exe conf$$.file
6328 if ln -s conf$$.file conf$$ 2>/dev/null; then
6329 # We could just check for DJGPP; but this test a) works b) is more generic
6330 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
6331 if test -f conf$$.exe; then
6332 # Don't use ln at all; we don't have any links
6337 elif ln conf$$.file conf$$ 2>/dev/null; then
6342 rm -f conf$$ conf$$.exe conf$$.file
6344 if mkdir -p . 2>/dev/null; then
6350 as_executable_p="test -f"
6352 # Sed expression to map a string onto a valid CPP name.
6353 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
6355 # Sed expression to map a string onto a valid variable name.
6356 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
6360 # We need space, tab and new line, in precisely that order.
6370 # Open the log real soon, to keep \$[0] and so on meaningful, and to
6371 # report actual input values of CONFIG_FILES etc. instead of their
6372 # values after options handling. Logging --version etc. is OK.
6376 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6377 ## Running $as_me. ##
6382 This file was extended by $as_me, which was
6383 generated by GNU Autoconf 2.57. Invocation command line was
6385 CONFIG_FILES = $CONFIG_FILES
6386 CONFIG_HEADERS = $CONFIG_HEADERS
6387 CONFIG_LINKS = $CONFIG_LINKS
6388 CONFIG_COMMANDS = $CONFIG_COMMANDS
6392 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
6396 # Files that config.status was made for.
6397 if test -n "$ac_config_files"; then
6398 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
6401 if test -n "$ac_config_headers"; then
6402 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
6405 if test -n "$ac_config_links"; then
6406 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
6409 if test -n "$ac_config_commands"; then
6410 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
6413 cat >>$CONFIG_STATUS <<\_ACEOF
6416 \`$as_me' instantiates files from templates according to the
6417 current configuration.
6419 Usage: $0 [OPTIONS] [FILE]...
6421 -h, --help print this help, then exit
6422 -V, --version print version number, then exit
6423 -q, --quiet do not print progress messages
6424 -d, --debug don't remove temporary files
6425 --recheck update $as_me by reconfiguring in the same conditions
6426 --file=FILE[:TEMPLATE]
6427 instantiate the configuration file FILE
6429 Configuration files:
6432 Configuration commands:
6435 Report bugs to <bug-autoconf@gnu.org>."
6438 cat >>$CONFIG_STATUS <<_ACEOF
6441 configured by $0, generated by GNU Autoconf 2.57,
6442 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
6444 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
6445 Free Software Foundation, Inc.
6446 This config.status script is free software; the Free Software Foundation
6447 gives unlimited permission to copy, distribute and modify it."
6452 cat >>$CONFIG_STATUS <<\_ACEOF
6453 # If no file are specified by the user, then we need to provide default
6454 # value. By we need to know if files were specified by the user.
6460 ac_option=`expr "x$1" : 'x\([^=]*\)='`
6461 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
6469 *) # This is not an option, so the user has probably given explicit
6472 ac_need_defaults=false;;
6476 # Handling of the options.
6478 cat >>$CONFIG_STATUS <<\_ACEOF
6479 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6481 --version | --vers* | -V )
6482 echo "$ac_cs_version"; exit 0 ;;
6484 # Conflict between --help and --header
6485 { { echo "$as_me:$LINENO: error: ambiguous option: $1
6486 Try \`$0 --help' for more information." >&5
6487 echo "$as_me: error: ambiguous option: $1
6488 Try \`$0 --help' for more information." >&2;}
6489 { (exit 1); exit 1; }; };;
6490 --help | --hel | -h )
6491 echo "$ac_cs_usage"; exit 0 ;;
6492 --debug | --d* | -d )
6494 --file | --fil | --fi | --f )
6496 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
6497 ac_need_defaults=false;;
6498 --header | --heade | --head | --hea )
6500 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
6501 ac_need_defaults=false;;
6502 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6503 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6507 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
6508 Try \`$0 --help' for more information." >&5
6509 echo "$as_me: error: unrecognized option: $1
6510 Try \`$0 --help' for more information." >&2;}
6511 { (exit 1); exit 1; }; } ;;
6513 *) ac_config_targets="$ac_config_targets $1" ;;
6519 ac_configure_extra_args=
6521 if $ac_cs_silent; then
6523 ac_configure_extra_args="$ac_configure_extra_args --silent"
6527 cat >>$CONFIG_STATUS <<_ACEOF
6528 if \$ac_cs_recheck; then
6529 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
6530 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6535 cat >>$CONFIG_STATUS <<_ACEOF
6537 # INIT-COMMANDS section.
6543 with_multisubdir=${with_multisubdir}
6544 ac_configure_args="${multilib_arg} ${ac_configure_args}"
6545 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
6546 gc_basedir=${gc_basedir}
6548 ORIGINAL_LD_FOR_MULTILIBS="${ORIGINAL_LD_FOR_MULTILIBS}"
6550 INCLUDES="$INCLUDES"
6557 cat >>$CONFIG_STATUS <<\_ACEOF
6558 for ac_config_target in $ac_config_targets
6560 case "$ac_config_target" in
6561 # Handling of arguments.
6562 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6563 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
6564 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
6565 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6566 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6567 { (exit 1); exit 1; }; };;
6571 # If the user did not use the arguments to specify the items to instantiate,
6572 # then the envvar interface is used. Set only those that are not.
6573 # We use the long form for the default assignment because of an extremely
6574 # bizarre bug on SunOS 4.1.3.
6575 if $ac_need_defaults; then
6576 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6577 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6580 # Have a temporary directory for convenience. Make it in the build tree
6581 # simply because there is no reason to put it here, and in addition,
6582 # creating and moving files from /tmp can sometimes cause problems.
6583 # Create a temporary directory, and hook for its removal unless debugging.
6586 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
6587 trap '{ (exit 1); exit 1; }' 1 2 13 15
6590 # Create a (secure) tmp directory for tmp files.
6593 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
6594 test -n "$tmp" && test -d "$tmp"
6597 tmp=./confstat$$-$RANDOM
6598 (umask 077 && mkdir $tmp)
6601 echo "$me: cannot create a temporary directory in ." >&2
6602 { (exit 1); exit 1; }
6607 cat >>$CONFIG_STATUS <<_ACEOF
6610 # CONFIG_FILES section.
6613 # No need to generate the scripts if there are no CONFIG_FILES.
6614 # This happens for instance when ./config.status config.h
6615 if test -n "\$CONFIG_FILES"; then
6616 # Protect against being on the right side of a sed subst in config.status.
6617 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
6618 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
6619 s,@SHELL@,$SHELL,;t t
6620 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
6621 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
6622 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
6623 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
6624 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
6625 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
6626 s,@exec_prefix@,$exec_prefix,;t t
6627 s,@prefix@,$prefix,;t t
6628 s,@program_transform_name@,$program_transform_name,;t t
6629 s,@bindir@,$bindir,;t t
6630 s,@sbindir@,$sbindir,;t t
6631 s,@libexecdir@,$libexecdir,;t t
6632 s,@datadir@,$datadir,;t t
6633 s,@sysconfdir@,$sysconfdir,;t t
6634 s,@sharedstatedir@,$sharedstatedir,;t t
6635 s,@localstatedir@,$localstatedir,;t t
6636 s,@libdir@,$libdir,;t t
6637 s,@includedir@,$includedir,;t t
6638 s,@oldincludedir@,$oldincludedir,;t t
6639 s,@infodir@,$infodir,;t t
6640 s,@mandir@,$mandir,;t t
6641 s,@build_alias@,$build_alias,;t t
6642 s,@host_alias@,$host_alias,;t t
6643 s,@target_alias@,$target_alias,;t t
6645 s,@ECHO_C@,$ECHO_C,;t t
6646 s,@ECHO_N@,$ECHO_N,;t t
6647 s,@ECHO_T@,$ECHO_T,;t t
6649 s,@gc_basedir@,$gc_basedir,;t t
6650 s,@build@,$build,;t t
6651 s,@build_cpu@,$build_cpu,;t t
6652 s,@build_vendor@,$build_vendor,;t t
6653 s,@build_os@,$build_os,;t t
6655 s,@host_cpu@,$host_cpu,;t t
6656 s,@host_vendor@,$host_vendor,;t t
6657 s,@host_os@,$host_os,;t t
6658 s,@target@,$target,;t t
6659 s,@target_cpu@,$target_cpu,;t t
6660 s,@target_vendor@,$target_vendor,;t t
6661 s,@target_os@,$target_os,;t t
6662 s,@mkinstalldirs@,$mkinstalldirs,;t t
6663 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
6664 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
6665 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
6666 s,@PACKAGE@,$PACKAGE,;t t
6667 s,@VERSION@,$VERSION,;t t
6668 s,@ACLOCAL@,$ACLOCAL,;t t
6669 s,@AUTOCONF@,$AUTOCONF,;t t
6670 s,@AUTOMAKE@,$AUTOMAKE,;t t
6671 s,@AUTOHEADER@,$AUTOHEADER,;t t
6672 s,@MAKEINFO@,$MAKEINFO,;t t
6673 s,@SET_MAKE@,$SET_MAKE,;t t
6675 s,@ac_ct_CC@,$ac_ct_CC,;t t
6676 s,@EXEEXT@,$EXEEXT,;t t
6677 s,@OBJEXT@,$OBJEXT,;t t
6679 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
6680 s,@CFLAGS@,$CFLAGS,;t t
6681 s,@CXXFLAGS@,$CXXFLAGS,;t t
6683 s,@ac_ct_AS@,$ac_ct_AS,;t t
6685 s,@ac_ct_AR@,$ac_ct_AR,;t t
6686 s,@RANLIB@,$RANLIB,;t t
6687 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
6688 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
6689 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
6690 s,@MAINT@,$MAINT,;t t
6691 s,@GC_CFLAGS@,$GC_CFLAGS,;t t
6693 s,@STRIP@,$STRIP,;t t
6694 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
6695 s,@LIBTOOL@,$LIBTOOL,;t t
6696 s,@CXXCPP@,$CXXCPP,;t t
6697 s,@CPPFLAGS@,$CPPFLAGS,;t t
6698 s,@THREADLIBS@,$THREADLIBS,;t t
6699 s,@POWERPC_DARWIN_TRUE@,$POWERPC_DARWIN_TRUE,;t t
6700 s,@POWERPC_DARWIN_FALSE@,$POWERPC_DARWIN_FALSE,;t t
6701 s,@EXTRA_TEST_LIBS@,$EXTRA_TEST_LIBS,;t t
6702 s,@target_all@,$target_all,;t t
6703 s,@target_noncanonical@,$target_noncanonical,;t t
6704 s,@CPLUSPLUS_TRUE@,$CPLUSPLUS_TRUE,;t t
6705 s,@CPLUSPLUS_FALSE@,$CPLUSPLUS_FALSE,;t t
6706 s,@INCLUDES@,$INCLUDES,;t t
6707 s,@CXXINCLUDES@,$CXXINCLUDES,;t t
6708 s,@addobjs@,$addobjs,;t t
6709 s,@addincludes@,$addincludes,;t t
6710 s,@addlibs@,$addlibs,;t t
6711 s,@addtests@,$addtests,;t t
6713 s,@EGREP@,$EGREP,;t t
6714 s,@MY_CFLAGS@,$MY_CFLAGS,;t t
6715 s,@toolexecdir@,$toolexecdir,;t t
6716 s,@toolexeclibdir@,$toolexeclibdir,;t t
6717 s,@LIBOBJS@,$LIBOBJS,;t t
6718 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
6723 cat >>$CONFIG_STATUS <<\_ACEOF
6724 # Split the substitutions into bite-sized pieces for seds with
6725 # small command number limits, like on Digital OSF/1 and HP-UX.
6727 ac_sed_frag=1 # Number of current file.
6728 ac_beg=1 # First line for current file.
6729 ac_end=$ac_max_sed_lines # Line after last line for current file.
6732 while $ac_more_lines; do
6733 if test $ac_beg -gt 1; then
6734 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
6736 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
6738 if test ! -s $tmp/subs.frag; then
6741 # The purpose of the label and of the branching condition is to
6742 # speed up the sed processing (if there are no `@' at all, there
6743 # is no need to browse any of the substitutions).
6744 # These are the two extra sed commands mentioned above.
6746 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
6747 if test -z "$ac_sed_cmds"; then
6748 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
6750 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
6752 ac_sed_frag=`expr $ac_sed_frag + 1`
6754 ac_end=`expr $ac_end + $ac_max_sed_lines`
6757 if test -z "$ac_sed_cmds"; then
6760 fi # test -n "$CONFIG_FILES"
6763 cat >>$CONFIG_STATUS <<\_ACEOF
6764 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
6765 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6767 - | *:- | *:-:* ) # input from stdin
6769 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6770 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6771 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6772 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6773 * ) ac_file_in=$ac_file.in ;;
6776 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
6777 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6778 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6779 X"$ac_file" : 'X\(//\)[^/]' \| \
6780 X"$ac_file" : 'X\(//\)$' \| \
6781 X"$ac_file" : 'X\(/\)' \| \
6782 . : '\(.\)' 2>/dev/null ||
6784 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6785 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6786 /^X\(\/\/\)$/{ s//\1/; q; }
6787 /^X\(\/\).*/{ s//\1/; q; }
6789 { if $as_mkdir_p; then
6794 while test ! -d "$as_dir"; do
6795 as_dirs="$as_dir $as_dirs"
6796 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6797 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6798 X"$as_dir" : 'X\(//\)[^/]' \| \
6799 X"$as_dir" : 'X\(//\)$' \| \
6800 X"$as_dir" : 'X\(/\)' \| \
6801 . : '\(.\)' 2>/dev/null ||
6803 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6804 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6805 /^X\(\/\/\)$/{ s//\1/; q; }
6806 /^X\(\/\).*/{ s//\1/; q; }
6809 test ! -n "$as_dirs" || mkdir $as_dirs
6810 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6811 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6812 { (exit 1); exit 1; }; }; }
6816 if test "$ac_dir" != .; then
6817 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6818 # A "../" for each directory in $ac_dir_suffix.
6819 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6821 ac_dir_suffix= ac_top_builddir=
6825 .) # No --srcdir option. We are building in place.
6827 if test -z "$ac_top_builddir"; then
6830 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6832 [\\/]* | ?:[\\/]* ) # Absolute path.
6833 ac_srcdir=$srcdir$ac_dir_suffix;
6834 ac_top_srcdir=$srcdir ;;
6836 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6837 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6839 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
6841 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
6842 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
6843 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
6844 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
6848 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6849 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
6852 if test x"$ac_file" != x-; then
6853 { echo "$as_me:$LINENO: creating $ac_file" >&5
6854 echo "$as_me: creating $ac_file" >&6;}
6857 # Let's still pretend it is `configure' which instantiates (i.e., don't
6858 # use $as_me), people would be surprised to read:
6859 # /* config.h. Generated by config.status. */
6860 if test x"$ac_file" = x-; then
6863 configure_input="$ac_file. "
6865 configure_input=$configure_input"Generated from `echo $ac_file_in |
6866 sed 's,.*/,,'` by configure."
6868 # First look for the input files in the build tree, otherwise in the
6870 ac_file_inputs=`IFS=:
6871 for f in $ac_file_in; do
6873 -) echo $tmp/stdin ;;
6875 # Absolute (can't be DOS-style, as IFS=:)
6876 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6877 echo "$as_me: error: cannot find input file: $f" >&2;}
6878 { (exit 1); exit 1; }; }
6881 if test -f "$f"; then
6884 elif test -f "$srcdir/$f"; then
6889 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6890 echo "$as_me: error: cannot find input file: $f" >&2;}
6891 { (exit 1); exit 1; }; }
6894 done` || { (exit 1); exit 1; }
6896 cat >>$CONFIG_STATUS <<_ACEOF
6900 cat >>$CONFIG_STATUS <<\_ACEOF
6902 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6903 s,@configure_input@,$configure_input,;t t
6904 s,@srcdir@,$ac_srcdir,;t t
6905 s,@abs_srcdir@,$ac_abs_srcdir,;t t
6906 s,@top_srcdir@,$ac_top_srcdir,;t t
6907 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
6908 s,@builddir@,$ac_builddir,;t t
6909 s,@abs_builddir@,$ac_abs_builddir,;t t
6910 s,@top_builddir@,$ac_top_builddir,;t t
6911 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
6912 s,@INSTALL@,$ac_INSTALL,;t t
6913 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6915 if test x"$ac_file" != x-; then
6916 mv $tmp/out $ac_file
6924 cat >>$CONFIG_STATUS <<\_ACEOF
6927 # CONFIG_COMMANDS section.
6929 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
6930 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
6931 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
6932 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
6933 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6934 X"$ac_dest" : 'X\(//\)[^/]' \| \
6935 X"$ac_dest" : 'X\(//\)$' \| \
6936 X"$ac_dest" : 'X\(/\)' \| \
6937 . : '\(.\)' 2>/dev/null ||
6939 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6940 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6941 /^X\(\/\/\)$/{ s//\1/; q; }
6942 /^X\(\/\).*/{ s//\1/; q; }
6946 if test "$ac_dir" != .; then
6947 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6948 # A "../" for each directory in $ac_dir_suffix.
6949 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6951 ac_dir_suffix= ac_top_builddir=
6955 .) # No --srcdir option. We are building in place.
6957 if test -z "$ac_top_builddir"; then
6960 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6962 [\\/]* | ?:[\\/]* ) # Absolute path.
6963 ac_srcdir=$srcdir$ac_dir_suffix;
6964 ac_top_srcdir=$srcdir ;;
6966 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6967 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6969 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
6971 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
6972 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
6973 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
6974 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
6977 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
6978 echo "$as_me: executing $ac_dest commands" >&6;}
6981 echo "$INCLUDES $DEFS" > boehm-cflags
6983 if test -n "$CONFIG_FILES"; then
6984 LD="${ORIGINAL_LD_FOR_MULTILIBS}"
6985 ac_file=Makefile . ${gc_basedir}/../config-ml.in
6991 cat >>$CONFIG_STATUS <<\_ACEOF
6993 { (exit 0); exit 0; }
6995 chmod +x $CONFIG_STATUS
6996 ac_clean_files=$ac_clean_files_save
6999 # configure is writing to config.log, and then calls config.status.
7000 # config.status does its own redirection, appending to config.log.
7001 # Unfortunately, on DOS this fails, as config.log is still kept open
7002 # by configure, so config.status won't be able to write to it; its
7003 # output is simply discarded. So we exec the FD to /dev/null,
7004 # effectively closing config.log, so it can be properly (re)opened and
7005 # appended to by config.status. When coming back to configure, we
7006 # need to make the FD available again.
7007 if test "$no_create" != yes; then
7009 ac_config_status_args=
7010 test "$silent" = yes &&
7011 ac_config_status_args="$ac_config_status_args --quiet"
7013 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7015 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7016 # would make configure fail if this is the last instruction.
7017 $ac_cs_success || { (exit 1); exit 1; }