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 CCAS CCASFLAGS 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 # Newer automakes demand CCAS and CCASFLAGS.
3055 : ${CCASFLAGS='$(CFLAGS)'}
3059 if test -n "$ac_tool_prefix"; then
3060 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3061 set dummy ${ac_tool_prefix}as; ac_word=$2
3062 echo "$as_me:$LINENO: checking for $ac_word" >&5
3063 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3064 if test "${ac_cv_prog_AS+set}" = set; then
3065 echo $ECHO_N "(cached) $ECHO_C" >&6
3067 if test -n "$AS"; then
3068 ac_cv_prog_AS="$AS" # Let the user override the test.
3070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3074 test -z "$as_dir" && as_dir=.
3075 for ac_exec_ext in '' $ac_executable_extensions; do
3076 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3077 ac_cv_prog_AS="${ac_tool_prefix}as"
3078 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3087 if test -n "$AS"; then
3088 echo "$as_me:$LINENO: result: $AS" >&5
3089 echo "${ECHO_T}$AS" >&6
3091 echo "$as_me:$LINENO: result: no" >&5
3092 echo "${ECHO_T}no" >&6
3096 if test -z "$ac_cv_prog_AS"; then
3098 # Extract the first word of "as", so it can be a program name with args.
3099 set dummy as; ac_word=$2
3100 echo "$as_me:$LINENO: checking for $ac_word" >&5
3101 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3102 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3103 echo $ECHO_N "(cached) $ECHO_C" >&6
3105 if test -n "$ac_ct_AS"; then
3106 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3112 test -z "$as_dir" && as_dir=.
3113 for ac_exec_ext in '' $ac_executable_extensions; do
3114 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3115 ac_cv_prog_ac_ct_AS="as"
3116 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3124 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3125 if test -n "$ac_ct_AS"; then
3126 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3127 echo "${ECHO_T}$ac_ct_AS" >&6
3129 echo "$as_me:$LINENO: result: no" >&5
3130 echo "${ECHO_T}no" >&6
3138 if test -n "$ac_tool_prefix"; then
3139 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3140 set dummy ${ac_tool_prefix}ar; ac_word=$2
3141 echo "$as_me:$LINENO: checking for $ac_word" >&5
3142 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3143 if test "${ac_cv_prog_AR+set}" = set; then
3144 echo $ECHO_N "(cached) $ECHO_C" >&6
3146 if test -n "$AR"; then
3147 ac_cv_prog_AR="$AR" # Let the user override the test.
3149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3153 test -z "$as_dir" && as_dir=.
3154 for ac_exec_ext in '' $ac_executable_extensions; do
3155 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3156 ac_cv_prog_AR="${ac_tool_prefix}ar"
3157 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3166 if test -n "$AR"; then
3167 echo "$as_me:$LINENO: result: $AR" >&5
3168 echo "${ECHO_T}$AR" >&6
3170 echo "$as_me:$LINENO: result: no" >&5
3171 echo "${ECHO_T}no" >&6
3175 if test -z "$ac_cv_prog_AR"; then
3177 # Extract the first word of "ar", so it can be a program name with args.
3178 set dummy ar; ac_word=$2
3179 echo "$as_me:$LINENO: checking for $ac_word" >&5
3180 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3181 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3182 echo $ECHO_N "(cached) $ECHO_C" >&6
3184 if test -n "$ac_ct_AR"; then
3185 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3191 test -z "$as_dir" && as_dir=.
3192 for ac_exec_ext in '' $ac_executable_extensions; do
3193 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3194 ac_cv_prog_ac_ct_AR="ar"
3195 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3203 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3204 if test -n "$ac_ct_AR"; then
3205 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3206 echo "${ECHO_T}$ac_ct_AR" >&6
3208 echo "$as_me:$LINENO: result: no" >&5
3209 echo "${ECHO_T}no" >&6
3217 if test -n "$ac_tool_prefix"; then
3218 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3219 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3220 echo "$as_me:$LINENO: checking for $ac_word" >&5
3221 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3222 if test "${ac_cv_prog_RANLIB+set}" = set; then
3223 echo $ECHO_N "(cached) $ECHO_C" >&6
3225 if test -n "$RANLIB"; then
3226 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3232 test -z "$as_dir" && as_dir=.
3233 for ac_exec_ext in '' $ac_executable_extensions; do
3234 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3235 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3236 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3244 RANLIB=$ac_cv_prog_RANLIB
3245 if test -n "$RANLIB"; then
3246 echo "$as_me:$LINENO: result: $RANLIB" >&5
3247 echo "${ECHO_T}$RANLIB" >&6
3249 echo "$as_me:$LINENO: result: no" >&5
3250 echo "${ECHO_T}no" >&6
3254 if test -z "$ac_cv_prog_RANLIB"; then
3255 ac_ct_RANLIB=$RANLIB
3256 # Extract the first word of "ranlib", so it can be a program name with args.
3257 set dummy ranlib; ac_word=$2
3258 echo "$as_me:$LINENO: checking for $ac_word" >&5
3259 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3260 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3261 echo $ECHO_N "(cached) $ECHO_C" >&6
3263 if test -n "$ac_ct_RANLIB"; then
3264 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3270 test -z "$as_dir" && as_dir=.
3271 for ac_exec_ext in '' $ac_executable_extensions; do
3272 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3273 ac_cv_prog_ac_ct_RANLIB="ranlib"
3274 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3280 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3283 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3284 if test -n "$ac_ct_RANLIB"; then
3285 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3286 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3288 echo "$as_me:$LINENO: result: no" >&5
3289 echo "${ECHO_T}no" >&6
3292 RANLIB=$ac_ct_RANLIB
3294 RANLIB="$ac_cv_prog_RANLIB"
3298 # Find a good install program. We prefer a C program (faster),
3299 # so one script is as good as another. But avoid the broken or
3300 # incompatible versions:
3301 # SysV /etc/install, /usr/sbin/install
3302 # SunOS /usr/etc/install
3303 # IRIX /sbin/install
3305 # AmigaOS /C/install, which installs bootblocks on floppy discs
3306 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3307 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3308 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3309 # ./install, which can be erroneously created by make from ./install.sh.
3310 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3311 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3312 if test -z "$INSTALL"; then
3313 if test "${ac_cv_path_install+set}" = set; then
3314 echo $ECHO_N "(cached) $ECHO_C" >&6
3316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3320 test -z "$as_dir" && as_dir=.
3321 # Account for people who put trailing slashes in PATH elements.
3323 ./ | .// | /cC/* | \
3324 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3327 # OSF1 and SCO ODT 3.0 have their own names for install.
3328 # Don't use installbsd from OSF since it installs stuff as root
3330 for ac_prog in ginstall scoinst install; do
3331 for ac_exec_ext in '' $ac_executable_extensions; do
3332 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3333 if test $ac_prog = install &&
3334 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3335 # AIX install. It has an incompatible calling convention.
3337 elif test $ac_prog = install &&
3338 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3339 # program-specific install script used by HP pwplus--don't use.
3342 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3354 if test "${ac_cv_path_install+set}" = set; then
3355 INSTALL=$ac_cv_path_install
3357 # As a last resort, use the slow shell script. We don't cache a
3358 # path for INSTALL within a source directory, because that will
3359 # break other packages using the cache if that directory is
3360 # removed, or if the path is relative.
3361 INSTALL=$ac_install_sh
3364 echo "$as_me:$LINENO: result: $INSTALL" >&5
3365 echo "${ECHO_T}$INSTALL" >&6
3367 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3368 # It thinks the first close brace ends the variable substitution.
3369 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3371 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3373 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3376 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3377 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
3378 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3379 if test "${enable_maintainer_mode+set}" = set; then
3380 enableval="$enable_maintainer_mode"
3381 USE_MAINTAINER_MODE=$enableval
3383 USE_MAINTAINER_MODE=no
3385 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3386 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
3389 if test $USE_MAINTAINER_MODE = yes; then
3390 MAINTAINER_MODE_TRUE=
3391 MAINTAINER_MODE_FALSE='#'
3393 MAINTAINER_MODE_TRUE='#'
3394 MAINTAINER_MODE_FALSE=
3396 MAINT=$MAINTAINER_MODE_TRUE
3400 . ${srcdir}/configure.host
3402 case ${gc_basedir} in
3403 /* | A-Za-z:/\\*) gc_flagbasedir=${gc_basedir} ;;
3404 *) gc_flagbasedir='$(top_builddir)/'${gc_basedir} ;;
3407 gc_cflags="${gc_cflags} -I"'$(top_builddir)'"/./targ-include -I${gc_flagbasedir}/libc/include"
3410 gc_cflags="${gc_cflags} -I${gc_flagbasedir}/../winsup/include"
3415 GC_CFLAGS=${gc_cflags}
3418 # Check whether --enable-shared or --disable-shared was given.
3419 if test "${enable_shared+set}" = set; then
3420 enableval="$enable_shared"
3421 p=${PACKAGE-default}
3423 yes) enable_shared=yes ;;
3424 no) enable_shared=no ;;
3427 # Look at the argument we got. We use all the common list separators.
3428 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3429 for pkg in $enableval; do
3430 if test "X$pkg" = "X$p"; then
3440 # Check whether --enable-static or --disable-static was given.
3441 if test "${enable_static+set}" = set; then
3442 enableval="$enable_static"
3443 p=${PACKAGE-default}
3445 yes) enable_static=yes ;;
3446 no) enable_static=no ;;
3449 # Look at the argument we got. We use all the common list separators.
3450 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3451 for pkg in $enableval; do
3452 if test "X$pkg" = "X$p"; then
3462 # Check whether --enable-fast-install or --disable-fast-install was given.
3463 if test "${enable_fast_install+set}" = set; then
3464 enableval="$enable_fast_install"
3465 p=${PACKAGE-default}
3467 yes) enable_fast_install=yes ;;
3468 no) enable_fast_install=no ;;
3470 enable_fast_install=no
3471 # Look at the argument we got. We use all the common list separators.
3472 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3473 for pkg in $enableval; do
3474 if test "X$pkg" = "X$p"; then
3475 enable_fast_install=yes
3482 enable_fast_install=yes
3485 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3486 if test "${with_gnu_ld+set}" = set; then
3487 withval="$with_gnu_ld"
3488 test "$withval" = no || with_gnu_ld=yes
3493 if test "$GCC" = yes; then
3494 # Check if gcc -print-prog-name=ld gives a path.
3495 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3496 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3499 # gcc leaves a trailing carriage return which upsets mingw
3500 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3502 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3505 # Accept absolute paths.
3506 [\\/]* | [A-Za-z]:[\\/]*)
3507 re_direlt='/[^/][^/]*/\.\./'
3508 # Canonicalize the path of ld
3509 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3510 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3511 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3513 test -z "$LD" && LD="$ac_prog"
3516 # If it fails, then pretend we aren't using GCC.
3520 # If it is relative, then search for the first ld in PATH.
3524 elif test "$with_gnu_ld" = yes; then
3525 echo "$as_me:$LINENO: checking for GNU ld" >&5
3526 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3528 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3529 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3531 if test "${lt_cv_path_LD+set}" = set; then
3532 echo $ECHO_N "(cached) $ECHO_C" >&6
3534 if test -z "$LD"; then
3535 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3536 for ac_dir in $PATH; do
3537 test -z "$ac_dir" && ac_dir=.
3538 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3539 lt_cv_path_LD="$ac_dir/$ac_prog"
3540 # Check to see if the program is GNU ld. I'd rather use --version,
3541 # but apparently some GNU ld's only accept -v.
3542 # Break only if it was the GNU/non-GNU ld that we prefer.
3543 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3544 test "$with_gnu_ld" != no && break
3546 test "$with_gnu_ld" != yes && break
3552 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3557 if test -n "$LD"; then
3558 echo "$as_me:$LINENO: result: $LD" >&5
3559 echo "${ECHO_T}$LD" >&6
3561 echo "$as_me:$LINENO: result: no" >&5
3562 echo "${ECHO_T}no" >&6
3564 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3565 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3566 { (exit 1); exit 1; }; }
3567 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3568 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3569 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3570 echo $ECHO_N "(cached) $ECHO_C" >&6
3572 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3573 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3574 lt_cv_prog_gnu_ld=yes
3576 lt_cv_prog_gnu_ld=no
3579 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3580 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3581 with_gnu_ld=$lt_cv_prog_gnu_ld
3584 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3585 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3586 if test "${lt_cv_ld_reload_flag+set}" = set; then
3587 echo $ECHO_N "(cached) $ECHO_C" >&6
3589 lt_cv_ld_reload_flag='-r'
3591 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3592 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3593 reload_flag=$lt_cv_ld_reload_flag
3594 test -n "$reload_flag" && reload_flag=" $reload_flag"
3596 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3597 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3598 if test "${lt_cv_path_NM+set}" = set; then
3599 echo $ECHO_N "(cached) $ECHO_C" >&6
3601 if test -n "$NM"; then
3602 # Let the user override the test.
3605 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3606 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3607 test -z "$ac_dir" && ac_dir=.
3608 tmp_nm=$ac_dir/${ac_tool_prefix}nm
3609 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
3610 # Check to see if the nm accepts a BSD-compat flag.
3611 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3612 # nm: unknown option "B" ignored
3613 # Tru64's nm complains that /dev/null is an invalid object file
3614 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
3615 lt_cv_path_NM="$tmp_nm -B"
3617 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
3618 lt_cv_path_NM="$tmp_nm -p"
3621 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3622 continue # so that we can try to find one that supports BSD flags
3627 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3632 echo "$as_me:$LINENO: result: $NM" >&5
3633 echo "${ECHO_T}$NM" >&6
3635 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3636 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3638 if test "$LN_S" = "ln -s"; then
3639 echo "$as_me:$LINENO: result: yes" >&5
3640 echo "${ECHO_T}yes" >&6
3642 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3643 echo "${ECHO_T}no, using $LN_S" >&6
3646 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3647 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3648 if test "${lt_cv_deplibs_check_method+set}" = set; then
3649 echo $ECHO_N "(cached) $ECHO_C" >&6
3651 lt_cv_file_magic_cmd='$MAGIC_CMD'
3652 lt_cv_file_magic_test_file=
3653 lt_cv_deplibs_check_method='unknown'
3654 # Need to set the preceding variable on all platforms that support
3655 # interlibrary dependencies.
3656 # 'none' -- dependencies not supported.
3657 # `unknown' -- same as none, but documents that we really don't know.
3658 # 'pass_all' -- all dependencies passed with no checks.
3659 # 'test_compile' -- check by making test program.
3660 # 'file_magic [regex]' -- check by looking for files in library path
3661 # which responds to the $file_magic_cmd with a given egrep regex.
3662 # If you have `file' or equivalent on your system and you're not sure
3663 # whether `pass_all' will *always* work, you probably want this one.
3667 lt_cv_deplibs_check_method=pass_all
3671 lt_cv_deplibs_check_method=pass_all
3675 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3676 lt_cv_file_magic_cmd='/usr/bin/file -L'
3677 lt_cv_file_magic_test_file=/shlib/libc.so
3680 cygwin* | mingw* |pw32*)
3681 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3682 lt_cv_file_magic_cmd='$OBJDUMP -f'
3685 darwin* | rhapsody*)
3686 # this will be overwritten by pass_all, but leave it in just in case
3687 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
3688 lt_cv_file_magic_cmd='/usr/bin/file -L'
3690 rhapsody* | darwin1.012)
3691 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
3694 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
3697 lt_cv_deplibs_check_method=pass_all
3701 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3704 # Not sure whether the presence of OpenBSD here was a mistake.
3705 # Let's accept both of them until this is cleared up.
3706 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3707 lt_cv_file_magic_cmd=/usr/bin/file
3708 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3712 lt_cv_deplibs_check_method=pass_all
3717 lt_cv_deplibs_check_method=pass_all
3723 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3724 lt_cv_file_magic_cmd=/usr/bin/file
3725 lt_cv_file_magic_test_file=/usr/lib/libc.sl
3728 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3729 lt_cv_file_magic_cmd=/usr/bin/file
3730 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3738 # this will be overridden with pass_all, but let us keep it just in case
3739 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3743 *-32|*"-32 ") libmagic=32-bit;;
3744 *-n32|*"-n32 ") libmagic=N32;;
3745 *-64|*"-64 ") libmagic=64-bit;;
3746 *) libmagic=never-match;;
3748 # this will be overridden with pass_all, but let us keep it just in case
3749 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3752 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
3753 lt_cv_deplibs_check_method=pass_all
3756 # This must be Linux ELF.
3759 alpha* | mips* | hppa* | i*86 | powerpc* | sparc* | ia64* )
3760 lt_cv_deplibs_check_method=pass_all ;;
3762 # glibc up to 2.1.1 does not perform some relocations on ARM
3763 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
3765 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
3769 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3770 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3772 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
3777 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3778 lt_cv_file_magic_cmd=/usr/bin/file
3779 lt_cv_file_magic_test_file=/usr/lib/libnls.so
3782 osf3* | osf4* | osf5*)
3783 # this will be overridden with pass_all, but let us keep it just in case
3784 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
3785 lt_cv_file_magic_test_file=/shlib/libc.so
3786 lt_cv_deplibs_check_method=pass_all
3790 lt_cv_deplibs_check_method=pass_all
3794 lt_cv_deplibs_check_method=pass_all
3795 lt_cv_file_magic_test_file=/lib/libc.so
3798 sysv5uw[78]* | sysv4*uw2*)
3799 lt_cv_deplibs_check_method=pass_all
3802 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
3803 case $host_vendor in
3805 lt_cv_deplibs_check_method=pass_all
3808 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]'
3809 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
3816 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3817 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3818 file_magic_cmd=$lt_cv_file_magic_cmd
3819 deplibs_check_method=$lt_cv_deplibs_check_method
3825 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3827 # Only perform the check for file, if the check method requires it
3828 case $deplibs_check_method in
3830 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3831 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3832 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3833 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3834 echo $ECHO_N "(cached) $ECHO_C" >&6
3838 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3841 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
3844 ac_save_MAGIC_CMD="$MAGIC_CMD"
3845 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3846 ac_dummy="/usr/bin:$PATH"
3847 for ac_dir in $ac_dummy; do
3848 test -z "$ac_dir" && ac_dir=.
3849 if test -f $ac_dir/${ac_tool_prefix}file; then
3850 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
3851 if test -n "$file_magic_test_file"; then
3852 case $deplibs_check_method in
3854 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3855 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3856 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3857 egrep "$file_magic_regex" > /dev/null; then
3862 *** Warning: the command libtool uses to detect shared libraries,
3863 *** $file_magic_cmd, produces output that libtool cannot recognize.
3864 *** The result is that libtool may fail to recognize shared libraries
3865 *** as such. This will affect the creation of libtool libraries that
3866 *** depend on shared libraries, but programs linked with such libtool
3867 *** libraries will work regardless of this problem. Nevertheless, you
3868 *** may want to report the problem to your system manager and/or to
3869 *** bug-libtool@gnu.org
3879 MAGIC_CMD="$ac_save_MAGIC_CMD"
3884 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3885 if test -n "$MAGIC_CMD"; then
3886 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3887 echo "${ECHO_T}$MAGIC_CMD" >&6
3889 echo "$as_me:$LINENO: result: no" >&5
3890 echo "${ECHO_T}no" >&6
3893 if test -z "$lt_cv_path_MAGIC_CMD"; then
3894 if test -n "$ac_tool_prefix"; then
3895 echo "$as_me:$LINENO: checking for file" >&5
3896 echo $ECHO_N "checking for file... $ECHO_C" >&6
3897 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3898 echo $ECHO_N "(cached) $ECHO_C" >&6
3902 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3905 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
3908 ac_save_MAGIC_CMD="$MAGIC_CMD"
3909 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3910 ac_dummy="/usr/bin:$PATH"
3911 for ac_dir in $ac_dummy; do
3912 test -z "$ac_dir" && ac_dir=.
3913 if test -f $ac_dir/file; then
3914 lt_cv_path_MAGIC_CMD="$ac_dir/file"
3915 if test -n "$file_magic_test_file"; then
3916 case $deplibs_check_method in
3918 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3919 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3920 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3921 egrep "$file_magic_regex" > /dev/null; then
3926 *** Warning: the command libtool uses to detect shared libraries,
3927 *** $file_magic_cmd, produces output that libtool cannot recognize.
3928 *** The result is that libtool may fail to recognize shared libraries
3929 *** as such. This will affect the creation of libtool libraries that
3930 *** depend on shared libraries, but programs linked with such libtool
3931 *** libraries will work regardless of this problem. Nevertheless, you
3932 *** may want to report the problem to your system manager and/or to
3933 *** bug-libtool@gnu.org
3943 MAGIC_CMD="$ac_save_MAGIC_CMD"
3948 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3949 if test -n "$MAGIC_CMD"; then
3950 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3951 echo "${ECHO_T}$MAGIC_CMD" >&6
3953 echo "$as_me:$LINENO: result: no" >&5
3954 echo "${ECHO_T}no" >&6
3966 if test -n "$ac_tool_prefix"; then
3967 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3968 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3969 echo "$as_me:$LINENO: checking for $ac_word" >&5
3970 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3971 if test "${ac_cv_prog_RANLIB+set}" = set; then
3972 echo $ECHO_N "(cached) $ECHO_C" >&6
3974 if test -n "$RANLIB"; then
3975 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3981 test -z "$as_dir" && as_dir=.
3982 for ac_exec_ext in '' $ac_executable_extensions; do
3983 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3984 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3985 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3993 RANLIB=$ac_cv_prog_RANLIB
3994 if test -n "$RANLIB"; then
3995 echo "$as_me:$LINENO: result: $RANLIB" >&5
3996 echo "${ECHO_T}$RANLIB" >&6
3998 echo "$as_me:$LINENO: result: no" >&5
3999 echo "${ECHO_T}no" >&6
4003 if test -z "$ac_cv_prog_RANLIB"; then
4004 ac_ct_RANLIB=$RANLIB
4005 # Extract the first word of "ranlib", so it can be a program name with args.
4006 set dummy ranlib; ac_word=$2
4007 echo "$as_me:$LINENO: checking for $ac_word" >&5
4008 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4009 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4010 echo $ECHO_N "(cached) $ECHO_C" >&6
4012 if test -n "$ac_ct_RANLIB"; then
4013 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4019 test -z "$as_dir" && as_dir=.
4020 for ac_exec_ext in '' $ac_executable_extensions; do
4021 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4022 ac_cv_prog_ac_ct_RANLIB="ranlib"
4023 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4029 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4032 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4033 if test -n "$ac_ct_RANLIB"; then
4034 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4035 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4037 echo "$as_me:$LINENO: result: no" >&5
4038 echo "${ECHO_T}no" >&6
4041 RANLIB=$ac_ct_RANLIB
4043 RANLIB="$ac_cv_prog_RANLIB"
4046 if test -n "$ac_tool_prefix"; then
4047 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4048 set dummy ${ac_tool_prefix}strip; ac_word=$2
4049 echo "$as_me:$LINENO: checking for $ac_word" >&5
4050 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4051 if test "${ac_cv_prog_STRIP+set}" = set; then
4052 echo $ECHO_N "(cached) $ECHO_C" >&6
4054 if test -n "$STRIP"; then
4055 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4061 test -z "$as_dir" && as_dir=.
4062 for ac_exec_ext in '' $ac_executable_extensions; do
4063 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4064 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4065 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4073 STRIP=$ac_cv_prog_STRIP
4074 if test -n "$STRIP"; then
4075 echo "$as_me:$LINENO: result: $STRIP" >&5
4076 echo "${ECHO_T}$STRIP" >&6
4078 echo "$as_me:$LINENO: result: no" >&5
4079 echo "${ECHO_T}no" >&6
4083 if test -z "$ac_cv_prog_STRIP"; then
4085 # Extract the first word of "strip", so it can be a program name with args.
4086 set dummy strip; ac_word=$2
4087 echo "$as_me:$LINENO: checking for $ac_word" >&5
4088 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4089 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4090 echo $ECHO_N "(cached) $ECHO_C" >&6
4092 if test -n "$ac_ct_STRIP"; then
4093 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4099 test -z "$as_dir" && as_dir=.
4100 for ac_exec_ext in '' $ac_executable_extensions; do
4101 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4102 ac_cv_prog_ac_ct_STRIP="strip"
4103 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4109 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4112 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4113 if test -n "$ac_ct_STRIP"; then
4114 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4115 echo "${ECHO_T}$ac_ct_STRIP" >&6
4117 echo "$as_me:$LINENO: result: no" >&5
4118 echo "${ECHO_T}no" >&6
4123 STRIP="$ac_cv_prog_STRIP"
4127 # Check for any special flags to pass to ltconfig.
4128 libtool_flags="--cache-file=$cache_file"
4129 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4130 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4131 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4132 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4133 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4136 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4137 if test "${enable_libtool_lock+set}" = set; then
4138 enableval="$enable_libtool_lock"
4141 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4142 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4145 # Check whether --with-pic or --without-pic was given.
4146 if test "${with_pic+set}" = set; then
4152 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4153 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4155 # Some flags need to be propagated to the compiler or linker for good
4159 # Find out which ABI we are using.
4160 echo '#line 4160 "configure"' > conftest.$ac_ext
4161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4162 (eval $ac_compile) 2>&5
4164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4165 (exit $ac_status); }; then
4166 if test "$lt_cv_prog_gnu_ld" = yes; then
4167 case `/usr/bin/file conftest.$ac_objext` in
4169 LD="${LD-ld} -melf32bsmip"
4172 LD="${LD-ld} -melf32bmipn32"
4175 LD="${LD-ld} -melf64bmip"
4179 case `/usr/bin/file conftest.$ac_objext` in
4196 # Find out which ABI we are using.
4197 echo 'int i;' > conftest.$ac_ext
4198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4199 (eval $ac_compile) 2>&5
4201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4202 (exit $ac_status); }; then
4203 case "`/usr/bin/file conftest.o`" in
4215 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4216 # Find out which ABI we are using.
4217 echo 'int i;' > conftest.$ac_ext
4218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4219 (eval $ac_compile) 2>&5
4221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4222 (exit $ac_status); }; then
4223 case "`/usr/bin/file conftest.o`" in
4227 LD="${LD-ld} -m elf_i386"
4229 ppc64-*linux*|powerpc64-*linux*)
4230 LD="${LD-ld} -m elf32ppclinux"
4233 LD="${LD-ld} -m elf_s390"
4236 LD="${LD-ld} -m elf32_sparc"
4243 LD="${LD-ld} -m elf_x86_64"
4245 ppc*-*linux*|powerpc*-*linux*)
4246 LD="${LD-ld} -m elf64ppc"
4249 LD="${LD-ld} -m elf64_s390"
4252 LD="${LD-ld} -m elf64_sparc"
4262 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4263 SAVE_CFLAGS="$CFLAGS"
4264 CFLAGS="$CFLAGS -belf"
4265 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4266 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4267 if test "${lt_cv_cc_needs_belf+set}" = set; then
4268 echo $ECHO_N "(cached) $ECHO_C" >&6
4273 ac_cpp='$CPP $CPPFLAGS'
4274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4278 if test x$gcc_no_link = xyes; then
4279 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4280 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4281 { (exit 1); exit 1; }; }
4283 cat >conftest.$ac_ext <<_ACEOF
4284 #line $LINENO "configure"
4287 cat confdefs.h >>conftest.$ac_ext
4288 cat >>conftest.$ac_ext <<_ACEOF
4289 /* end confdefs.h. */
4299 rm -f conftest.$ac_objext conftest$ac_exeext
4300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4301 (eval $ac_link) 2>&5
4303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4304 (exit $ac_status); } &&
4305 { ac_try='test -s conftest$ac_exeext'
4306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4310 (exit $ac_status); }; }; then
4311 lt_cv_cc_needs_belf=yes
4313 echo "$as_me: failed program was:" >&5
4314 sed 's/^/| /' conftest.$ac_ext >&5
4316 lt_cv_cc_needs_belf=no
4318 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4320 ac_cpp='$CPP $CPPFLAGS'
4321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4326 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4327 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4328 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4329 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4330 CFLAGS="$SAVE_CFLAGS"
4338 # Save cache, so that ltconfig can load it
4339 cat >confcache <<\_ACEOF
4340 # This file is a shell script that caches the results of configure
4341 # tests run on this system so they can be shared between configure
4342 # scripts and configure runs, see configure's option --config-cache.
4343 # It is not useful on other systems. If it contains results you don't
4344 # want to keep, you may remove or edit it.
4346 # config.status only pays attention to the cache file if you give it
4347 # the --recheck option to rerun configure.
4349 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4350 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4355 # The following way of writing the cache mishandles newlines in values,
4356 # but we know of no workaround that is simple, portable, and efficient.
4357 # So, don't put newlines in cache variables' values.
4358 # Ultrix sh set writes to stderr and can't be redirected directly,
4359 # and sets the high bit in the cache file unless we assign to the vars.
4362 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4364 # `set' does not quote correctly, so add quotes (double-quote
4365 # substitution turns \\\\ into \\, and sed turns \\ into \).
4368 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4371 # `set' quotes correctly as required by POSIX, so do not add quotes.
4373 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4380 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4382 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4384 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4385 if test -w $cache_file; then
4386 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4387 cat confcache >$cache_file
4389 echo "not updating unwritable cache $cache_file"
4394 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4395 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4396 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4397 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4398 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4399 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4400 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4401 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4402 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4403 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4404 echo "$as_me: error: libtool configure failed" >&2;}
4405 { (exit 1); exit 1; }; }
4407 # Reload cache, that may have been modified by ltconfig
4408 if test -r "$cache_file"; then
4409 # Some versions of bash will fail to source /dev/null (special
4410 # files actually), so we avoid doing that.
4411 if test -f "$cache_file"; then
4412 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4413 echo "$as_me: loading cache $cache_file" >&6;}
4415 [\\/]* | ?:[\\/]* ) . $cache_file;;
4416 *) . ./$cache_file;;
4420 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4421 echo "$as_me: creating cache $cache_file" >&6;}
4426 # This can be used to rebuild libtool when needed
4427 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4429 # Always use our own libtool.
4430 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4432 # Redirect the config.log output again, so that the ltconfig log is not
4433 # clobbered by the next message.
4434 exec 5>>./config.log
4437 ac_cpp='$CXXCPP $CPPFLAGS'
4438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4441 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4442 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4443 if test -z "$CXXCPP"; then
4444 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4445 echo $ECHO_N "(cached) $ECHO_C" >&6
4447 # Double quotes because CXXCPP needs to be expanded
4448 for CXXCPP in "$CXX -E" "/lib/cpp"
4451 for ac_cxx_preproc_warn_flag in '' yes
4453 # Use a header file that comes with gcc, so configuring glibc
4454 # with a fresh cross-compiler works.
4455 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4456 # <limits.h> exists even on freestanding compilers.
4457 # On the NeXT, cc -E runs the code through the compiler's parser,
4458 # not just through cpp. "Syntax error" is here to catch this case.
4459 cat >conftest.$ac_ext <<_ACEOF
4460 #line $LINENO "configure"
4463 cat confdefs.h >>conftest.$ac_ext
4464 cat >>conftest.$ac_ext <<_ACEOF
4465 /* end confdefs.h. */
4467 # include <limits.h>
4469 # include <assert.h>
4473 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4474 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4476 grep -v '^ *+' conftest.er1 >conftest.err
4478 cat conftest.err >&5
4479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4480 (exit $ac_status); } >/dev/null; then
4481 if test -s conftest.err; then
4482 ac_cpp_err=$ac_cxx_preproc_warn_flag
4489 if test -z "$ac_cpp_err"; then
4492 echo "$as_me: failed program was:" >&5
4493 sed 's/^/| /' conftest.$ac_ext >&5
4495 # Broken: fails on valid input.
4498 rm -f conftest.err conftest.$ac_ext
4500 # OK, works on sane cases. Now check whether non-existent headers
4501 # can be detected and how.
4502 cat >conftest.$ac_ext <<_ACEOF
4503 #line $LINENO "configure"
4506 cat confdefs.h >>conftest.$ac_ext
4507 cat >>conftest.$ac_ext <<_ACEOF
4508 /* end confdefs.h. */
4509 #include <ac_nonexistent.h>
4511 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4512 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4514 grep -v '^ *+' conftest.er1 >conftest.err
4516 cat conftest.err >&5
4517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4518 (exit $ac_status); } >/dev/null; then
4519 if test -s conftest.err; then
4520 ac_cpp_err=$ac_cxx_preproc_warn_flag
4527 if test -z "$ac_cpp_err"; then
4528 # Broken: success on invalid input.
4531 echo "$as_me: failed program was:" >&5
4532 sed 's/^/| /' conftest.$ac_ext >&5
4534 # Passes both tests.
4538 rm -f conftest.err conftest.$ac_ext
4541 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4542 rm -f conftest.err conftest.$ac_ext
4543 if $ac_preproc_ok; then
4548 ac_cv_prog_CXXCPP=$CXXCPP
4551 CXXCPP=$ac_cv_prog_CXXCPP
4553 ac_cv_prog_CXXCPP=$CXXCPP
4555 echo "$as_me:$LINENO: result: $CXXCPP" >&5
4556 echo "${ECHO_T}$CXXCPP" >&6
4558 for ac_cxx_preproc_warn_flag in '' yes
4560 # Use a header file that comes with gcc, so configuring glibc
4561 # with a fresh cross-compiler works.
4562 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4563 # <limits.h> exists even on freestanding compilers.
4564 # On the NeXT, cc -E runs the code through the compiler's parser,
4565 # not just through cpp. "Syntax error" is here to catch this case.
4566 cat >conftest.$ac_ext <<_ACEOF
4567 #line $LINENO "configure"
4570 cat confdefs.h >>conftest.$ac_ext
4571 cat >>conftest.$ac_ext <<_ACEOF
4572 /* end confdefs.h. */
4574 # include <limits.h>
4576 # include <assert.h>
4580 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4581 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4583 grep -v '^ *+' conftest.er1 >conftest.err
4585 cat conftest.err >&5
4586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4587 (exit $ac_status); } >/dev/null; then
4588 if test -s conftest.err; then
4589 ac_cpp_err=$ac_cxx_preproc_warn_flag
4596 if test -z "$ac_cpp_err"; then
4599 echo "$as_me: failed program was:" >&5
4600 sed 's/^/| /' conftest.$ac_ext >&5
4602 # Broken: fails on valid input.
4605 rm -f conftest.err conftest.$ac_ext
4607 # OK, works on sane cases. Now check whether non-existent headers
4608 # can be detected and how.
4609 cat >conftest.$ac_ext <<_ACEOF
4610 #line $LINENO "configure"
4613 cat confdefs.h >>conftest.$ac_ext
4614 cat >>conftest.$ac_ext <<_ACEOF
4615 /* end confdefs.h. */
4616 #include <ac_nonexistent.h>
4618 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4619 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4621 grep -v '^ *+' conftest.er1 >conftest.err
4623 cat conftest.err >&5
4624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4625 (exit $ac_status); } >/dev/null; then
4626 if test -s conftest.err; then
4627 ac_cpp_err=$ac_cxx_preproc_warn_flag
4634 if test -z "$ac_cpp_err"; then
4635 # Broken: success on invalid input.
4638 echo "$as_me: failed program was:" >&5
4639 sed 's/^/| /' conftest.$ac_ext >&5
4641 # Passes both tests.
4645 rm -f conftest.err conftest.$ac_ext
4648 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4649 rm -f conftest.err conftest.$ac_ext
4650 if $ac_preproc_ok; then
4653 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4654 See \`config.log' for more details." >&5
4655 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4656 See \`config.log' for more details." >&2;}
4657 { (exit 1); exit 1; }; }
4661 ac_cpp='$CPP $CPPFLAGS'
4662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4668 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
4670 lt_save_CFLAGS="$CFLAGS"
4671 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
4672 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4673 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4674 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4675 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4676 deplibs_check_method="$deplibs_check_method" \
4677 file_magic_cmd="$file_magic_cmd" \
4678 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
4679 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
4680 || { { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
4681 echo "$as_me: error: libtool tag configuration failed" >&2;}
4682 { (exit 1); exit 1; }; }
4684 CFLAGS="$lt_save_CFLAGS"
4686 # Redirect the config.log output again, so that the ltconfig log is not
4687 # clobbered by the next message.
4688 exec 5>>./config.log
4697 # Check whether --with-target-subdir or --without-target-subdir was given.
4698 if test "${with_target_subdir+set}" = set; then
4699 withval="$with_target_subdir"
4703 # Check whether --with-cross-host or --without-cross-host was given.
4704 if test "${with_cross_host+set}" = set; then
4705 withval="$with_cross_host"
4709 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
4710 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
4711 THREADS=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
4712 if test -z "$THREADS"; then
4715 echo "$as_me:$LINENO: result: $THREADS" >&5
4716 echo "${ECHO_T}$THREADS" >&6
4718 # Check whether --enable-parallel-mark or --disable-parallel-mark was given.
4719 if test "${enable_parallel_mark+set}" = set; then
4720 enableval="$enable_parallel_mark"
4723 { { echo "$as_me:$LINENO: error: Parallel mark requires --enable-threads=x spec" >&5
4724 echo "$as_me: error: Parallel mark requires --enable-threads=x spec" >&2;}
4725 { (exit 1); exit 1; }; }
4731 INCLUDES="-I`cd $srcdir && ${PWDCMD-pwd}`/include"
4739 THREADLIBS=-lpthread
4741 x86-*-linux* | ia64-*-linux* | i586-*-linux* | i686-*-linux* | x86_64-*-linux* | alpha-*-linux*)
4742 cat >>confdefs.h <<\_ACEOF
4743 #define GC_LINUX_THREADS 1
4746 cat >>confdefs.h <<\_ACEOF
4747 #define _REENTRANT 1
4750 if test "${enable_parallel_mark}" = yes; then
4751 cat >>confdefs.h <<\_ACEOF
4752 #define PARALLEL_MARK 1
4756 cat >>confdefs.h <<\_ACEOF
4757 #define THREAD_LOCAL_ALLOC 1
4762 cat >>confdefs.h <<\_ACEOF
4763 #define GC_LINUX_THREADS 1
4766 cat >>confdefs.h <<\_ACEOF
4767 #define _REENTRANT 1
4772 cat >>confdefs.h <<\_ACEOF
4773 #define GC_AIX_THREADS 1
4776 cat >>confdefs.h <<\_ACEOF
4777 #define _REENTRANT 1
4782 { echo "$as_me:$LINENO: WARNING: \"Only HP/UX 11 threads are supported.\"" >&5
4783 echo "$as_me: WARNING: \"Only HP/UX 11 threads are supported.\"" >&2;}
4784 cat >>confdefs.h <<\_ACEOF
4785 #define GC_HPUX_THREADS 1
4788 cat >>confdefs.h <<\_ACEOF
4789 #define _POSIX_C_SOURCE 199506L
4792 if test "${enable_parallel_mark}" = yes; then
4793 cat >>confdefs.h <<\_ACEOF
4794 #define PARALLEL_MARK 1
4798 cat >>confdefs.h <<\_ACEOF
4799 #define THREAD_LOCAL_ALLOC 1
4802 THREADLIBS="-lpthread -lrt"
4805 { echo "$as_me:$LINENO: WARNING: \"FreeBSD does not yet fully support threads with Boehm GC.\"" >&5
4806 echo "$as_me: WARNING: \"FreeBSD does not yet fully support threads with Boehm GC.\"" >&2;}
4807 cat >>confdefs.h <<\_ACEOF
4808 #define GC_FREEBSD_THREADS 1
4811 INCLUDES="$INCLUDES -pthread"
4815 cat >>confdefs.h <<\_ACEOF
4816 #define GC_SOLARIS_THREADS 1
4819 cat >>confdefs.h <<\_ACEOF
4820 #define GC_SOLARIS_PTHREADS 1
4825 cat >>confdefs.h <<\_ACEOF
4826 #define GC_IRIX_THREADS 1
4831 cat >>confdefs.h <<\_ACEOF
4832 #define GC_WIN32_THREADS 1
4837 cat >>confdefs.h <<\_ACEOF
4838 #define GC_DARWIN_THREADS 1
4841 cat >>confdefs.h <<\_ACEOF
4842 #define THREAD_LOCAL_ALLOC 1
4845 if test "${enable_parallel_mark}" = yes; then
4846 cat >>confdefs.h <<\_ACEOF
4847 #define PARALLEL_MARK 1
4853 cat >>confdefs.h <<\_ACEOF
4854 #define GC_OSF1_THREADS 1
4857 if test "${enable_parallel_mark}" = yes; then
4858 cat >>confdefs.h <<\_ACEOF
4859 #define PARALLEL_MARK 1
4862 cat >>confdefs.h <<\_ACEOF
4863 #define THREAD_LOCAL_ALLOC 1
4866 # May want to enable it in other cases, too.
4867 # Measurements havent yet been done.
4869 INCLUDES="$INCLUDES -pthread"
4870 THREADLIBS="-lpthread -lrt"
4875 cat >>confdefs.h <<\_ACEOF
4876 #define GC_WIN32_THREADS 1
4882 echo "$as_me:$LINENO: result: $THREADLIBS" >&5
4883 echo "${ECHO_T}$THREADLIBS" >&6
4884 # Use pthread GCC switch
4886 if test "${enable_parallel_mark}" = yes; then
4887 cat >>confdefs.h <<\_ACEOF
4888 #define PARALLEL_MARK 1
4892 cat >>confdefs.h <<\_ACEOF
4893 #define THREAD_LOCAL_ALLOC 1
4896 cat >>confdefs.h <<\_ACEOF
4897 #define GC_DGUX386_THREADS 1
4900 cat >>confdefs.h <<\_ACEOF
4901 #define DGUX_THREADS 1
4904 # Enable _POSIX4A_DRAFT10_SOURCE with flag -pthread
4905 INCLUDES="-pthread $INCLUDES"
4909 THREADLIBS=-lpthread
4910 cat >>confdefs.h <<\_ACEOF
4911 #define GC_AIX_THREADS 1
4914 cat >>confdefs.h <<\_ACEOF
4915 #define _REENTRANT 1
4919 decosf1 | irix | mach | os2 | solaris | dce | vxworks)
4920 { { echo "$as_me:$LINENO: error: thread package $THREADS not yet supported" >&5
4921 echo "$as_me: error: thread package $THREADS not yet supported" >&2;}
4922 { (exit 1); exit 1; }; }
4925 { { echo "$as_me:$LINENO: error: $THREADS is an unknown thread package" >&5
4926 echo "$as_me: error: $THREADS is an unknown thread package" >&2;}
4927 { (exit 1); exit 1; }; }
4939 if test x$powerpc_darwin = xtrue; then
4940 POWERPC_DARWIN_TRUE=
4941 POWERPC_DARWIN_FALSE='#'
4943 POWERPC_DARWIN_TRUE='#'
4944 POWERPC_DARWIN_FALSE=
4947 # We never want libdl on darwin. It is a fake libdl that just ends up making
4952 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
4953 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
4954 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
4955 echo $ECHO_N "(cached) $ECHO_C" >&6
4957 ac_check_lib_save_LIBS=$LIBS
4959 if test x$gcc_no_link = xyes; then
4960 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4961 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4962 { (exit 1); exit 1; }; }
4964 cat >conftest.$ac_ext <<_ACEOF
4965 #line $LINENO "configure"
4968 cat confdefs.h >>conftest.$ac_ext
4969 cat >>conftest.$ac_ext <<_ACEOF
4970 /* end confdefs.h. */
4972 /* Override any gcc2 internal prototype to avoid an error. */
4976 /* We use char because int might match the return type of a gcc2
4977 builtin and then its argument prototype would still apply. */
4987 rm -f conftest.$ac_objext conftest$ac_exeext
4988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4989 (eval $ac_link) 2>&5
4991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4992 (exit $ac_status); } &&
4993 { ac_try='test -s conftest$ac_exeext'
4994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4998 (exit $ac_status); }; }; then
4999 ac_cv_lib_dl_dlopen=yes
5001 echo "$as_me: failed program was:" >&5
5002 sed 's/^/| /' conftest.$ac_ext >&5
5004 ac_cv_lib_dl_dlopen=no
5006 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5007 LIBS=$ac_check_lib_save_LIBS
5009 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
5010 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
5011 if test $ac_cv_lib_dl_dlopen = yes; then
5012 EXTRA_TEST_LIBS="$EXTRA_TEST_LIBS -ldl"
5020 target_all=libgcjgc.la
5026 # Check whether --with-ecos or --without-ecos was given.
5027 if test "${with_ecos+set}" = set; then
5028 withval="$with_ecos"
5029 TARGET_ECOS="$with_ecos"
5038 case "$TARGET_ECOS" in
5042 cat >>confdefs.h <<\_ACEOF
5046 CXXINCLUDES="-I${TARGET_ECOS}/include"
5047 addobjs="$addobjs ecos.lo"
5051 if test "${enable_cplusplus}" = yes; then
5052 addincludes="$addincludes include/gc_cpp.h include/gc_allocator.h"
5053 addtests="$addtests test_cpp"
5058 if test "${enable_cplusplus}" = yes; then
5071 # Configuration of shared libraries
5073 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
5074 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
5075 # Check whether --enable-shared or --disable-shared was given.
5076 if test "${enable_shared+set}" = set; then
5077 enableval="$enable_shared"
5078 p=${PACKAGE-default}
5080 yes) enable_shared=yes ;;
5081 no) enable_shared=no ;;
5084 # Look at the argument we got. We use all the common list separators.
5085 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
5086 for pkg in $enableval; do
5087 if test "X$pkg" = "X$p"; then
5101 echo "$as_me:$LINENO: result: no" >&5
5102 echo "${ECHO_T}no" >&6
5105 echo "$as_me:$LINENO: result: yes" >&5
5106 echo "${ECHO_T}yes" >&6
5110 # Configuration of machine-dependent code
5112 # We don't set NO_EXECUTE_PERMISSION by default because gcj (and
5113 # anything else that creates trampolines in gc-allocated memory)
5114 # always needs exec permission. The exceptions to this are IA-64 and
5115 # some variations of Power PC, where trampolines don't contain
5118 echo "$as_me:$LINENO: checking which machine-dependent code should be used" >&5
5119 echo $ECHO_N "checking which machine-dependent code should be used... $ECHO_C" >&6
5123 machdep="alpha_mach_dep.lo"
5124 if test x"${ac_cv_lib_dl_dlopen}" != xyes ; then
5125 { echo "$as_me:$LINENO: WARNING: OpenBSD/Alpha without dlopen(). Shared library support is disabled" >&5
5126 echo "$as_me: WARNING: OpenBSD/Alpha without dlopen(). Shared library support is disabled" >&2;}
5130 machdep="alpha_mach_dep.lo"
5132 i?86-*-solaris2.[89] | i?86-*-solaris2.1?)
5133 cat >>confdefs.h <<\_ACEOF
5134 #define SOLARIS25_PROC_VDB_BUG_FIXED 1
5139 machdep="mips_ultrix_mach_dep.lo"
5140 cat >>confdefs.h <<\_ACEOF
5141 #define STACKBASE __stackbase
5144 cat >>confdefs.h <<\_ACEOF
5145 #define DATASTART_IS_ETEXT 1
5150 machdep="mips_ultrix_mach-dep.lo"
5152 mips-nec-sysv*|mips-unknown-sysv*)
5157 machdep="mips_sgi_mach_dep.lo"
5160 machdep="sparc_netbsd_mach_dep.lo"
5162 sparc-sun-solaris2.3)
5163 machdep="sparc_mach_dep.lo"
5164 cat >>confdefs.h <<\_ACEOF
5165 #define SUNOS53_SHARED_LIB 1
5169 sparc-sun-solaris2.*)
5170 machdep="sparc_mach_dep.lo"
5173 cat >>confdefs.h <<\_ACEOF
5174 #define NO_EXECUTE_PERMISSION 1
5177 machdep="mach_dep.lo ia64_save_regs_in_stack.lo"
5180 if test x"$machdep" = x; then
5181 echo "$as_me:$LINENO: result: $machdep" >&5
5182 echo "${ECHO_T}$machdep" >&6
5183 machdep="mach_dep.lo"
5185 addobjs="$addobjs $machdep"
5198 # Check for AViiON Machines running DGUX
5200 echo "$as_me:$LINENO: checking if host is AViiON running DGUX" >&5
5201 echo $ECHO_N "checking if host is AViiON running DGUX... $ECHO_C" >&6
5204 ac_cpp='$CPP $CPPFLAGS'
5205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5208 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5209 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5210 # On Suns, sometimes $CPP names a directory.
5211 if test -n "$CPP" && test -d "$CPP"; then
5214 if test -z "$CPP"; then
5215 if test "${ac_cv_prog_CPP+set}" = set; then
5216 echo $ECHO_N "(cached) $ECHO_C" >&6
5218 # Double quotes because CPP needs to be expanded
5219 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5222 for ac_c_preproc_warn_flag in '' yes
5224 # Use a header file that comes with gcc, so configuring glibc
5225 # with a fresh cross-compiler works.
5226 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5227 # <limits.h> exists even on freestanding compilers.
5228 # On the NeXT, cc -E runs the code through the compiler's parser,
5229 # not just through cpp. "Syntax error" is here to catch this case.
5230 cat >conftest.$ac_ext <<_ACEOF
5231 #line $LINENO "configure"
5234 cat confdefs.h >>conftest.$ac_ext
5235 cat >>conftest.$ac_ext <<_ACEOF
5236 /* end confdefs.h. */
5238 # include <limits.h>
5240 # include <assert.h>
5244 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5245 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5247 grep -v '^ *+' conftest.er1 >conftest.err
5249 cat conftest.err >&5
5250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5251 (exit $ac_status); } >/dev/null; then
5252 if test -s conftest.err; then
5253 ac_cpp_err=$ac_c_preproc_warn_flag
5260 if test -z "$ac_cpp_err"; then
5263 echo "$as_me: failed program was:" >&5
5264 sed 's/^/| /' conftest.$ac_ext >&5
5266 # Broken: fails on valid input.
5269 rm -f conftest.err conftest.$ac_ext
5271 # OK, works on sane cases. Now check whether non-existent headers
5272 # can be detected and how.
5273 cat >conftest.$ac_ext <<_ACEOF
5274 #line $LINENO "configure"
5277 cat confdefs.h >>conftest.$ac_ext
5278 cat >>conftest.$ac_ext <<_ACEOF
5279 /* end confdefs.h. */
5280 #include <ac_nonexistent.h>
5282 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5283 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5285 grep -v '^ *+' conftest.er1 >conftest.err
5287 cat conftest.err >&5
5288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5289 (exit $ac_status); } >/dev/null; then
5290 if test -s conftest.err; then
5291 ac_cpp_err=$ac_c_preproc_warn_flag
5298 if test -z "$ac_cpp_err"; then
5299 # Broken: success on invalid input.
5302 echo "$as_me: failed program was:" >&5
5303 sed 's/^/| /' conftest.$ac_ext >&5
5305 # Passes both tests.
5309 rm -f conftest.err conftest.$ac_ext
5312 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5313 rm -f conftest.err conftest.$ac_ext
5314 if $ac_preproc_ok; then
5326 echo "$as_me:$LINENO: result: $CPP" >&5
5327 echo "${ECHO_T}$CPP" >&6
5329 for ac_c_preproc_warn_flag in '' yes
5331 # Use a header file that comes with gcc, so configuring glibc
5332 # with a fresh cross-compiler works.
5333 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5334 # <limits.h> exists even on freestanding compilers.
5335 # On the NeXT, cc -E runs the code through the compiler's parser,
5336 # not just through cpp. "Syntax error" is here to catch this case.
5337 cat >conftest.$ac_ext <<_ACEOF
5338 #line $LINENO "configure"
5341 cat confdefs.h >>conftest.$ac_ext
5342 cat >>conftest.$ac_ext <<_ACEOF
5343 /* end confdefs.h. */
5345 # include <limits.h>
5347 # include <assert.h>
5351 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5352 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5354 grep -v '^ *+' conftest.er1 >conftest.err
5356 cat conftest.err >&5
5357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5358 (exit $ac_status); } >/dev/null; then
5359 if test -s conftest.err; then
5360 ac_cpp_err=$ac_c_preproc_warn_flag
5367 if test -z "$ac_cpp_err"; then
5370 echo "$as_me: failed program was:" >&5
5371 sed 's/^/| /' conftest.$ac_ext >&5
5373 # Broken: fails on valid input.
5376 rm -f conftest.err conftest.$ac_ext
5378 # OK, works on sane cases. Now check whether non-existent headers
5379 # can be detected and how.
5380 cat >conftest.$ac_ext <<_ACEOF
5381 #line $LINENO "configure"
5384 cat confdefs.h >>conftest.$ac_ext
5385 cat >>conftest.$ac_ext <<_ACEOF
5386 /* end confdefs.h. */
5387 #include <ac_nonexistent.h>
5389 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5390 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5392 grep -v '^ *+' conftest.er1 >conftest.err
5394 cat conftest.err >&5
5395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5396 (exit $ac_status); } >/dev/null; then
5397 if test -s conftest.err; then
5398 ac_cpp_err=$ac_c_preproc_warn_flag
5405 if test -z "$ac_cpp_err"; then
5406 # Broken: success on invalid input.
5409 echo "$as_me: failed program was:" >&5
5410 sed 's/^/| /' conftest.$ac_ext >&5
5412 # Passes both tests.
5416 rm -f conftest.err conftest.$ac_ext
5419 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5420 rm -f conftest.err conftest.$ac_ext
5421 if $ac_preproc_ok; then
5424 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5425 See \`config.log' for more details." >&5
5426 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5427 See \`config.log' for more details." >&2;}
5428 { (exit 1); exit 1; }; }
5432 ac_cpp='$CPP $CPPFLAGS'
5433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5438 echo "$as_me:$LINENO: checking for egrep" >&5
5439 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5440 if test "${ac_cv_prog_egrep+set}" = set; then
5441 echo $ECHO_N "(cached) $ECHO_C" >&6
5443 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5444 then ac_cv_prog_egrep='grep -E'
5445 else ac_cv_prog_egrep='egrep'
5448 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5449 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5450 EGREP=$ac_cv_prog_egrep
5453 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5454 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5455 if test "${ac_cv_header_stdc+set}" = set; then
5456 echo $ECHO_N "(cached) $ECHO_C" >&6
5458 cat >conftest.$ac_ext <<_ACEOF
5459 #line $LINENO "configure"
5462 cat confdefs.h >>conftest.$ac_ext
5463 cat >>conftest.$ac_ext <<_ACEOF
5464 /* end confdefs.h. */
5478 rm -f conftest.$ac_objext
5479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5480 (eval $ac_compile) 2>&5
5482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5483 (exit $ac_status); } &&
5484 { ac_try='test -s conftest.$ac_objext'
5485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5489 (exit $ac_status); }; }; then
5490 ac_cv_header_stdc=yes
5492 echo "$as_me: failed program was:" >&5
5493 sed 's/^/| /' conftest.$ac_ext >&5
5495 ac_cv_header_stdc=no
5497 rm -f conftest.$ac_objext conftest.$ac_ext
5499 if test $ac_cv_header_stdc = yes; then
5500 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5501 cat >conftest.$ac_ext <<_ACEOF
5502 #line $LINENO "configure"
5505 cat confdefs.h >>conftest.$ac_ext
5506 cat >>conftest.$ac_ext <<_ACEOF
5507 /* end confdefs.h. */
5511 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5512 $EGREP "memchr" >/dev/null 2>&1; then
5515 ac_cv_header_stdc=no
5521 if test $ac_cv_header_stdc = yes; then
5522 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5523 cat >conftest.$ac_ext <<_ACEOF
5524 #line $LINENO "configure"
5527 cat confdefs.h >>conftest.$ac_ext
5528 cat >>conftest.$ac_ext <<_ACEOF
5529 /* end confdefs.h. */
5533 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5534 $EGREP "free" >/dev/null 2>&1; then
5537 ac_cv_header_stdc=no
5543 if test $ac_cv_header_stdc = yes; then
5544 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5545 if test "$cross_compiling" = yes; then
5548 cat >conftest.$ac_ext <<_ACEOF
5549 #line $LINENO "configure"
5552 cat confdefs.h >>conftest.$ac_ext
5553 cat >>conftest.$ac_ext <<_ACEOF
5554 /* end confdefs.h. */
5556 #if ((' ' & 0x0FF) == 0x020)
5557 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5558 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5560 # define ISLOWER(c) \
5561 (('a' <= (c) && (c) <= 'i') \
5562 || ('j' <= (c) && (c) <= 'r') \
5563 || ('s' <= (c) && (c) <= 'z'))
5564 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5567 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5572 for (i = 0; i < 256; i++)
5573 if (XOR (islower (i), ISLOWER (i))
5574 || toupper (i) != TOUPPER (i))
5579 rm -f conftest$ac_exeext
5580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5581 (eval $ac_link) 2>&5
5583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5584 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5589 (exit $ac_status); }; }; then
5592 echo "$as_me: program exited with status $ac_status" >&5
5593 echo "$as_me: failed program was:" >&5
5594 sed 's/^/| /' conftest.$ac_ext >&5
5597 ac_cv_header_stdc=no
5599 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5603 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5604 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5605 if test $ac_cv_header_stdc = yes; then
5607 cat >>confdefs.h <<\_ACEOF
5608 #define STDC_HEADERS 1
5613 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5623 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5624 inttypes.h stdint.h unistd.h
5626 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5627 echo "$as_me:$LINENO: checking for $ac_header" >&5
5628 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5629 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5630 echo $ECHO_N "(cached) $ECHO_C" >&6
5632 cat >conftest.$ac_ext <<_ACEOF
5633 #line $LINENO "configure"
5636 cat confdefs.h >>conftest.$ac_ext
5637 cat >>conftest.$ac_ext <<_ACEOF
5638 /* end confdefs.h. */
5639 $ac_includes_default
5641 #include <$ac_header>
5643 rm -f conftest.$ac_objext
5644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5645 (eval $ac_compile) 2>&5
5647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5648 (exit $ac_status); } &&
5649 { ac_try='test -s conftest.$ac_objext'
5650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5654 (exit $ac_status); }; }; then
5655 eval "$as_ac_Header=yes"
5657 echo "$as_me: failed program was:" >&5
5658 sed 's/^/| /' conftest.$ac_ext >&5
5660 eval "$as_ac_Header=no"
5662 rm -f conftest.$ac_objext conftest.$ac_ext
5664 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5665 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5666 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5667 cat >>confdefs.h <<_ACEOF
5668 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5676 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
5677 echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5
5678 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6
5679 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
5680 echo $ECHO_N "(cached) $ECHO_C" >&6
5682 echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5
5683 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6
5685 # Is the header compilable?
5686 echo "$as_me:$LINENO: checking sys/dg_sys_info.h usability" >&5
5687 echo $ECHO_N "checking sys/dg_sys_info.h usability... $ECHO_C" >&6
5688 cat >conftest.$ac_ext <<_ACEOF
5689 #line $LINENO "configure"
5692 cat confdefs.h >>conftest.$ac_ext
5693 cat >>conftest.$ac_ext <<_ACEOF
5694 /* end confdefs.h. */
5695 $ac_includes_default
5696 #include <sys/dg_sys_info.h>
5698 rm -f conftest.$ac_objext
5699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5700 (eval $ac_compile) 2>&5
5702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5703 (exit $ac_status); } &&
5704 { ac_try='test -s conftest.$ac_objext'
5705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5709 (exit $ac_status); }; }; then
5710 ac_header_compiler=yes
5712 echo "$as_me: failed program was:" >&5
5713 sed 's/^/| /' conftest.$ac_ext >&5
5715 ac_header_compiler=no
5717 rm -f conftest.$ac_objext conftest.$ac_ext
5718 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5719 echo "${ECHO_T}$ac_header_compiler" >&6
5721 # Is the header present?
5722 echo "$as_me:$LINENO: checking sys/dg_sys_info.h presence" >&5
5723 echo $ECHO_N "checking sys/dg_sys_info.h presence... $ECHO_C" >&6
5724 cat >conftest.$ac_ext <<_ACEOF
5725 #line $LINENO "configure"
5728 cat confdefs.h >>conftest.$ac_ext
5729 cat >>conftest.$ac_ext <<_ACEOF
5730 /* end confdefs.h. */
5731 #include <sys/dg_sys_info.h>
5733 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5734 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5736 grep -v '^ *+' conftest.er1 >conftest.err
5738 cat conftest.err >&5
5739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5740 (exit $ac_status); } >/dev/null; then
5741 if test -s conftest.err; then
5742 ac_cpp_err=$ac_c_preproc_warn_flag
5749 if test -z "$ac_cpp_err"; then
5750 ac_header_preproc=yes
5752 echo "$as_me: failed program was:" >&5
5753 sed 's/^/| /' conftest.$ac_ext >&5
5755 ac_header_preproc=no
5757 rm -f conftest.err conftest.$ac_ext
5758 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5759 echo "${ECHO_T}$ac_header_preproc" >&6
5761 # So? What about this header?
5762 case $ac_header_compiler:$ac_header_preproc in
5764 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&5
5765 echo "$as_me: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5766 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&5
5767 echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&2;}
5770 ## ------------------------------------ ##
5771 ## Report this to bug-autoconf@gnu.org. ##
5772 ## ------------------------------------ ##
5775 sed "s/^/$as_me: WARNING: /" >&2
5778 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&5
5779 echo "$as_me: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&2;}
5780 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&5
5781 echo "$as_me: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&2;}
5782 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&5
5783 echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&2;}
5786 ## ------------------------------------ ##
5787 ## Report this to bug-autoconf@gnu.org. ##
5788 ## ------------------------------------ ##
5791 sed "s/^/$as_me: WARNING: /" >&2
5794 echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5
5795 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6
5796 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
5797 echo $ECHO_N "(cached) $ECHO_C" >&6
5799 ac_cv_header_sys_dg_sys_info_h=$ac_header_preproc
5801 echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5
5802 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6
5805 if test $ac_cv_header_sys_dg_sys_info_h = yes; then
5811 echo "$as_me:$LINENO: result: $ac_is_dgux" >&5
5812 echo "${ECHO_T}$ac_is_dgux" >&6
5813 ## :GOTCHA: we do not check anything but sys/dg_sys_info.h
5814 if test $ac_is_dgux = yes; then
5815 if test "$enable_full_debug" = "yes"; then
5816 CFLAGS="-g -mstandard -DDGUX -D_DGUX_SOURCE -Di386 -mno-legend -O2"
5817 CXXFLAGS="-g -mstandard -DDGUX -D_DGUX_SOURCE -Di386 -mno-legend -O2"
5819 CFLAGS="-DDGUX -D_DGUX_SOURCE -Di386 -mno-legend -O2"
5820 CXXFLAGS="-DDGUX -D_DGUX_SOURCE -Di386 -mno-legend -O2"
5827 # Check whether --with-target-subdir or --without-target-subdir was given.
5828 if test "${with_target_subdir+set}" = set; then
5829 withval="$with_target_subdir"
5833 # Check whether --with-cross-host or --without-cross-host was given.
5834 if test "${with_cross_host+set}" = set; then
5835 withval="$with_cross_host"
5839 echo "$as_me:$LINENO: checking whether Solaris gcc optimization fix is necessary" >&5
5840 echo $ECHO_N "checking whether Solaris gcc optimization fix is necessary... $ECHO_C" >&6
5842 sparc-sun-solaris2*|*aix*)
5843 if test "$GCC" = yes; then
5844 echo "$as_me:$LINENO: result: yes" >&5
5845 echo "${ECHO_T}yes" >&6
5847 for i in $CFLAGS; do
5852 new_CFLAGS="$new_CFLAGS $i"
5856 CFLAGS="$new_CFLAGS"
5858 echo "$as_me:$LINENO: result: no" >&5
5859 echo "${ECHO_T}no" >&6
5862 *) echo "$as_me:$LINENO: result: no" >&5
5863 echo "${ECHO_T}no" >&6 ;;
5869 cat >>confdefs.h <<\_ACEOF
5873 cat >>confdefs.h <<\_ACEOF
5874 #define NO_SIGNALS 1
5877 cat >>confdefs.h <<\_ACEOF
5878 #define ALL_INTERIOR_POINTERS 1
5882 cat >>confdefs.h <<\_ACEOF
5883 #define JAVA_FINALIZATION 1
5886 cat >>confdefs.h <<\_ACEOF
5887 #define GC_GCJ_SUPPORT 1
5890 cat >>confdefs.h <<\_ACEOF
5891 #define ATOMIC_UNCOLLECTABLE 1
5895 if test -n "${with_cross_host}"; then
5896 cat >>confdefs.h <<\_ACEOF
5900 cat >>confdefs.h <<\_ACEOF
5901 #define NO_DEBUGGING 1
5906 # Check whether --enable-full-debug or --disable-full-debug was given.
5907 if test "${enable_full_debug+set}" = set; then
5908 enableval="$enable_full_debug"
5909 if test "$enable_full_debug" = "yes"; then
5910 { echo "$as_me:$LINENO: WARNING: \"Must define GC_DEBUG and use debug alloc. in clients.\"" >&5
5911 echo "$as_me: WARNING: \"Must define GC_DEBUG and use debug alloc. in clients.\"" >&2;}
5912 cat >>confdefs.h <<\_ACEOF
5913 #define KEEP_BACK_PTRS 1
5916 cat >>confdefs.h <<\_ACEOF
5917 #define DBG_HDRS_ALL 1
5922 cat >>confdefs.h <<\_ACEOF
5923 #define MAKE_BACK_GRAPH 1
5927 x86-*-linux* | i586-*-linux* | i686-*-linux* | x86_64-*-linux* )
5928 cat >>confdefs.h <<\_ACEOF
5929 #define MAKE_BACK_GRAPH 1
5932 { echo "$as_me:$LINENO: WARNING: \"Client must not use -fomit-frame-pointer.\"" >&5
5933 echo "$as_me: WARNING: \"Client must not use -fomit-frame-pointer.\"" >&2;}
5934 cat >>confdefs.h <<\_ACEOF
5935 #define SAVE_CALL_COUNT 8
5940 cat >>confdefs.h <<\_ACEOF
5941 #define MAKE_BACK_GRAPH 1
5949 if test -n "$with_cross_host" &&
5950 test x"$with_cross_host" != x"no"; then
5951 toolexecdir='$(exec_prefix)/$(target_noncanonical)'
5952 toolexeclibdir='$(toolexecdir)/lib'
5954 toolexecdir='$(libdir)/gcc-lib/$(target_noncanonical)'
5955 toolexeclibdir='$(libdir)'
5957 multi_os_directory=`$CC -print-multi-os-directory`
5958 case $multi_os_directory in
5959 .) ;; # Avoid trailing /.
5960 *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
5965 if test "${multilib}" = "yes"; then
5966 multilib_arg="--enable-multilib"
5971 ac_config_files="$ac_config_files Makefile include/Makefile"
5972 ac_config_commands="$ac_config_commands default"
5973 cat >confcache <<\_ACEOF
5974 # This file is a shell script that caches the results of configure
5975 # tests run on this system so they can be shared between configure
5976 # scripts and configure runs, see configure's option --config-cache.
5977 # It is not useful on other systems. If it contains results you don't
5978 # want to keep, you may remove or edit it.
5980 # config.status only pays attention to the cache file if you give it
5981 # the --recheck option to rerun configure.
5983 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5984 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5989 # The following way of writing the cache mishandles newlines in values,
5990 # but we know of no workaround that is simple, portable, and efficient.
5991 # So, don't put newlines in cache variables' values.
5992 # Ultrix sh set writes to stderr and can't be redirected directly,
5993 # and sets the high bit in the cache file unless we assign to the vars.
5996 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5998 # `set' does not quote correctly, so add quotes (double-quote
5999 # substitution turns \\\\ into \\, and sed turns \\ into \).
6002 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6005 # `set' quotes correctly as required by POSIX, so do not add quotes.
6007 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6014 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6016 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6018 if diff $cache_file confcache >/dev/null 2>&1; then :; else
6019 if test -w $cache_file; then
6020 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
6021 cat confcache >$cache_file
6023 echo "not updating unwritable cache $cache_file"
6028 test "x$prefix" = xNONE && prefix=$ac_default_prefix
6029 # Let make expand exec_prefix.
6030 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6032 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6033 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6034 # trailing colons and then remove the whole line if VPATH becomes empty
6035 # (actually we leave an empty line to preserve line numbers).
6036 if test "x$srcdir" = x.; then
6037 ac_vpsub='/^[ ]*VPATH[ ]*=/{
6038 s/:*\$(srcdir):*/:/;
6039 s/:*\${srcdir}:*/:/;
6041 s/^\([^=]*=[ ]*\):*/\1/;
6047 # Transform confdefs.h into DEFS.
6048 # Protect against shell expansion while executing Makefile rules.
6049 # Protect against Makefile macro expansion.
6051 # If the first sed substitution is executed (which looks for macros that
6052 # take arguments), then we branch to the quote section. Otherwise,
6053 # look for a macro that doesn't take arguments.
6054 cat >confdef2opt.sed <<\_ACEOF
6057 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
6059 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
6063 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
6069 # We use echo to avoid assuming a particular line-breaking character.
6070 # The extra dot is to prevent the shell from consuming trailing
6071 # line-breaks from the sub-command output. A line-break within
6072 # single-quotes doesn't work because, if this script is created in a
6073 # platform that uses two characters for line-breaks (e.g., DOS), tr
6075 ac_LF_and_DOT=`echo; echo .`
6076 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
6077 rm -f confdef2opt.sed
6082 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6083 # 1. Remove the extension, and $U if already installed.
6084 ac_i=`echo "$ac_i" |
6085 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
6087 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
6088 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
6092 LTLIBOBJS=$ac_ltlibobjs
6096 : ${CONFIG_STATUS=./config.status}
6097 ac_clean_files_save=$ac_clean_files
6098 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6099 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6100 echo "$as_me: creating $CONFIG_STATUS" >&6;}
6101 cat >$CONFIG_STATUS <<_ACEOF
6103 # Generated by $as_me.
6104 # Run this file to recreate the current configuration.
6105 # Compiler output produced by configure, useful for debugging
6106 # configure, is in config.log if it exists.
6111 SHELL=\${CONFIG_SHELL-$SHELL}
6114 cat >>$CONFIG_STATUS <<\_ACEOF
6115 ## --------------------- ##
6116 ## M4sh Initialization. ##
6117 ## --------------------- ##
6119 # Be Bourne compatible
6120 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
6123 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6124 # is contrary to our usage. Disable this feature.
6125 alias -g '${1+"$@"}'='"$@"'
6126 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
6130 # Support unset when possible.
6131 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
6138 # Work around bugs in pre-3.0 UWIN ksh.
6139 $as_unset ENV MAIL MAILPATH
6146 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
6147 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
6148 LC_TELEPHONE LC_TIME
6150 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
6151 eval $as_var=C; export $as_var
6157 # Required to use basename.
6158 if expr a : '\(a\)' >/dev/null 2>&1; then
6164 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
6165 as_basename=basename
6171 # Name of the executable.
6172 as_me=`$as_basename "$0" ||
6173 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6174 X"$0" : 'X\(//\)$' \| \
6175 X"$0" : 'X\(/\)$' \| \
6176 . : '\(.\)' 2>/dev/null ||
6178 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
6179 /^X\/\(\/\/\)$/{ s//\1/; q; }
6180 /^X\/\(\/\).*/{ s//\1/; q; }
6184 # PATH needs CR, and LINENO needs CR and PATH.
6185 # Avoid depending upon Character Ranges.
6186 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6187 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6188 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6189 as_cr_digits='0123456789'
6190 as_cr_alnum=$as_cr_Letters$as_cr_digits
6192 # The user is always right.
6193 if test "${PATH_SEPARATOR+set}" != set; then
6194 echo "#! /bin/sh" >conf$$.sh
6195 echo "exit 0" >>conf$$.sh
6197 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
6208 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6209 test "x$as_lineno_1" != "x$as_lineno_2" &&
6210 test "x$as_lineno_3" = "x$as_lineno_2" || {
6211 # Find who we are. Look in the path if we contain no path at all
6214 *[\\/]* ) as_myself=$0 ;;
6215 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6219 test -z "$as_dir" && as_dir=.
6220 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6225 # We did not find ourselves, most probably we were run as `sh COMMAND'
6226 # in which case we are not to be found in the path.
6227 if test "x$as_myself" = x; then
6230 if test ! -f "$as_myself"; then
6231 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
6232 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
6233 { (exit 1); exit 1; }; }
6235 case $CONFIG_SHELL in
6237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6238 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
6241 test -z "$as_dir" && as_dir=.
6242 for as_base in sh bash ksh sh5; do
6245 if ("$as_dir/$as_base" -c '
6248 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6249 test "x$as_lineno_1" != "x$as_lineno_2" &&
6250 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
6251 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
6252 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
6253 CONFIG_SHELL=$as_dir/$as_base
6255 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
6263 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6264 # uniformly replaced by the line number. The first 'sed' inserts a
6265 # line-number line before each line; the second 'sed' does the real
6266 # work. The second script uses 'N' to pair each line-number line
6267 # with the numbered line, and appends trailing '-' during
6268 # substitution so that $LINENO is not a special case at line end.
6269 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6270 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
6271 sed '=' <$as_myself |
6276 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
6279 s,^['$as_cr_digits']*\n,,
6281 chmod +x $as_me.lineno ||
6282 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
6283 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
6284 { (exit 1); exit 1; }; }
6286 # Don't try to exec as it changes $[0], causing all sort of problems
6287 # (the dirname of $[0] is not the place where we might find the
6288 # original and so on. Autoconf is especially sensible to this).
6290 # Exit status is that of the last command.
6295 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
6296 *c*,-n*) ECHO_N= ECHO_C='
6298 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
6299 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
6302 if expr a : '\(a\)' >/dev/null 2>&1; then
6308 rm -f conf$$ conf$$.exe conf$$.file
6310 if ln -s conf$$.file conf$$ 2>/dev/null; then
6311 # We could just check for DJGPP; but this test a) works b) is more generic
6312 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
6313 if test -f conf$$.exe; then
6314 # Don't use ln at all; we don't have any links
6319 elif ln conf$$.file conf$$ 2>/dev/null; then
6324 rm -f conf$$ conf$$.exe conf$$.file
6326 if mkdir -p . 2>/dev/null; then
6332 as_executable_p="test -f"
6334 # Sed expression to map a string onto a valid CPP name.
6335 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
6337 # Sed expression to map a string onto a valid variable name.
6338 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
6342 # We need space, tab and new line, in precisely that order.
6352 # Open the log real soon, to keep \$[0] and so on meaningful, and to
6353 # report actual input values of CONFIG_FILES etc. instead of their
6354 # values after options handling. Logging --version etc. is OK.
6358 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6359 ## Running $as_me. ##
6364 This file was extended by $as_me, which was
6365 generated by GNU Autoconf 2.57. Invocation command line was
6367 CONFIG_FILES = $CONFIG_FILES
6368 CONFIG_HEADERS = $CONFIG_HEADERS
6369 CONFIG_LINKS = $CONFIG_LINKS
6370 CONFIG_COMMANDS = $CONFIG_COMMANDS
6374 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
6378 # Files that config.status was made for.
6379 if test -n "$ac_config_files"; then
6380 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
6383 if test -n "$ac_config_headers"; then
6384 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
6387 if test -n "$ac_config_links"; then
6388 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
6391 if test -n "$ac_config_commands"; then
6392 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
6395 cat >>$CONFIG_STATUS <<\_ACEOF
6398 \`$as_me' instantiates files from templates according to the
6399 current configuration.
6401 Usage: $0 [OPTIONS] [FILE]...
6403 -h, --help print this help, then exit
6404 -V, --version print version number, then exit
6405 -q, --quiet do not print progress messages
6406 -d, --debug don't remove temporary files
6407 --recheck update $as_me by reconfiguring in the same conditions
6408 --file=FILE[:TEMPLATE]
6409 instantiate the configuration file FILE
6411 Configuration files:
6414 Configuration commands:
6417 Report bugs to <bug-autoconf@gnu.org>."
6420 cat >>$CONFIG_STATUS <<_ACEOF
6423 configured by $0, generated by GNU Autoconf 2.57,
6424 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
6426 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
6427 Free Software Foundation, Inc.
6428 This config.status script is free software; the Free Software Foundation
6429 gives unlimited permission to copy, distribute and modify it."
6434 cat >>$CONFIG_STATUS <<\_ACEOF
6435 # If no file are specified by the user, then we need to provide default
6436 # value. By we need to know if files were specified by the user.
6442 ac_option=`expr "x$1" : 'x\([^=]*\)='`
6443 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
6451 *) # This is not an option, so the user has probably given explicit
6454 ac_need_defaults=false;;
6458 # Handling of the options.
6460 cat >>$CONFIG_STATUS <<\_ACEOF
6461 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6463 --version | --vers* | -V )
6464 echo "$ac_cs_version"; exit 0 ;;
6466 # Conflict between --help and --header
6467 { { echo "$as_me:$LINENO: error: ambiguous option: $1
6468 Try \`$0 --help' for more information." >&5
6469 echo "$as_me: error: ambiguous option: $1
6470 Try \`$0 --help' for more information." >&2;}
6471 { (exit 1); exit 1; }; };;
6472 --help | --hel | -h )
6473 echo "$ac_cs_usage"; exit 0 ;;
6474 --debug | --d* | -d )
6476 --file | --fil | --fi | --f )
6478 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
6479 ac_need_defaults=false;;
6480 --header | --heade | --head | --hea )
6482 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
6483 ac_need_defaults=false;;
6484 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6485 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6489 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
6490 Try \`$0 --help' for more information." >&5
6491 echo "$as_me: error: unrecognized option: $1
6492 Try \`$0 --help' for more information." >&2;}
6493 { (exit 1); exit 1; }; } ;;
6495 *) ac_config_targets="$ac_config_targets $1" ;;
6501 ac_configure_extra_args=
6503 if $ac_cs_silent; then
6505 ac_configure_extra_args="$ac_configure_extra_args --silent"
6509 cat >>$CONFIG_STATUS <<_ACEOF
6510 if \$ac_cs_recheck; then
6511 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
6512 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6517 cat >>$CONFIG_STATUS <<_ACEOF
6519 # INIT-COMMANDS section.
6525 with_multisubdir=${with_multisubdir}
6526 ac_configure_args="${multilib_arg} ${ac_configure_args}"
6527 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
6528 gc_basedir=${gc_basedir}
6530 ORIGINAL_LD_FOR_MULTILIBS="${ORIGINAL_LD_FOR_MULTILIBS}"
6532 INCLUDES="$INCLUDES"
6539 cat >>$CONFIG_STATUS <<\_ACEOF
6540 for ac_config_target in $ac_config_targets
6542 case "$ac_config_target" in
6543 # Handling of arguments.
6544 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6545 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
6546 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
6547 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6548 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6549 { (exit 1); exit 1; }; };;
6553 # If the user did not use the arguments to specify the items to instantiate,
6554 # then the envvar interface is used. Set only those that are not.
6555 # We use the long form for the default assignment because of an extremely
6556 # bizarre bug on SunOS 4.1.3.
6557 if $ac_need_defaults; then
6558 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6559 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6562 # Have a temporary directory for convenience. Make it in the build tree
6563 # simply because there is no reason to put it here, and in addition,
6564 # creating and moving files from /tmp can sometimes cause problems.
6565 # Create a temporary directory, and hook for its removal unless debugging.
6568 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
6569 trap '{ (exit 1); exit 1; }' 1 2 13 15
6572 # Create a (secure) tmp directory for tmp files.
6575 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
6576 test -n "$tmp" && test -d "$tmp"
6579 tmp=./confstat$$-$RANDOM
6580 (umask 077 && mkdir $tmp)
6583 echo "$me: cannot create a temporary directory in ." >&2
6584 { (exit 1); exit 1; }
6589 cat >>$CONFIG_STATUS <<_ACEOF
6592 # CONFIG_FILES section.
6595 # No need to generate the scripts if there are no CONFIG_FILES.
6596 # This happens for instance when ./config.status config.h
6597 if test -n "\$CONFIG_FILES"; then
6598 # Protect against being on the right side of a sed subst in config.status.
6599 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
6600 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
6601 s,@SHELL@,$SHELL,;t t
6602 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
6603 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
6604 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
6605 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
6606 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
6607 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
6608 s,@exec_prefix@,$exec_prefix,;t t
6609 s,@prefix@,$prefix,;t t
6610 s,@program_transform_name@,$program_transform_name,;t t
6611 s,@bindir@,$bindir,;t t
6612 s,@sbindir@,$sbindir,;t t
6613 s,@libexecdir@,$libexecdir,;t t
6614 s,@datadir@,$datadir,;t t
6615 s,@sysconfdir@,$sysconfdir,;t t
6616 s,@sharedstatedir@,$sharedstatedir,;t t
6617 s,@localstatedir@,$localstatedir,;t t
6618 s,@libdir@,$libdir,;t t
6619 s,@includedir@,$includedir,;t t
6620 s,@oldincludedir@,$oldincludedir,;t t
6621 s,@infodir@,$infodir,;t t
6622 s,@mandir@,$mandir,;t t
6623 s,@build_alias@,$build_alias,;t t
6624 s,@host_alias@,$host_alias,;t t
6625 s,@target_alias@,$target_alias,;t t
6627 s,@ECHO_C@,$ECHO_C,;t t
6628 s,@ECHO_N@,$ECHO_N,;t t
6629 s,@ECHO_T@,$ECHO_T,;t t
6631 s,@gc_basedir@,$gc_basedir,;t t
6632 s,@build@,$build,;t t
6633 s,@build_cpu@,$build_cpu,;t t
6634 s,@build_vendor@,$build_vendor,;t t
6635 s,@build_os@,$build_os,;t t
6637 s,@host_cpu@,$host_cpu,;t t
6638 s,@host_vendor@,$host_vendor,;t t
6639 s,@host_os@,$host_os,;t t
6640 s,@target@,$target,;t t
6641 s,@target_cpu@,$target_cpu,;t t
6642 s,@target_vendor@,$target_vendor,;t t
6643 s,@target_os@,$target_os,;t t
6644 s,@mkinstalldirs@,$mkinstalldirs,;t t
6645 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
6646 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
6647 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
6648 s,@PACKAGE@,$PACKAGE,;t t
6649 s,@VERSION@,$VERSION,;t t
6650 s,@ACLOCAL@,$ACLOCAL,;t t
6651 s,@AUTOCONF@,$AUTOCONF,;t t
6652 s,@AUTOMAKE@,$AUTOMAKE,;t t
6653 s,@AUTOHEADER@,$AUTOHEADER,;t t
6654 s,@MAKEINFO@,$MAKEINFO,;t t
6655 s,@SET_MAKE@,$SET_MAKE,;t t
6657 s,@ac_ct_CC@,$ac_ct_CC,;t t
6658 s,@EXEEXT@,$EXEEXT,;t t
6659 s,@OBJEXT@,$OBJEXT,;t t
6661 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
6662 s,@CFLAGS@,$CFLAGS,;t t
6663 s,@CXXFLAGS@,$CXXFLAGS,;t t
6665 s,@CCASFLAGS@,$CCASFLAGS,;t t
6667 s,@ac_ct_AS@,$ac_ct_AS,;t t
6669 s,@ac_ct_AR@,$ac_ct_AR,;t t
6670 s,@RANLIB@,$RANLIB,;t t
6671 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
6672 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
6673 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
6674 s,@MAINT@,$MAINT,;t t
6675 s,@GC_CFLAGS@,$GC_CFLAGS,;t t
6677 s,@STRIP@,$STRIP,;t t
6678 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
6679 s,@LIBTOOL@,$LIBTOOL,;t t
6680 s,@CXXCPP@,$CXXCPP,;t t
6681 s,@CPPFLAGS@,$CPPFLAGS,;t t
6682 s,@THREADLIBS@,$THREADLIBS,;t t
6683 s,@POWERPC_DARWIN_TRUE@,$POWERPC_DARWIN_TRUE,;t t
6684 s,@POWERPC_DARWIN_FALSE@,$POWERPC_DARWIN_FALSE,;t t
6685 s,@EXTRA_TEST_LIBS@,$EXTRA_TEST_LIBS,;t t
6686 s,@target_all@,$target_all,;t t
6687 s,@target_noncanonical@,$target_noncanonical,;t t
6688 s,@CPLUSPLUS_TRUE@,$CPLUSPLUS_TRUE,;t t
6689 s,@CPLUSPLUS_FALSE@,$CPLUSPLUS_FALSE,;t t
6690 s,@INCLUDES@,$INCLUDES,;t t
6691 s,@CXXINCLUDES@,$CXXINCLUDES,;t t
6692 s,@addobjs@,$addobjs,;t t
6693 s,@addincludes@,$addincludes,;t t
6694 s,@addlibs@,$addlibs,;t t
6695 s,@addtests@,$addtests,;t t
6697 s,@EGREP@,$EGREP,;t t
6698 s,@MY_CFLAGS@,$MY_CFLAGS,;t t
6699 s,@toolexecdir@,$toolexecdir,;t t
6700 s,@toolexeclibdir@,$toolexeclibdir,;t t
6701 s,@LIBOBJS@,$LIBOBJS,;t t
6702 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
6707 cat >>$CONFIG_STATUS <<\_ACEOF
6708 # Split the substitutions into bite-sized pieces for seds with
6709 # small command number limits, like on Digital OSF/1 and HP-UX.
6711 ac_sed_frag=1 # Number of current file.
6712 ac_beg=1 # First line for current file.
6713 ac_end=$ac_max_sed_lines # Line after last line for current file.
6716 while $ac_more_lines; do
6717 if test $ac_beg -gt 1; then
6718 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
6720 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
6722 if test ! -s $tmp/subs.frag; then
6725 # The purpose of the label and of the branching condition is to
6726 # speed up the sed processing (if there are no `@' at all, there
6727 # is no need to browse any of the substitutions).
6728 # These are the two extra sed commands mentioned above.
6730 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
6731 if test -z "$ac_sed_cmds"; then
6732 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
6734 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
6736 ac_sed_frag=`expr $ac_sed_frag + 1`
6738 ac_end=`expr $ac_end + $ac_max_sed_lines`
6741 if test -z "$ac_sed_cmds"; then
6744 fi # test -n "$CONFIG_FILES"
6747 cat >>$CONFIG_STATUS <<\_ACEOF
6748 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
6749 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6751 - | *:- | *:-:* ) # input from stdin
6753 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6754 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6755 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6756 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6757 * ) ac_file_in=$ac_file.in ;;
6760 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
6761 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6762 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6763 X"$ac_file" : 'X\(//\)[^/]' \| \
6764 X"$ac_file" : 'X\(//\)$' \| \
6765 X"$ac_file" : 'X\(/\)' \| \
6766 . : '\(.\)' 2>/dev/null ||
6768 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6769 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6770 /^X\(\/\/\)$/{ s//\1/; q; }
6771 /^X\(\/\).*/{ s//\1/; q; }
6773 { if $as_mkdir_p; then
6778 while test ! -d "$as_dir"; do
6779 as_dirs="$as_dir $as_dirs"
6780 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6781 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6782 X"$as_dir" : 'X\(//\)[^/]' \| \
6783 X"$as_dir" : 'X\(//\)$' \| \
6784 X"$as_dir" : 'X\(/\)' \| \
6785 . : '\(.\)' 2>/dev/null ||
6787 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6788 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6789 /^X\(\/\/\)$/{ s//\1/; q; }
6790 /^X\(\/\).*/{ s//\1/; q; }
6793 test ! -n "$as_dirs" || mkdir $as_dirs
6794 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6795 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6796 { (exit 1); exit 1; }; }; }
6800 if test "$ac_dir" != .; then
6801 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6802 # A "../" for each directory in $ac_dir_suffix.
6803 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6805 ac_dir_suffix= ac_top_builddir=
6809 .) # No --srcdir option. We are building in place.
6811 if test -z "$ac_top_builddir"; then
6814 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6816 [\\/]* | ?:[\\/]* ) # Absolute path.
6817 ac_srcdir=$srcdir$ac_dir_suffix;
6818 ac_top_srcdir=$srcdir ;;
6820 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6821 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6823 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
6825 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
6826 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
6827 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
6828 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
6832 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6833 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
6836 if test x"$ac_file" != x-; then
6837 { echo "$as_me:$LINENO: creating $ac_file" >&5
6838 echo "$as_me: creating $ac_file" >&6;}
6841 # Let's still pretend it is `configure' which instantiates (i.e., don't
6842 # use $as_me), people would be surprised to read:
6843 # /* config.h. Generated by config.status. */
6844 if test x"$ac_file" = x-; then
6847 configure_input="$ac_file. "
6849 configure_input=$configure_input"Generated from `echo $ac_file_in |
6850 sed 's,.*/,,'` by configure."
6852 # First look for the input files in the build tree, otherwise in the
6854 ac_file_inputs=`IFS=:
6855 for f in $ac_file_in; do
6857 -) echo $tmp/stdin ;;
6859 # Absolute (can't be DOS-style, as IFS=:)
6860 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6861 echo "$as_me: error: cannot find input file: $f" >&2;}
6862 { (exit 1); exit 1; }; }
6865 if test -f "$f"; then
6868 elif test -f "$srcdir/$f"; then
6873 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6874 echo "$as_me: error: cannot find input file: $f" >&2;}
6875 { (exit 1); exit 1; }; }
6878 done` || { (exit 1); exit 1; }
6880 cat >>$CONFIG_STATUS <<_ACEOF
6884 cat >>$CONFIG_STATUS <<\_ACEOF
6886 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6887 s,@configure_input@,$configure_input,;t t
6888 s,@srcdir@,$ac_srcdir,;t t
6889 s,@abs_srcdir@,$ac_abs_srcdir,;t t
6890 s,@top_srcdir@,$ac_top_srcdir,;t t
6891 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
6892 s,@builddir@,$ac_builddir,;t t
6893 s,@abs_builddir@,$ac_abs_builddir,;t t
6894 s,@top_builddir@,$ac_top_builddir,;t t
6895 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
6896 s,@INSTALL@,$ac_INSTALL,;t t
6897 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6899 if test x"$ac_file" != x-; then
6900 mv $tmp/out $ac_file
6908 cat >>$CONFIG_STATUS <<\_ACEOF
6911 # CONFIG_COMMANDS section.
6913 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
6914 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
6915 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
6916 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
6917 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6918 X"$ac_dest" : 'X\(//\)[^/]' \| \
6919 X"$ac_dest" : 'X\(//\)$' \| \
6920 X"$ac_dest" : 'X\(/\)' \| \
6921 . : '\(.\)' 2>/dev/null ||
6923 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6924 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6925 /^X\(\/\/\)$/{ s//\1/; q; }
6926 /^X\(\/\).*/{ s//\1/; q; }
6930 if test "$ac_dir" != .; then
6931 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6932 # A "../" for each directory in $ac_dir_suffix.
6933 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6935 ac_dir_suffix= ac_top_builddir=
6939 .) # No --srcdir option. We are building in place.
6941 if test -z "$ac_top_builddir"; then
6944 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6946 [\\/]* | ?:[\\/]* ) # Absolute path.
6947 ac_srcdir=$srcdir$ac_dir_suffix;
6948 ac_top_srcdir=$srcdir ;;
6950 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6951 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6953 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
6955 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
6956 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
6957 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
6958 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
6961 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
6962 echo "$as_me: executing $ac_dest commands" >&6;}
6965 echo "$INCLUDES $DEFS" > boehm-cflags
6967 if test -n "$CONFIG_FILES"; then
6968 LD="${ORIGINAL_LD_FOR_MULTILIBS}"
6969 ac_file=Makefile . ${gc_basedir}/../config-ml.in
6975 cat >>$CONFIG_STATUS <<\_ACEOF
6977 { (exit 0); exit 0; }
6979 chmod +x $CONFIG_STATUS
6980 ac_clean_files=$ac_clean_files_save
6983 # configure is writing to config.log, and then calls config.status.
6984 # config.status does its own redirection, appending to config.log.
6985 # Unfortunately, on DOS this fails, as config.log is still kept open
6986 # by configure, so config.status won't be able to write to it; its
6987 # output is simply discarded. So we exec the FD to /dev/null,
6988 # effectively closing config.log, so it can be properly (re)opened and
6989 # appended to by config.status. When coming back to configure, we
6990 # need to make the FD available again.
6991 if test "$no_create" != yes; then
6993 ac_config_status_args=
6994 test "$silent" = yes &&
6995 ac_config_status_args="$ac_config_status_args --quiet"
6997 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6999 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7000 # would make configure fail if this is the last instruction.
7001 $ac_cs_success || { (exit 1); exit 1; }