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
1289 # Check whether --enable-multilib or --disable-multilib was given.
1290 if test "${enable_multilib+set}" = set; then
1291 enableval="$enable_multilib"
1292 case "${enableval}" in
1293 yes) multilib=yes ;;
1295 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for multilib option" >&5
1296 echo "$as_me: error: bad value ${enableval} for multilib option" >&2;}
1297 { (exit 1); exit 1; }; } ;;
1303 if test "${srcdir}" = "."; then
1304 if test "${with_target_subdir}" != "." -a -n "${with_target_subdir}"; then
1305 gc_basedir="${srcdir}/${with_multisrctop}../."
1307 gc_basedir="${srcdir}/${with_multisrctop}."
1310 gc_basedir="${srcdir}/."
1314 for ac_dir in $gc_basedir/.. $srcdir/$gc_basedir/..; do
1315 if test -f $ac_dir/install-sh; then
1317 ac_install_sh="$ac_aux_dir/install-sh -c"
1319 elif test -f $ac_dir/install.sh; then
1321 ac_install_sh="$ac_aux_dir/install.sh -c"
1323 elif test -f $ac_dir/shtool; then
1325 ac_install_sh="$ac_aux_dir/shtool install -c"
1329 if test -z "$ac_aux_dir"; then
1330 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $gc_basedir/.. $srcdir/$gc_basedir/.." >&5
1331 echo "$as_me: error: cannot find install-sh or install.sh in $gc_basedir/.. $srcdir/$gc_basedir/.." >&2;}
1332 { (exit 1); exit 1; }; }
1334 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1335 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1336 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1339 # This overrides the previous occurrence for automake, but not for
1340 # autoconf, which is exactly what we want.
1342 for ac_dir in .. $srcdir/..; do
1343 if test -f $ac_dir/install-sh; then
1345 ac_install_sh="$ac_aux_dir/install-sh -c"
1347 elif test -f $ac_dir/install.sh; then
1349 ac_install_sh="$ac_aux_dir/install.sh -c"
1351 elif test -f $ac_dir/shtool; then
1353 ac_install_sh="$ac_aux_dir/shtool install -c"
1357 if test -z "$ac_aux_dir"; then
1358 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in .. $srcdir/.." >&5
1359 echo "$as_me: error: cannot find install-sh or install.sh in .. $srcdir/.." >&2;}
1360 { (exit 1); exit 1; }; }
1362 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1363 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1364 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1368 # Make sure we can run config.sub.
1369 $ac_config_sub sun4 >/dev/null 2>&1 ||
1370 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1371 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1372 { (exit 1); exit 1; }; }
1374 echo "$as_me:$LINENO: checking build system type" >&5
1375 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1376 if test "${ac_cv_build+set}" = set; then
1377 echo $ECHO_N "(cached) $ECHO_C" >&6
1379 ac_cv_build_alias=$build_alias
1380 test -z "$ac_cv_build_alias" &&
1381 ac_cv_build_alias=`$ac_config_guess`
1382 test -z "$ac_cv_build_alias" &&
1383 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1384 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1385 { (exit 1); exit 1; }; }
1386 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1387 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1388 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1389 { (exit 1); exit 1; }; }
1392 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1393 echo "${ECHO_T}$ac_cv_build" >&6
1395 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1396 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1397 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1400 echo "$as_me:$LINENO: checking host system type" >&5
1401 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1402 if test "${ac_cv_host+set}" = set; then
1403 echo $ECHO_N "(cached) $ECHO_C" >&6
1405 ac_cv_host_alias=$host_alias
1406 test -z "$ac_cv_host_alias" &&
1407 ac_cv_host_alias=$ac_cv_build_alias
1408 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1409 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1410 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1411 { (exit 1); exit 1; }; }
1414 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1415 echo "${ECHO_T}$ac_cv_host" >&6
1417 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1418 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1419 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1422 echo "$as_me:$LINENO: checking target system type" >&5
1423 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1424 if test "${ac_cv_target+set}" = set; then
1425 echo $ECHO_N "(cached) $ECHO_C" >&6
1427 ac_cv_target_alias=$target_alias
1428 test "x$ac_cv_target_alias" = "x" &&
1429 ac_cv_target_alias=$ac_cv_host_alias
1430 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1431 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1432 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1433 { (exit 1); exit 1; }; }
1436 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1437 echo "${ECHO_T}$ac_cv_target" >&6
1438 target=$ac_cv_target
1439 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1440 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1441 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1444 # The aliases save the names the user supplied, while $host etc.
1445 # will get canonicalized.
1446 test -n "$target_alias" &&
1447 test "$program_prefix$program_suffix$program_transform_name" = \
1449 program_prefix=${target_alias}-
1451 # Get the 'noncanonical' system names.
1452 # Autoconf M4 include file defining utility macros for complex Canadian
1461 # _NCN_TOOL_PREFIXES: Some stuff that oughtta be done in AC_CANONICAL_SYSTEM
1463 # These demand that AC_CANONICAL_SYSTEM be called beforehand.
1466 # NCN_CHECK_TARGET_TOOL(variable, prog-to-check-for,[value-if-not-found],[path])
1467 # Like AC_CHECK_TOOL, but tries a prefix of the target, not the host.
1468 # Code is pretty much lifted from autoconf2.53.
1473 # NCN_STRICT_CHECK_TOOL(variable, prog-to-check-for,[value-if-not-found],[path])
1474 # Like AC_CHECK_TOOL, but requires the prefix if build!=host.
1479 # NCN_STRICT_CHECK_TARGET_TOOL(variable, prog-to-check-for,[value-if-not-found],[path])
1480 # Like NCN_CHECK_TARGET_TOOL, but requires the prefix if build!=target.
1484 # AC_PROG_CPP_WERROR
1485 # Used for autoconf 2.5x to force AC_PREPROC_IFELSE to reject code which
1486 # triggers warnings from the preprocessor. Will be in autoconf 2.58.
1487 # For now, using this also overrides header checks to use only the
1488 # preprocessor (matches 2.13 behavior; matching 2.58's behavior is a
1489 # bit harder from here).
1490 # Eventually autoconf will default to checking headers with the compiler
1491 # instead, and we'll have to do this differently.
1493 # AC_PROG_CPP_WERROR
1495 case ${build_alias} in
1496 "") build_noncanonical=${build} ;;
1497 *) build_noncanonical=${build_alias} ;;
1500 case ${host_alias} in
1501 "") host_noncanonical=${build_noncanonical} ;;
1502 *) host_noncanonical=${host_alias} ;;
1505 case ${target_alias} in
1506 "") target_noncanonical=${host_noncanonical} ;;
1507 *) target_noncanonical=${target_alias} ;;
1511 # This works around an automake problem.
1512 mkinstalldirs="`cd $ac_aux_dir && ${PWDCMD-pwd}`/mkinstalldirs"
1515 # Find a good install program. We prefer a C program (faster),
1516 # so one script is as good as another. But avoid the broken or
1517 # incompatible versions:
1518 # SysV /etc/install, /usr/sbin/install
1519 # SunOS /usr/etc/install
1520 # IRIX /sbin/install
1522 # AmigaOS /C/install, which installs bootblocks on floppy discs
1523 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1524 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1525 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1526 # ./install, which can be erroneously created by make from ./install.sh.
1527 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1528 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1529 if test -z "$INSTALL"; then
1530 if test "${ac_cv_path_install+set}" = set; then
1531 echo $ECHO_N "(cached) $ECHO_C" >&6
1533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1537 test -z "$as_dir" && as_dir=.
1538 # Account for people who put trailing slashes in PATH elements.
1540 ./ | .// | /cC/* | \
1541 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1544 # OSF1 and SCO ODT 3.0 have their own names for install.
1545 # Don't use installbsd from OSF since it installs stuff as root
1547 for ac_prog in ginstall scoinst install; do
1548 for ac_exec_ext in '' $ac_executable_extensions; do
1549 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1550 if test $ac_prog = install &&
1551 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1552 # AIX install. It has an incompatible calling convention.
1554 elif test $ac_prog = install &&
1555 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1556 # program-specific install script used by HP pwplus--don't use.
1559 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1571 if test "${ac_cv_path_install+set}" = set; then
1572 INSTALL=$ac_cv_path_install
1574 # As a last resort, use the slow shell script. We don't cache a
1575 # path for INSTALL within a source directory, because that will
1576 # break other packages using the cache if that directory is
1577 # removed, or if the path is relative.
1578 INSTALL=$ac_install_sh
1581 echo "$as_me:$LINENO: result: $INSTALL" >&5
1582 echo "${ECHO_T}$INSTALL" >&6
1584 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1585 # It thinks the first close brace ends the variable substitution.
1586 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1588 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1590 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1592 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1593 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1596 echo timestamp > conftestfile
1597 # Do `set' in a subshell so we don't clobber the current shell's
1598 # arguments. Must try -L first in case configure is actually a
1599 # symlink; some systems play weird games with the mod time of symlinks
1600 # (eg FreeBSD returns the mod time of the symlink's containing
1603 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
1604 if test "$*" = "X"; then
1606 set X `ls -t $srcdir/configure conftestfile`
1608 if test "$*" != "X $srcdir/configure conftestfile" \
1609 && test "$*" != "X conftestfile $srcdir/configure"; then
1611 # If neither matched, then we have a broken ls. This can happen
1612 # if, for instance, CONFIG_SHELL is bash and it inherits a
1613 # broken ls alias from the environment. This has actually
1614 # happened. Such a system could not be considered "sane".
1615 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1616 alias in your environment" >&5
1617 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1618 alias in your environment" >&2;}
1619 { (exit 1); exit 1; }; }
1622 test "$2" = conftestfile
1628 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1629 Check your system clock" >&5
1630 echo "$as_me: error: newly created file is older than distributed files!
1631 Check your system clock" >&2;}
1632 { (exit 1); exit 1; }; }
1635 echo "$as_me:$LINENO: result: yes" >&5
1636 echo "${ECHO_T}yes" >&6
1637 test "$program_prefix" != NONE &&
1638 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1639 # Use a double $ so make ignores it.
1640 test "$program_suffix" != NONE &&
1641 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1642 # Double any \ or $. echo might interpret backslashes.
1643 # By default was `s,x,x', remove it if useless.
1644 cat <<\_ACEOF >conftest.sed
1645 s/[\\$]/&&/g;s/;s,x,x,$//
1647 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1650 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1651 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1652 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1653 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1654 echo $ECHO_N "(cached) $ECHO_C" >&6
1656 cat >conftest.make <<\_ACEOF
1658 @echo 'ac_maketemp="$(MAKE)"'
1660 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1661 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1662 if test -n "$ac_maketemp"; then
1663 eval ac_cv_prog_make_${ac_make}_set=yes
1665 eval ac_cv_prog_make_${ac_make}_set=no
1669 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1670 echo "$as_me:$LINENO: result: yes" >&5
1671 echo "${ECHO_T}yes" >&6
1674 echo "$as_me:$LINENO: result: no" >&5
1675 echo "${ECHO_T}no" >&6
1676 SET_MAKE="MAKE=${MAKE-make}"
1684 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
1685 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1686 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1687 { (exit 1); exit 1; }; }
1692 missing_dir=`cd $ac_aux_dir && pwd`
1693 echo "$as_me:$LINENO: checking for working aclocal" >&5
1694 echo $ECHO_N "checking for working aclocal... $ECHO_C" >&6
1695 # Run test in a subshell; some versions of sh will print an error if
1696 # an executable is not found, even if stderr is redirected.
1697 # Redirect stdin to placate older versions of autoconf. Sigh.
1698 if (aclocal --version) < /dev/null > /dev/null 2>&1; then
1700 echo "$as_me:$LINENO: result: found" >&5
1701 echo "${ECHO_T}found" >&6
1703 ACLOCAL="$missing_dir/missing aclocal"
1704 echo "$as_me:$LINENO: result: missing" >&5
1705 echo "${ECHO_T}missing" >&6
1708 echo "$as_me:$LINENO: checking for working autoconf" >&5
1709 echo $ECHO_N "checking for working autoconf... $ECHO_C" >&6
1710 # Run test in a subshell; some versions of sh will print an error if
1711 # an executable is not found, even if stderr is redirected.
1712 # Redirect stdin to placate older versions of autoconf. Sigh.
1713 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
1715 echo "$as_me:$LINENO: result: found" >&5
1716 echo "${ECHO_T}found" >&6
1718 AUTOCONF="$missing_dir/missing autoconf"
1719 echo "$as_me:$LINENO: result: missing" >&5
1720 echo "${ECHO_T}missing" >&6
1723 echo "$as_me:$LINENO: checking for working automake" >&5
1724 echo $ECHO_N "checking for working automake... $ECHO_C" >&6
1725 # Run test in a subshell; some versions of sh will print an error if
1726 # an executable is not found, even if stderr is redirected.
1727 # Redirect stdin to placate older versions of autoconf. Sigh.
1728 if (automake --version) < /dev/null > /dev/null 2>&1; then
1730 echo "$as_me:$LINENO: result: found" >&5
1731 echo "${ECHO_T}found" >&6
1733 AUTOMAKE="$missing_dir/missing automake"
1734 echo "$as_me:$LINENO: result: missing" >&5
1735 echo "${ECHO_T}missing" >&6
1738 echo "$as_me:$LINENO: checking for working autoheader" >&5
1739 echo $ECHO_N "checking for working autoheader... $ECHO_C" >&6
1740 # Run test in a subshell; some versions of sh will print an error if
1741 # an executable is not found, even if stderr is redirected.
1742 # Redirect stdin to placate older versions of autoconf. Sigh.
1743 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
1744 AUTOHEADER=autoheader
1745 echo "$as_me:$LINENO: result: found" >&5
1746 echo "${ECHO_T}found" >&6
1748 AUTOHEADER="$missing_dir/missing autoheader"
1749 echo "$as_me:$LINENO: result: missing" >&5
1750 echo "${ECHO_T}missing" >&6
1753 echo "$as_me:$LINENO: checking for working makeinfo" >&5
1754 echo $ECHO_N "checking for working makeinfo... $ECHO_C" >&6
1755 # Run test in a subshell; some versions of sh will print an error if
1756 # an executable is not found, even if stderr is redirected.
1757 # Redirect stdin to placate older versions of autoconf. Sigh.
1758 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
1760 echo "$as_me:$LINENO: result: found" >&5
1761 echo "${ECHO_T}found" >&6
1763 MAKEINFO="$missing_dir/missing makeinfo"
1764 echo "$as_me:$LINENO: result: missing" >&5
1765 echo "${ECHO_T}missing" >&6
1770 # The autoconf 2.5x version of the no-executables hack.
1771 # GCC_NO_EXECUTABLES
1773 # FIXME: The GCC team has specific needs which the current Autoconf
1774 # framework cannot solve elegantly. This macro implements a dirty
1775 # hack until Autoconf is able to provide the services its users
1778 # Several of the support libraries that are often built with GCC can't
1779 # assume the tool-chain is already capable of linking a program: the
1780 # compiler often expects to be able to link with some of such
1783 # In several of these libraries, workarounds have been introduced to
1784 # avoid the AC_PROG_CC_WORKS test, that would just abort their
1785 # configuration. The introduction of AC_EXEEXT, enabled either by
1786 # libtool or by CVS autoconf, have just made matters worse.
1788 # Unlike the previous AC_NO_EXECUTABLES, this test does not
1789 # disable link tests at autoconf time, but at configure time.
1790 # This allows AC_NO_EXECUTABLES to be invoked conditionally.
1791 # GCC_NO_EXECUTABLES
1795 # Yak. We must force CC and CXX to /not/ be precious variables; otherwise
1796 # the wrong, non-multilib-adjusted value will be used in multilibs.
1797 # As a side effect, we have to subst CFLAGS and CXXFLAGS ourselves.
1802 ac_cpp='$CPP $CPPFLAGS'
1803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1806 if test -n "$ac_tool_prefix"; then
1807 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1808 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1809 echo "$as_me:$LINENO: checking for $ac_word" >&5
1810 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1811 if test "${ac_cv_prog_CC+set}" = set; then
1812 echo $ECHO_N "(cached) $ECHO_C" >&6
1814 if test -n "$CC"; then
1815 ac_cv_prog_CC="$CC" # Let the user override the test.
1817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1821 test -z "$as_dir" && as_dir=.
1822 for ac_exec_ext in '' $ac_executable_extensions; do
1823 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1824 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1825 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1834 if test -n "$CC"; then
1835 echo "$as_me:$LINENO: result: $CC" >&5
1836 echo "${ECHO_T}$CC" >&6
1838 echo "$as_me:$LINENO: result: no" >&5
1839 echo "${ECHO_T}no" >&6
1843 if test -z "$ac_cv_prog_CC"; then
1845 # Extract the first word of "gcc", so it can be a program name with args.
1846 set dummy gcc; ac_word=$2
1847 echo "$as_me:$LINENO: checking for $ac_word" >&5
1848 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1849 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1850 echo $ECHO_N "(cached) $ECHO_C" >&6
1852 if test -n "$ac_ct_CC"; then
1853 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1859 test -z "$as_dir" && as_dir=.
1860 for ac_exec_ext in '' $ac_executable_extensions; do
1861 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1862 ac_cv_prog_ac_ct_CC="gcc"
1863 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1871 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1872 if test -n "$ac_ct_CC"; then
1873 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1874 echo "${ECHO_T}$ac_ct_CC" >&6
1876 echo "$as_me:$LINENO: result: no" >&5
1877 echo "${ECHO_T}no" >&6
1885 if test -z "$CC"; then
1886 if test -n "$ac_tool_prefix"; then
1887 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1888 set dummy ${ac_tool_prefix}cc; ac_word=$2
1889 echo "$as_me:$LINENO: checking for $ac_word" >&5
1890 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1891 if test "${ac_cv_prog_CC+set}" = set; then
1892 echo $ECHO_N "(cached) $ECHO_C" >&6
1894 if test -n "$CC"; then
1895 ac_cv_prog_CC="$CC" # Let the user override the test.
1897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1901 test -z "$as_dir" && as_dir=.
1902 for ac_exec_ext in '' $ac_executable_extensions; do
1903 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1904 ac_cv_prog_CC="${ac_tool_prefix}cc"
1905 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1914 if test -n "$CC"; then
1915 echo "$as_me:$LINENO: result: $CC" >&5
1916 echo "${ECHO_T}$CC" >&6
1918 echo "$as_me:$LINENO: result: no" >&5
1919 echo "${ECHO_T}no" >&6
1923 if test -z "$ac_cv_prog_CC"; then
1925 # Extract the first word of "cc", so it can be a program name with args.
1926 set dummy cc; ac_word=$2
1927 echo "$as_me:$LINENO: checking for $ac_word" >&5
1928 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1929 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1930 echo $ECHO_N "(cached) $ECHO_C" >&6
1932 if test -n "$ac_ct_CC"; then
1933 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1939 test -z "$as_dir" && as_dir=.
1940 for ac_exec_ext in '' $ac_executable_extensions; do
1941 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1942 ac_cv_prog_ac_ct_CC="cc"
1943 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1951 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1952 if test -n "$ac_ct_CC"; then
1953 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1954 echo "${ECHO_T}$ac_ct_CC" >&6
1956 echo "$as_me:$LINENO: result: no" >&5
1957 echo "${ECHO_T}no" >&6
1966 if test -z "$CC"; then
1967 # Extract the first word of "cc", so it can be a program name with args.
1968 set dummy cc; ac_word=$2
1969 echo "$as_me:$LINENO: checking for $ac_word" >&5
1970 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1971 if test "${ac_cv_prog_CC+set}" = set; then
1972 echo $ECHO_N "(cached) $ECHO_C" >&6
1974 if test -n "$CC"; then
1975 ac_cv_prog_CC="$CC" # Let the user override the test.
1978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1982 test -z "$as_dir" && as_dir=.
1983 for ac_exec_ext in '' $ac_executable_extensions; do
1984 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1985 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1986 ac_prog_rejected=yes
1990 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1996 if test $ac_prog_rejected = yes; then
1997 # We found a bogon in the path, so make sure we never use it.
1998 set dummy $ac_cv_prog_CC
2000 if test $# != 0; then
2001 # We chose a different compiler from the bogus one.
2002 # However, it has the same basename, so the bogon will be chosen
2003 # first if we set CC to just the basename; use the full file name.
2005 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2011 if test -n "$CC"; then
2012 echo "$as_me:$LINENO: result: $CC" >&5
2013 echo "${ECHO_T}$CC" >&6
2015 echo "$as_me:$LINENO: result: no" >&5
2016 echo "${ECHO_T}no" >&6
2020 if test -z "$CC"; then
2021 if test -n "$ac_tool_prefix"; then
2024 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2025 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2026 echo "$as_me:$LINENO: checking for $ac_word" >&5
2027 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2028 if test "${ac_cv_prog_CC+set}" = set; then
2029 echo $ECHO_N "(cached) $ECHO_C" >&6
2031 if test -n "$CC"; then
2032 ac_cv_prog_CC="$CC" # Let the user override the test.
2034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2038 test -z "$as_dir" && as_dir=.
2039 for ac_exec_ext in '' $ac_executable_extensions; do
2040 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2041 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2042 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2051 if test -n "$CC"; then
2052 echo "$as_me:$LINENO: result: $CC" >&5
2053 echo "${ECHO_T}$CC" >&6
2055 echo "$as_me:$LINENO: result: no" >&5
2056 echo "${ECHO_T}no" >&6
2059 test -n "$CC" && break
2062 if test -z "$CC"; then
2066 # Extract the first word of "$ac_prog", so it can be a program name with args.
2067 set dummy $ac_prog; ac_word=$2
2068 echo "$as_me:$LINENO: checking for $ac_word" >&5
2069 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2070 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2071 echo $ECHO_N "(cached) $ECHO_C" >&6
2073 if test -n "$ac_ct_CC"; then
2074 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2080 test -z "$as_dir" && as_dir=.
2081 for ac_exec_ext in '' $ac_executable_extensions; do
2082 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2083 ac_cv_prog_ac_ct_CC="$ac_prog"
2084 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2092 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2093 if test -n "$ac_ct_CC"; then
2094 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2095 echo "${ECHO_T}$ac_ct_CC" >&6
2097 echo "$as_me:$LINENO: result: no" >&5
2098 echo "${ECHO_T}no" >&6
2101 test -n "$ac_ct_CC" && break
2110 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2111 See \`config.log' for more details." >&5
2112 echo "$as_me: error: no acceptable C compiler found in \$PATH
2113 See \`config.log' for more details." >&2;}
2114 { (exit 1); exit 1; }; }
2116 # Provide some information about the compiler.
2117 echo "$as_me:$LINENO:" \
2118 "checking for C compiler version" >&5
2119 ac_compiler=`set X $ac_compile; echo $2`
2120 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2121 (eval $ac_compiler --version </dev/null >&5) 2>&5
2123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2124 (exit $ac_status); }
2125 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2126 (eval $ac_compiler -v </dev/null >&5) 2>&5
2128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2129 (exit $ac_status); }
2130 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2131 (eval $ac_compiler -V </dev/null >&5) 2>&5
2133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2134 (exit $ac_status); }
2136 cat >conftest.$ac_ext <<_ACEOF
2137 #line $LINENO "configure"
2140 cat confdefs.h >>conftest.$ac_ext
2141 cat >>conftest.$ac_ext <<_ACEOF
2142 /* end confdefs.h. */
2153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2154 (eval $ac_link) 2>&5
2156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2157 (exit $ac_status); }; then
2163 if test x$gcc_no_link = xyes; then
2164 # Setting cross_compile will disable run tests; it will
2165 # also disable AC_CHECK_FILE but that's generally
2166 # correct if we can't link.
2170 cat >conftest.$ac_ext <<_ACEOF
2171 #line $LINENO "configure"
2174 cat confdefs.h >>conftest.$ac_ext
2175 cat >>conftest.$ac_ext <<_ACEOF
2176 /* end confdefs.h. */
2186 ac_clean_files_save=$ac_clean_files
2187 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2188 # Try to create an executable without -o first, disregard a.out.
2189 # It will help us diagnose broken compilers, and finding out an intuition
2191 echo "$as_me:$LINENO: checking for C compiler default output" >&5
2192 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2193 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2194 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2195 (eval $ac_link_default) 2>&5
2197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2198 (exit $ac_status); }; then
2199 # Find the output, starting from the most likely. This scheme is
2200 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2203 # Be careful to initialize this variable, since it used to be cached.
2204 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2206 # b.out is created by i960 compilers.
2207 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2209 test -f "$ac_file" || continue
2211 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2214 # This is the source file.
2217 # We found the default executable, but exeext='' is most
2221 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2222 # FIXME: I believe we export ac_cv_exeext for Libtool,
2223 # but it would be cool to find out if it's true. Does anybody
2224 # maintain Libtool? --akim.
2232 echo "$as_me: failed program was:" >&5
2233 sed 's/^/| /' conftest.$ac_ext >&5
2235 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2236 See \`config.log' for more details." >&5
2237 echo "$as_me: error: C compiler cannot create executables
2238 See \`config.log' for more details." >&2;}
2239 { (exit 77); exit 77; }; }
2242 ac_exeext=$ac_cv_exeext
2243 echo "$as_me:$LINENO: result: $ac_file" >&5
2244 echo "${ECHO_T}$ac_file" >&6
2246 # Check the compiler produces executables we can run. If not, either
2247 # the compiler is broken, or we cross compile.
2248 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2249 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2250 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2251 # If not cross compiling, check that we can run a simple program.
2252 if test "$cross_compiling" != yes; then
2253 if { ac_try='./$ac_file'
2254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2258 (exit $ac_status); }; }; then
2261 if test "$cross_compiling" = maybe; then
2264 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2265 If you meant to cross compile, use \`--host'.
2266 See \`config.log' for more details." >&5
2267 echo "$as_me: error: cannot run C compiled programs.
2268 If you meant to cross compile, use \`--host'.
2269 See \`config.log' for more details." >&2;}
2270 { (exit 1); exit 1; }; }
2274 echo "$as_me:$LINENO: result: yes" >&5
2275 echo "${ECHO_T}yes" >&6
2277 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2278 ac_clean_files=$ac_clean_files_save
2279 # Check the compiler produces executables we can run. If not, either
2280 # the compiler is broken, or we cross compile.
2281 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2282 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2283 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2284 echo "${ECHO_T}$cross_compiling" >&6
2286 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2287 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2288 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2289 (eval $ac_link) 2>&5
2291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2292 (exit $ac_status); }; then
2293 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2294 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2295 # work properly (i.e., refer to `conftest.exe'), while it won't with
2297 for ac_file in conftest.exe conftest conftest.*; do
2298 test -f "$ac_file" || continue
2300 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2301 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2308 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2309 See \`config.log' for more details." >&5
2310 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2311 See \`config.log' for more details." >&2;}
2312 { (exit 1); exit 1; }; }
2315 rm -f conftest$ac_cv_exeext
2316 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2317 echo "${ECHO_T}$ac_cv_exeext" >&6
2319 rm -f conftest.$ac_ext
2320 EXEEXT=$ac_cv_exeext
2323 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2324 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2325 if test "${ac_cv_objext+set}" = set; then
2326 echo $ECHO_N "(cached) $ECHO_C" >&6
2328 cat >conftest.$ac_ext <<_ACEOF
2329 #line $LINENO "configure"
2332 cat confdefs.h >>conftest.$ac_ext
2333 cat >>conftest.$ac_ext <<_ACEOF
2334 /* end confdefs.h. */
2344 rm -f conftest.o conftest.obj
2345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2346 (eval $ac_compile) 2>&5
2348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2349 (exit $ac_status); }; then
2350 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2352 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2353 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2358 echo "$as_me: failed program was:" >&5
2359 sed 's/^/| /' conftest.$ac_ext >&5
2361 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2362 See \`config.log' for more details." >&5
2363 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2364 See \`config.log' for more details." >&2;}
2365 { (exit 1); exit 1; }; }
2368 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2370 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2371 echo "${ECHO_T}$ac_cv_objext" >&6
2372 OBJEXT=$ac_cv_objext
2374 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2375 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2376 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2377 echo $ECHO_N "(cached) $ECHO_C" >&6
2379 cat >conftest.$ac_ext <<_ACEOF
2380 #line $LINENO "configure"
2383 cat confdefs.h >>conftest.$ac_ext
2384 cat >>conftest.$ac_ext <<_ACEOF
2385 /* end confdefs.h. */
2398 rm -f conftest.$ac_objext
2399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2400 (eval $ac_compile) 2>&5
2402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2403 (exit $ac_status); } &&
2404 { ac_try='test -s conftest.$ac_objext'
2405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2409 (exit $ac_status); }; }; then
2412 echo "$as_me: failed program was:" >&5
2413 sed 's/^/| /' conftest.$ac_ext >&5
2417 rm -f conftest.$ac_objext conftest.$ac_ext
2418 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2421 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2422 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2423 GCC=`test $ac_compiler_gnu = yes && echo yes`
2424 ac_test_CFLAGS=${CFLAGS+set}
2425 ac_save_CFLAGS=$CFLAGS
2427 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2428 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2429 if test "${ac_cv_prog_cc_g+set}" = set; then
2430 echo $ECHO_N "(cached) $ECHO_C" >&6
2432 cat >conftest.$ac_ext <<_ACEOF
2433 #line $LINENO "configure"
2436 cat confdefs.h >>conftest.$ac_ext
2437 cat >>conftest.$ac_ext <<_ACEOF
2438 /* end confdefs.h. */
2448 rm -f conftest.$ac_objext
2449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2450 (eval $ac_compile) 2>&5
2452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2453 (exit $ac_status); } &&
2454 { ac_try='test -s conftest.$ac_objext'
2455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2459 (exit $ac_status); }; }; then
2462 echo "$as_me: failed program was:" >&5
2463 sed 's/^/| /' conftest.$ac_ext >&5
2467 rm -f conftest.$ac_objext conftest.$ac_ext
2469 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2470 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2471 if test "$ac_test_CFLAGS" = set; then
2472 CFLAGS=$ac_save_CFLAGS
2473 elif test $ac_cv_prog_cc_g = yes; then
2474 if test "$GCC" = yes; then
2480 if test "$GCC" = yes; then
2486 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2487 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2488 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2489 echo $ECHO_N "(cached) $ECHO_C" >&6
2491 ac_cv_prog_cc_stdc=no
2493 cat >conftest.$ac_ext <<_ACEOF
2494 #line $LINENO "configure"
2497 cat confdefs.h >>conftest.$ac_ext
2498 cat >>conftest.$ac_ext <<_ACEOF
2499 /* end confdefs.h. */
2502 #include <sys/types.h>
2503 #include <sys/stat.h>
2504 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2505 struct buf { int x; };
2506 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2507 static char *e (p, i)
2513 static char *f (char * (*g) (char **, int), char **p, ...)
2518 s = g (p, va_arg (v,int));
2522 int test (int i, double x);
2523 struct s1 {int (*f) (int a);};
2524 struct s2 {int (*f) (double a);};
2525 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2531 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2536 # Don't try gcc -ansi; that turns off useful extensions and
2537 # breaks some systems' header files.
2538 # AIX -qlanglvl=ansi
2539 # Ultrix and OSF/1 -std1
2540 # HP-UX 10.20 and later -Ae
2541 # HP-UX older versions -Aa -D_HPUX_SOURCE
2542 # SVR4 -Xc -D__EXTENSIONS__
2543 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2545 CC="$ac_save_CC $ac_arg"
2546 rm -f conftest.$ac_objext
2547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2548 (eval $ac_compile) 2>&5
2550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2551 (exit $ac_status); } &&
2552 { ac_try='test -s conftest.$ac_objext'
2553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2557 (exit $ac_status); }; }; then
2558 ac_cv_prog_cc_stdc=$ac_arg
2561 echo "$as_me: failed program was:" >&5
2562 sed 's/^/| /' conftest.$ac_ext >&5
2565 rm -f conftest.$ac_objext
2567 rm -f conftest.$ac_ext conftest.$ac_objext
2572 case "x$ac_cv_prog_cc_stdc" in
2574 echo "$as_me:$LINENO: result: none needed" >&5
2575 echo "${ECHO_T}none needed" >&6 ;;
2577 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2578 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2579 CC="$CC $ac_cv_prog_cc_stdc" ;;
2582 # Some people use a C++ compiler to compile C. Since we use `exit',
2583 # in C++ we need to declare it. In case someone uses the same compiler
2584 # for both compiling C and C++ we need to have the C++ compiler decide
2585 # the declaration of exit, since it's the most demanding environment.
2586 cat >conftest.$ac_ext <<_ACEOF
2591 rm -f conftest.$ac_objext
2592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2593 (eval $ac_compile) 2>&5
2595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2596 (exit $ac_status); } &&
2597 { ac_try='test -s conftest.$ac_objext'
2598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2602 (exit $ac_status); }; }; then
2603 for ac_declaration in \
2605 'extern "C" void std::exit (int) throw (); using std::exit;' \
2606 'extern "C" void std::exit (int); using std::exit;' \
2607 'extern "C" void exit (int) throw ();' \
2608 'extern "C" void exit (int);' \
2611 cat >conftest.$ac_ext <<_ACEOF
2612 #line $LINENO "configure"
2615 cat confdefs.h >>conftest.$ac_ext
2616 cat >>conftest.$ac_ext <<_ACEOF
2617 /* end confdefs.h. */
2628 rm -f conftest.$ac_objext
2629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2630 (eval $ac_compile) 2>&5
2632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2633 (exit $ac_status); } &&
2634 { ac_try='test -s conftest.$ac_objext'
2635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2639 (exit $ac_status); }; }; then
2642 echo "$as_me: failed program was:" >&5
2643 sed 's/^/| /' conftest.$ac_ext >&5
2647 rm -f conftest.$ac_objext conftest.$ac_ext
2648 cat >conftest.$ac_ext <<_ACEOF
2649 #line $LINENO "configure"
2652 cat confdefs.h >>conftest.$ac_ext
2653 cat >>conftest.$ac_ext <<_ACEOF
2654 /* end confdefs.h. */
2664 rm -f conftest.$ac_objext
2665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2666 (eval $ac_compile) 2>&5
2668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2669 (exit $ac_status); } &&
2670 { ac_try='test -s conftest.$ac_objext'
2671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2675 (exit $ac_status); }; }; then
2678 echo "$as_me: failed program was:" >&5
2679 sed 's/^/| /' conftest.$ac_ext >&5
2682 rm -f conftest.$ac_objext conftest.$ac_ext
2685 if test -n "$ac_declaration"; then
2686 echo '#ifdef __cplusplus' >>confdefs.h
2687 echo $ac_declaration >>confdefs.h
2688 echo '#endif' >>confdefs.h
2692 echo "$as_me: failed program was:" >&5
2693 sed 's/^/| /' conftest.$ac_ext >&5
2696 rm -f conftest.$ac_objext conftest.$ac_ext
2698 ac_cpp='$CPP $CPPFLAGS'
2699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2704 ac_cpp='$CXXCPP $CPPFLAGS'
2705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2708 if test -n "$ac_tool_prefix"; then
2709 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2711 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2712 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2713 echo "$as_me:$LINENO: checking for $ac_word" >&5
2714 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2715 if test "${ac_cv_prog_CXX+set}" = set; then
2716 echo $ECHO_N "(cached) $ECHO_C" >&6
2718 if test -n "$CXX"; then
2719 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2725 test -z "$as_dir" && as_dir=.
2726 for ac_exec_ext in '' $ac_executable_extensions; do
2727 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2728 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2729 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2738 if test -n "$CXX"; then
2739 echo "$as_me:$LINENO: result: $CXX" >&5
2740 echo "${ECHO_T}$CXX" >&6
2742 echo "$as_me:$LINENO: result: no" >&5
2743 echo "${ECHO_T}no" >&6
2746 test -n "$CXX" && break
2749 if test -z "$CXX"; then
2751 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2753 # Extract the first word of "$ac_prog", so it can be a program name with args.
2754 set dummy $ac_prog; ac_word=$2
2755 echo "$as_me:$LINENO: checking for $ac_word" >&5
2756 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2757 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2758 echo $ECHO_N "(cached) $ECHO_C" >&6
2760 if test -n "$ac_ct_CXX"; then
2761 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2767 test -z "$as_dir" && as_dir=.
2768 for ac_exec_ext in '' $ac_executable_extensions; do
2769 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2770 ac_cv_prog_ac_ct_CXX="$ac_prog"
2771 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2779 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2780 if test -n "$ac_ct_CXX"; then
2781 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2782 echo "${ECHO_T}$ac_ct_CXX" >&6
2784 echo "$as_me:$LINENO: result: no" >&5
2785 echo "${ECHO_T}no" >&6
2788 test -n "$ac_ct_CXX" && break
2790 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
2796 # Provide some information about the compiler.
2797 echo "$as_me:$LINENO:" \
2798 "checking for C++ compiler version" >&5
2799 ac_compiler=`set X $ac_compile; echo $2`
2800 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2801 (eval $ac_compiler --version </dev/null >&5) 2>&5
2803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2804 (exit $ac_status); }
2805 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2806 (eval $ac_compiler -v </dev/null >&5) 2>&5
2808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2809 (exit $ac_status); }
2810 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2811 (eval $ac_compiler -V </dev/null >&5) 2>&5
2813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2814 (exit $ac_status); }
2816 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2817 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2818 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2819 echo $ECHO_N "(cached) $ECHO_C" >&6
2821 cat >conftest.$ac_ext <<_ACEOF
2822 #line $LINENO "configure"
2825 cat confdefs.h >>conftest.$ac_ext
2826 cat >>conftest.$ac_ext <<_ACEOF
2827 /* end confdefs.h. */
2840 rm -f conftest.$ac_objext
2841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2842 (eval $ac_compile) 2>&5
2844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2845 (exit $ac_status); } &&
2846 { ac_try='test -s conftest.$ac_objext'
2847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2851 (exit $ac_status); }; }; then
2854 echo "$as_me: failed program was:" >&5
2855 sed 's/^/| /' conftest.$ac_ext >&5
2859 rm -f conftest.$ac_objext conftest.$ac_ext
2860 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2863 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2864 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2865 GXX=`test $ac_compiler_gnu = yes && echo yes`
2866 ac_test_CXXFLAGS=${CXXFLAGS+set}
2867 ac_save_CXXFLAGS=$CXXFLAGS
2869 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2870 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2871 if test "${ac_cv_prog_cxx_g+set}" = set; then
2872 echo $ECHO_N "(cached) $ECHO_C" >&6
2874 cat >conftest.$ac_ext <<_ACEOF
2875 #line $LINENO "configure"
2878 cat confdefs.h >>conftest.$ac_ext
2879 cat >>conftest.$ac_ext <<_ACEOF
2880 /* end confdefs.h. */
2890 rm -f conftest.$ac_objext
2891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2892 (eval $ac_compile) 2>&5
2894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2895 (exit $ac_status); } &&
2896 { ac_try='test -s conftest.$ac_objext'
2897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2901 (exit $ac_status); }; }; then
2902 ac_cv_prog_cxx_g=yes
2904 echo "$as_me: failed program was:" >&5
2905 sed 's/^/| /' conftest.$ac_ext >&5
2909 rm -f conftest.$ac_objext conftest.$ac_ext
2911 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2912 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2913 if test "$ac_test_CXXFLAGS" = set; then
2914 CXXFLAGS=$ac_save_CXXFLAGS
2915 elif test $ac_cv_prog_cxx_g = yes; then
2916 if test "$GXX" = yes; then
2922 if test "$GXX" = yes; then
2928 for ac_declaration in \
2930 'extern "C" void std::exit (int) throw (); using std::exit;' \
2931 'extern "C" void std::exit (int); using std::exit;' \
2932 'extern "C" void exit (int) throw ();' \
2933 'extern "C" void exit (int);' \
2936 cat >conftest.$ac_ext <<_ACEOF
2937 #line $LINENO "configure"
2940 cat confdefs.h >>conftest.$ac_ext
2941 cat >>conftest.$ac_ext <<_ACEOF
2942 /* end confdefs.h. */
2953 rm -f conftest.$ac_objext
2954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2955 (eval $ac_compile) 2>&5
2957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2958 (exit $ac_status); } &&
2959 { ac_try='test -s conftest.$ac_objext'
2960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2964 (exit $ac_status); }; }; then
2967 echo "$as_me: failed program was:" >&5
2968 sed 's/^/| /' conftest.$ac_ext >&5
2972 rm -f conftest.$ac_objext conftest.$ac_ext
2973 cat >conftest.$ac_ext <<_ACEOF
2974 #line $LINENO "configure"
2977 cat confdefs.h >>conftest.$ac_ext
2978 cat >>conftest.$ac_ext <<_ACEOF
2979 /* end confdefs.h. */
2989 rm -f conftest.$ac_objext
2990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2991 (eval $ac_compile) 2>&5
2993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2994 (exit $ac_status); } &&
2995 { ac_try='test -s conftest.$ac_objext'
2996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3000 (exit $ac_status); }; }; then
3003 echo "$as_me: failed program was:" >&5
3004 sed 's/^/| /' conftest.$ac_ext >&5
3007 rm -f conftest.$ac_objext conftest.$ac_ext
3010 if test -n "$ac_declaration"; then
3011 echo '#ifdef __cplusplus' >>confdefs.h
3012 echo $ac_declaration >>confdefs.h
3013 echo '#endif' >>confdefs.h
3017 ac_cpp='$CPP $CPPFLAGS'
3018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3027 # Newer automakes demand CCAS and CCASFLAGS.
3029 : ${CCASFLAGS='$(CFLAGS)'}
3033 if test -n "$ac_tool_prefix"; then
3034 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3035 set dummy ${ac_tool_prefix}as; ac_word=$2
3036 echo "$as_me:$LINENO: checking for $ac_word" >&5
3037 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3038 if test "${ac_cv_prog_AS+set}" = set; then
3039 echo $ECHO_N "(cached) $ECHO_C" >&6
3041 if test -n "$AS"; then
3042 ac_cv_prog_AS="$AS" # Let the user override the test.
3044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3048 test -z "$as_dir" && as_dir=.
3049 for ac_exec_ext in '' $ac_executable_extensions; do
3050 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3051 ac_cv_prog_AS="${ac_tool_prefix}as"
3052 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3061 if test -n "$AS"; then
3062 echo "$as_me:$LINENO: result: $AS" >&5
3063 echo "${ECHO_T}$AS" >&6
3065 echo "$as_me:$LINENO: result: no" >&5
3066 echo "${ECHO_T}no" >&6
3070 if test -z "$ac_cv_prog_AS"; then
3072 # Extract the first word of "as", so it can be a program name with args.
3073 set dummy as; ac_word=$2
3074 echo "$as_me:$LINENO: checking for $ac_word" >&5
3075 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3076 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3077 echo $ECHO_N "(cached) $ECHO_C" >&6
3079 if test -n "$ac_ct_AS"; then
3080 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3086 test -z "$as_dir" && as_dir=.
3087 for ac_exec_ext in '' $ac_executable_extensions; do
3088 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3089 ac_cv_prog_ac_ct_AS="as"
3090 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3098 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3099 if test -n "$ac_ct_AS"; then
3100 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3101 echo "${ECHO_T}$ac_ct_AS" >&6
3103 echo "$as_me:$LINENO: result: no" >&5
3104 echo "${ECHO_T}no" >&6
3112 if test -n "$ac_tool_prefix"; then
3113 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3114 set dummy ${ac_tool_prefix}ar; ac_word=$2
3115 echo "$as_me:$LINENO: checking for $ac_word" >&5
3116 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3117 if test "${ac_cv_prog_AR+set}" = set; then
3118 echo $ECHO_N "(cached) $ECHO_C" >&6
3120 if test -n "$AR"; then
3121 ac_cv_prog_AR="$AR" # Let the user override the test.
3123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3127 test -z "$as_dir" && as_dir=.
3128 for ac_exec_ext in '' $ac_executable_extensions; do
3129 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3130 ac_cv_prog_AR="${ac_tool_prefix}ar"
3131 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3140 if test -n "$AR"; then
3141 echo "$as_me:$LINENO: result: $AR" >&5
3142 echo "${ECHO_T}$AR" >&6
3144 echo "$as_me:$LINENO: result: no" >&5
3145 echo "${ECHO_T}no" >&6
3149 if test -z "$ac_cv_prog_AR"; then
3151 # Extract the first word of "ar", so it can be a program name with args.
3152 set dummy ar; ac_word=$2
3153 echo "$as_me:$LINENO: checking for $ac_word" >&5
3154 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3155 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3156 echo $ECHO_N "(cached) $ECHO_C" >&6
3158 if test -n "$ac_ct_AR"; then
3159 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3165 test -z "$as_dir" && as_dir=.
3166 for ac_exec_ext in '' $ac_executable_extensions; do
3167 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3168 ac_cv_prog_ac_ct_AR="ar"
3169 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3177 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3178 if test -n "$ac_ct_AR"; then
3179 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3180 echo "${ECHO_T}$ac_ct_AR" >&6
3182 echo "$as_me:$LINENO: result: no" >&5
3183 echo "${ECHO_T}no" >&6
3191 if test -n "$ac_tool_prefix"; then
3192 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3193 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3194 echo "$as_me:$LINENO: checking for $ac_word" >&5
3195 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3196 if test "${ac_cv_prog_RANLIB+set}" = set; then
3197 echo $ECHO_N "(cached) $ECHO_C" >&6
3199 if test -n "$RANLIB"; then
3200 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3206 test -z "$as_dir" && as_dir=.
3207 for ac_exec_ext in '' $ac_executable_extensions; do
3208 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3209 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3210 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3218 RANLIB=$ac_cv_prog_RANLIB
3219 if test -n "$RANLIB"; then
3220 echo "$as_me:$LINENO: result: $RANLIB" >&5
3221 echo "${ECHO_T}$RANLIB" >&6
3223 echo "$as_me:$LINENO: result: no" >&5
3224 echo "${ECHO_T}no" >&6
3228 if test -z "$ac_cv_prog_RANLIB"; then
3229 ac_ct_RANLIB=$RANLIB
3230 # Extract the first word of "ranlib", so it can be a program name with args.
3231 set dummy ranlib; ac_word=$2
3232 echo "$as_me:$LINENO: checking for $ac_word" >&5
3233 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3234 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3235 echo $ECHO_N "(cached) $ECHO_C" >&6
3237 if test -n "$ac_ct_RANLIB"; then
3238 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3244 test -z "$as_dir" && as_dir=.
3245 for ac_exec_ext in '' $ac_executable_extensions; do
3246 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3247 ac_cv_prog_ac_ct_RANLIB="ranlib"
3248 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3254 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3257 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3258 if test -n "$ac_ct_RANLIB"; then
3259 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3260 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3262 echo "$as_me:$LINENO: result: no" >&5
3263 echo "${ECHO_T}no" >&6
3266 RANLIB=$ac_ct_RANLIB
3268 RANLIB="$ac_cv_prog_RANLIB"
3272 # Find a good install program. We prefer a C program (faster),
3273 # so one script is as good as another. But avoid the broken or
3274 # incompatible versions:
3275 # SysV /etc/install, /usr/sbin/install
3276 # SunOS /usr/etc/install
3277 # IRIX /sbin/install
3279 # AmigaOS /C/install, which installs bootblocks on floppy discs
3280 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3281 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3282 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3283 # ./install, which can be erroneously created by make from ./install.sh.
3284 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3285 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3286 if test -z "$INSTALL"; then
3287 if test "${ac_cv_path_install+set}" = set; then
3288 echo $ECHO_N "(cached) $ECHO_C" >&6
3290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3294 test -z "$as_dir" && as_dir=.
3295 # Account for people who put trailing slashes in PATH elements.
3297 ./ | .// | /cC/* | \
3298 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3301 # OSF1 and SCO ODT 3.0 have their own names for install.
3302 # Don't use installbsd from OSF since it installs stuff as root
3304 for ac_prog in ginstall scoinst install; do
3305 for ac_exec_ext in '' $ac_executable_extensions; do
3306 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3307 if test $ac_prog = install &&
3308 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3309 # AIX install. It has an incompatible calling convention.
3311 elif test $ac_prog = install &&
3312 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3313 # program-specific install script used by HP pwplus--don't use.
3316 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3328 if test "${ac_cv_path_install+set}" = set; then
3329 INSTALL=$ac_cv_path_install
3331 # As a last resort, use the slow shell script. We don't cache a
3332 # path for INSTALL within a source directory, because that will
3333 # break other packages using the cache if that directory is
3334 # removed, or if the path is relative.
3335 INSTALL=$ac_install_sh
3338 echo "$as_me:$LINENO: result: $INSTALL" >&5
3339 echo "${ECHO_T}$INSTALL" >&6
3341 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3342 # It thinks the first close brace ends the variable substitution.
3343 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3345 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3347 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3350 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3351 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
3352 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3353 if test "${enable_maintainer_mode+set}" = set; then
3354 enableval="$enable_maintainer_mode"
3355 USE_MAINTAINER_MODE=$enableval
3357 USE_MAINTAINER_MODE=no
3359 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3360 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
3363 if test $USE_MAINTAINER_MODE = yes; then
3364 MAINTAINER_MODE_TRUE=
3365 MAINTAINER_MODE_FALSE='#'
3367 MAINTAINER_MODE_TRUE='#'
3368 MAINTAINER_MODE_FALSE=
3370 MAINT=$MAINTAINER_MODE_TRUE
3374 . ${srcdir}/configure.host
3376 case ${gc_basedir} in
3377 /* | A-Za-z:/\\*) gc_flagbasedir=${gc_basedir} ;;
3378 *) gc_flagbasedir='$(top_builddir)/'${gc_basedir} ;;
3381 gc_cflags="${gc_cflags} -I"'$(top_builddir)'"/./targ-include -I${gc_flagbasedir}/libc/include"
3384 gc_cflags="${gc_cflags} -I${gc_flagbasedir}/../winsup/include"
3389 GC_CFLAGS=${gc_cflags}
3392 # Check whether --enable-shared or --disable-shared was given.
3393 if test "${enable_shared+set}" = set; then
3394 enableval="$enable_shared"
3395 p=${PACKAGE-default}
3397 yes) enable_shared=yes ;;
3398 no) enable_shared=no ;;
3401 # Look at the argument we got. We use all the common list separators.
3402 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3403 for pkg in $enableval; do
3404 if test "X$pkg" = "X$p"; then
3414 # Check whether --enable-static or --disable-static was given.
3415 if test "${enable_static+set}" = set; then
3416 enableval="$enable_static"
3417 p=${PACKAGE-default}
3419 yes) enable_static=yes ;;
3420 no) enable_static=no ;;
3423 # Look at the argument we got. We use all the common list separators.
3424 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3425 for pkg in $enableval; do
3426 if test "X$pkg" = "X$p"; then
3436 # Check whether --enable-fast-install or --disable-fast-install was given.
3437 if test "${enable_fast_install+set}" = set; then
3438 enableval="$enable_fast_install"
3439 p=${PACKAGE-default}
3441 yes) enable_fast_install=yes ;;
3442 no) enable_fast_install=no ;;
3444 enable_fast_install=no
3445 # Look at the argument we got. We use all the common list separators.
3446 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3447 for pkg in $enableval; do
3448 if test "X$pkg" = "X$p"; then
3449 enable_fast_install=yes
3456 enable_fast_install=yes
3459 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3460 if test "${with_gnu_ld+set}" = set; then
3461 withval="$with_gnu_ld"
3462 test "$withval" = no || with_gnu_ld=yes
3467 if test "$GCC" = yes; then
3468 # Check if gcc -print-prog-name=ld gives a path.
3469 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3470 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3473 # gcc leaves a trailing carriage return which upsets mingw
3474 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3476 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3479 # Accept absolute paths.
3480 [\\/]* | [A-Za-z]:[\\/]*)
3481 re_direlt='/[^/][^/]*/\.\./'
3482 # Canonicalize the path of ld
3483 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3484 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3485 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3487 test -z "$LD" && LD="$ac_prog"
3490 # If it fails, then pretend we aren't using GCC.
3494 # If it is relative, then search for the first ld in PATH.
3498 elif test "$with_gnu_ld" = yes; then
3499 echo "$as_me:$LINENO: checking for GNU ld" >&5
3500 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3502 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3503 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3505 if test "${lt_cv_path_LD+set}" = set; then
3506 echo $ECHO_N "(cached) $ECHO_C" >&6
3508 if test -z "$LD"; then
3509 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3510 for ac_dir in $PATH; do
3511 test -z "$ac_dir" && ac_dir=.
3512 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3513 lt_cv_path_LD="$ac_dir/$ac_prog"
3514 # Check to see if the program is GNU ld. I'd rather use --version,
3515 # but apparently some GNU ld's only accept -v.
3516 # Break only if it was the GNU/non-GNU ld that we prefer.
3517 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3518 test "$with_gnu_ld" != no && break
3520 test "$with_gnu_ld" != yes && break
3526 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3531 if test -n "$LD"; then
3532 echo "$as_me:$LINENO: result: $LD" >&5
3533 echo "${ECHO_T}$LD" >&6
3535 echo "$as_me:$LINENO: result: no" >&5
3536 echo "${ECHO_T}no" >&6
3538 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3539 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3540 { (exit 1); exit 1; }; }
3541 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3542 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3543 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3544 echo $ECHO_N "(cached) $ECHO_C" >&6
3546 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3547 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3548 lt_cv_prog_gnu_ld=yes
3550 lt_cv_prog_gnu_ld=no
3553 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3554 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3555 with_gnu_ld=$lt_cv_prog_gnu_ld
3558 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3559 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3560 if test "${lt_cv_ld_reload_flag+set}" = set; then
3561 echo $ECHO_N "(cached) $ECHO_C" >&6
3563 lt_cv_ld_reload_flag='-r'
3565 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3566 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3567 reload_flag=$lt_cv_ld_reload_flag
3568 test -n "$reload_flag" && reload_flag=" $reload_flag"
3570 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3571 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3572 if test "${lt_cv_path_NM+set}" = set; then
3573 echo $ECHO_N "(cached) $ECHO_C" >&6
3575 if test -n "$NM"; then
3576 # Let the user override the test.
3579 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3580 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3581 test -z "$ac_dir" && ac_dir=.
3582 tmp_nm=$ac_dir/${ac_tool_prefix}nm
3583 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
3584 # Check to see if the nm accepts a BSD-compat flag.
3585 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3586 # nm: unknown option "B" ignored
3587 # Tru64's nm complains that /dev/null is an invalid object file
3588 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
3589 lt_cv_path_NM="$tmp_nm -B"
3591 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
3592 lt_cv_path_NM="$tmp_nm -p"
3595 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3596 continue # so that we can try to find one that supports BSD flags
3601 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3606 echo "$as_me:$LINENO: result: $NM" >&5
3607 echo "${ECHO_T}$NM" >&6
3609 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3610 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3612 if test "$LN_S" = "ln -s"; then
3613 echo "$as_me:$LINENO: result: yes" >&5
3614 echo "${ECHO_T}yes" >&6
3616 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3617 echo "${ECHO_T}no, using $LN_S" >&6
3620 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3621 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3622 if test "${lt_cv_deplibs_check_method+set}" = set; then
3623 echo $ECHO_N "(cached) $ECHO_C" >&6
3625 lt_cv_file_magic_cmd='$MAGIC_CMD'
3626 lt_cv_file_magic_test_file=
3627 lt_cv_deplibs_check_method='unknown'
3628 # Need to set the preceding variable on all platforms that support
3629 # interlibrary dependencies.
3630 # 'none' -- dependencies not supported.
3631 # `unknown' -- same as none, but documents that we really don't know.
3632 # 'pass_all' -- all dependencies passed with no checks.
3633 # 'test_compile' -- check by making test program.
3634 # 'file_magic [regex]' -- check by looking for files in library path
3635 # which responds to the $file_magic_cmd with a given egrep regex.
3636 # If you have `file' or equivalent on your system and you're not sure
3637 # whether `pass_all' will *always* work, you probably want this one.
3641 lt_cv_deplibs_check_method=pass_all
3645 lt_cv_deplibs_check_method=pass_all
3649 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3650 lt_cv_file_magic_cmd='/usr/bin/file -L'
3651 lt_cv_file_magic_test_file=/shlib/libc.so
3654 cygwin* | mingw* |pw32*)
3655 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3656 lt_cv_file_magic_cmd='$OBJDUMP -f'
3659 darwin* | rhapsody*)
3660 # this will be overwritten by pass_all, but leave it in just in case
3661 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
3662 lt_cv_file_magic_cmd='/usr/bin/file -L'
3664 rhapsody* | darwin1.012)
3665 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
3668 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
3671 lt_cv_deplibs_check_method=pass_all
3675 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3678 # Not sure whether the presence of OpenBSD here was a mistake.
3679 # Let's accept both of them until this is cleared up.
3680 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3681 lt_cv_file_magic_cmd=/usr/bin/file
3682 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3686 lt_cv_deplibs_check_method=pass_all
3691 lt_cv_deplibs_check_method=pass_all
3697 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3698 lt_cv_file_magic_cmd=/usr/bin/file
3699 lt_cv_file_magic_test_file=/usr/lib/libc.sl
3702 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3703 lt_cv_file_magic_cmd=/usr/bin/file
3704 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3712 # this will be overridden with pass_all, but let us keep it just in case
3713 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3717 *-32|*"-32 ") libmagic=32-bit;;
3718 *-n32|*"-n32 ") libmagic=N32;;
3719 *-64|*"-64 ") libmagic=64-bit;;
3720 *) libmagic=never-match;;
3722 # this will be overridden with pass_all, but let us keep it just in case
3723 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3726 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
3727 lt_cv_deplibs_check_method=pass_all
3730 # This must be Linux ELF.
3733 alpha* | mips* | hppa* | i*86 | powerpc* | sparc* | ia64* )
3734 lt_cv_deplibs_check_method=pass_all ;;
3736 # glibc up to 2.1.1 does not perform some relocations on ARM
3737 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
3739 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
3743 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3744 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3746 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
3751 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3752 lt_cv_file_magic_cmd=/usr/bin/file
3753 lt_cv_file_magic_test_file=/usr/lib/libnls.so
3756 osf3* | osf4* | osf5*)
3757 # this will be overridden with pass_all, but let us keep it just in case
3758 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
3759 lt_cv_file_magic_test_file=/shlib/libc.so
3760 lt_cv_deplibs_check_method=pass_all
3764 lt_cv_deplibs_check_method=pass_all
3768 lt_cv_deplibs_check_method=pass_all
3769 lt_cv_file_magic_test_file=/lib/libc.so
3772 sysv5uw[78]* | sysv4*uw2*)
3773 lt_cv_deplibs_check_method=pass_all
3776 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
3777 case $host_vendor in
3779 lt_cv_deplibs_check_method=pass_all
3782 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]'
3783 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
3790 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3791 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3792 file_magic_cmd=$lt_cv_file_magic_cmd
3793 deplibs_check_method=$lt_cv_deplibs_check_method
3799 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3801 # Only perform the check for file, if the check method requires it
3802 case $deplibs_check_method in
3804 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3805 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3806 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3807 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3808 echo $ECHO_N "(cached) $ECHO_C" >&6
3812 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3815 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
3818 ac_save_MAGIC_CMD="$MAGIC_CMD"
3819 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3820 ac_dummy="/usr/bin:$PATH"
3821 for ac_dir in $ac_dummy; do
3822 test -z "$ac_dir" && ac_dir=.
3823 if test -f $ac_dir/${ac_tool_prefix}file; then
3824 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
3825 if test -n "$file_magic_test_file"; then
3826 case $deplibs_check_method in
3828 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3829 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3830 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3831 egrep "$file_magic_regex" > /dev/null; then
3836 *** Warning: the command libtool uses to detect shared libraries,
3837 *** $file_magic_cmd, produces output that libtool cannot recognize.
3838 *** The result is that libtool may fail to recognize shared libraries
3839 *** as such. This will affect the creation of libtool libraries that
3840 *** depend on shared libraries, but programs linked with such libtool
3841 *** libraries will work regardless of this problem. Nevertheless, you
3842 *** may want to report the problem to your system manager and/or to
3843 *** bug-libtool@gnu.org
3853 MAGIC_CMD="$ac_save_MAGIC_CMD"
3858 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3859 if test -n "$MAGIC_CMD"; then
3860 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3861 echo "${ECHO_T}$MAGIC_CMD" >&6
3863 echo "$as_me:$LINENO: result: no" >&5
3864 echo "${ECHO_T}no" >&6
3867 if test -z "$lt_cv_path_MAGIC_CMD"; then
3868 if test -n "$ac_tool_prefix"; then
3869 echo "$as_me:$LINENO: checking for file" >&5
3870 echo $ECHO_N "checking for file... $ECHO_C" >&6
3871 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3872 echo $ECHO_N "(cached) $ECHO_C" >&6
3876 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3879 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
3882 ac_save_MAGIC_CMD="$MAGIC_CMD"
3883 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3884 ac_dummy="/usr/bin:$PATH"
3885 for ac_dir in $ac_dummy; do
3886 test -z "$ac_dir" && ac_dir=.
3887 if test -f $ac_dir/file; then
3888 lt_cv_path_MAGIC_CMD="$ac_dir/file"
3889 if test -n "$file_magic_test_file"; then
3890 case $deplibs_check_method in
3892 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3893 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3894 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3895 egrep "$file_magic_regex" > /dev/null; then
3900 *** Warning: the command libtool uses to detect shared libraries,
3901 *** $file_magic_cmd, produces output that libtool cannot recognize.
3902 *** The result is that libtool may fail to recognize shared libraries
3903 *** as such. This will affect the creation of libtool libraries that
3904 *** depend on shared libraries, but programs linked with such libtool
3905 *** libraries will work regardless of this problem. Nevertheless, you
3906 *** may want to report the problem to your system manager and/or to
3907 *** bug-libtool@gnu.org
3917 MAGIC_CMD="$ac_save_MAGIC_CMD"
3922 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3923 if test -n "$MAGIC_CMD"; then
3924 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3925 echo "${ECHO_T}$MAGIC_CMD" >&6
3927 echo "$as_me:$LINENO: result: no" >&5
3928 echo "${ECHO_T}no" >&6
3940 if test -n "$ac_tool_prefix"; then
3941 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3942 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3943 echo "$as_me:$LINENO: checking for $ac_word" >&5
3944 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3945 if test "${ac_cv_prog_RANLIB+set}" = set; then
3946 echo $ECHO_N "(cached) $ECHO_C" >&6
3948 if test -n "$RANLIB"; then
3949 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3955 test -z "$as_dir" && as_dir=.
3956 for ac_exec_ext in '' $ac_executable_extensions; do
3957 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3958 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3959 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3967 RANLIB=$ac_cv_prog_RANLIB
3968 if test -n "$RANLIB"; then
3969 echo "$as_me:$LINENO: result: $RANLIB" >&5
3970 echo "${ECHO_T}$RANLIB" >&6
3972 echo "$as_me:$LINENO: result: no" >&5
3973 echo "${ECHO_T}no" >&6
3977 if test -z "$ac_cv_prog_RANLIB"; then
3978 ac_ct_RANLIB=$RANLIB
3979 # Extract the first word of "ranlib", so it can be a program name with args.
3980 set dummy ranlib; ac_word=$2
3981 echo "$as_me:$LINENO: checking for $ac_word" >&5
3982 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3983 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3984 echo $ECHO_N "(cached) $ECHO_C" >&6
3986 if test -n "$ac_ct_RANLIB"; then
3987 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3993 test -z "$as_dir" && as_dir=.
3994 for ac_exec_ext in '' $ac_executable_extensions; do
3995 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3996 ac_cv_prog_ac_ct_RANLIB="ranlib"
3997 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4003 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4006 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4007 if test -n "$ac_ct_RANLIB"; then
4008 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4009 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4011 echo "$as_me:$LINENO: result: no" >&5
4012 echo "${ECHO_T}no" >&6
4015 RANLIB=$ac_ct_RANLIB
4017 RANLIB="$ac_cv_prog_RANLIB"
4020 if test -n "$ac_tool_prefix"; then
4021 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4022 set dummy ${ac_tool_prefix}strip; ac_word=$2
4023 echo "$as_me:$LINENO: checking for $ac_word" >&5
4024 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4025 if test "${ac_cv_prog_STRIP+set}" = set; then
4026 echo $ECHO_N "(cached) $ECHO_C" >&6
4028 if test -n "$STRIP"; then
4029 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4035 test -z "$as_dir" && as_dir=.
4036 for ac_exec_ext in '' $ac_executable_extensions; do
4037 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4038 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4039 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4047 STRIP=$ac_cv_prog_STRIP
4048 if test -n "$STRIP"; then
4049 echo "$as_me:$LINENO: result: $STRIP" >&5
4050 echo "${ECHO_T}$STRIP" >&6
4052 echo "$as_me:$LINENO: result: no" >&5
4053 echo "${ECHO_T}no" >&6
4057 if test -z "$ac_cv_prog_STRIP"; then
4059 # Extract the first word of "strip", so it can be a program name with args.
4060 set dummy strip; ac_word=$2
4061 echo "$as_me:$LINENO: checking for $ac_word" >&5
4062 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4063 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4064 echo $ECHO_N "(cached) $ECHO_C" >&6
4066 if test -n "$ac_ct_STRIP"; then
4067 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4073 test -z "$as_dir" && as_dir=.
4074 for ac_exec_ext in '' $ac_executable_extensions; do
4075 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4076 ac_cv_prog_ac_ct_STRIP="strip"
4077 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4083 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4086 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4087 if test -n "$ac_ct_STRIP"; then
4088 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4089 echo "${ECHO_T}$ac_ct_STRIP" >&6
4091 echo "$as_me:$LINENO: result: no" >&5
4092 echo "${ECHO_T}no" >&6
4097 STRIP="$ac_cv_prog_STRIP"
4101 # Check for any special flags to pass to ltconfig.
4102 libtool_flags="--cache-file=$cache_file"
4103 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4104 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4105 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4106 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4107 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4110 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4111 if test "${enable_libtool_lock+set}" = set; then
4112 enableval="$enable_libtool_lock"
4115 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4116 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4119 # Check whether --with-pic or --without-pic was given.
4120 if test "${with_pic+set}" = set; then
4126 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4127 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4129 # Some flags need to be propagated to the compiler or linker for good
4133 # Find out which ABI we are using.
4134 echo '#line 4134 "configure"' > conftest.$ac_ext
4135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4136 (eval $ac_compile) 2>&5
4138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4139 (exit $ac_status); }; then
4140 if test "$lt_cv_prog_gnu_ld" = yes; then
4141 case `/usr/bin/file conftest.$ac_objext` in
4143 LD="${LD-ld} -melf32bsmip"
4146 LD="${LD-ld} -melf32bmipn32"
4149 LD="${LD-ld} -melf64bmip"
4153 case `/usr/bin/file conftest.$ac_objext` in
4170 # Find out which ABI we are using.
4171 echo 'int i;' > conftest.$ac_ext
4172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4173 (eval $ac_compile) 2>&5
4175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4176 (exit $ac_status); }; then
4177 case "`/usr/bin/file conftest.o`" in
4189 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4190 # Find out which ABI we are using.
4191 echo 'int i;' > conftest.$ac_ext
4192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4193 (eval $ac_compile) 2>&5
4195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4196 (exit $ac_status); }; then
4197 case "`/usr/bin/file conftest.o`" in
4201 LD="${LD-ld} -m elf_i386"
4203 ppc64-*linux*|powerpc64-*linux*)
4204 LD="${LD-ld} -m elf32ppclinux"
4207 LD="${LD-ld} -m elf_s390"
4210 LD="${LD-ld} -m elf32_sparc"
4217 LD="${LD-ld} -m elf_x86_64"
4219 ppc*-*linux*|powerpc*-*linux*)
4220 LD="${LD-ld} -m elf64ppc"
4223 LD="${LD-ld} -m elf64_s390"
4226 LD="${LD-ld} -m elf64_sparc"
4236 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4237 SAVE_CFLAGS="$CFLAGS"
4238 CFLAGS="$CFLAGS -belf"
4239 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4240 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4241 if test "${lt_cv_cc_needs_belf+set}" = set; then
4242 echo $ECHO_N "(cached) $ECHO_C" >&6
4247 ac_cpp='$CPP $CPPFLAGS'
4248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4252 if test x$gcc_no_link = xyes; then
4253 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4254 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4255 { (exit 1); exit 1; }; }
4257 cat >conftest.$ac_ext <<_ACEOF
4258 #line $LINENO "configure"
4261 cat confdefs.h >>conftest.$ac_ext
4262 cat >>conftest.$ac_ext <<_ACEOF
4263 /* end confdefs.h. */
4273 rm -f conftest.$ac_objext conftest$ac_exeext
4274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4275 (eval $ac_link) 2>&5
4277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4278 (exit $ac_status); } &&
4279 { ac_try='test -s conftest$ac_exeext'
4280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4284 (exit $ac_status); }; }; then
4285 lt_cv_cc_needs_belf=yes
4287 echo "$as_me: failed program was:" >&5
4288 sed 's/^/| /' conftest.$ac_ext >&5
4290 lt_cv_cc_needs_belf=no
4292 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4294 ac_cpp='$CPP $CPPFLAGS'
4295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4300 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4301 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4302 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4303 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4304 CFLAGS="$SAVE_CFLAGS"
4312 # Save cache, so that ltconfig can load it
4313 cat >confcache <<\_ACEOF
4314 # This file is a shell script that caches the results of configure
4315 # tests run on this system so they can be shared between configure
4316 # scripts and configure runs, see configure's option --config-cache.
4317 # It is not useful on other systems. If it contains results you don't
4318 # want to keep, you may remove or edit it.
4320 # config.status only pays attention to the cache file if you give it
4321 # the --recheck option to rerun configure.
4323 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4324 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4329 # The following way of writing the cache mishandles newlines in values,
4330 # but we know of no workaround that is simple, portable, and efficient.
4331 # So, don't put newlines in cache variables' values.
4332 # Ultrix sh set writes to stderr and can't be redirected directly,
4333 # and sets the high bit in the cache file unless we assign to the vars.
4336 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4338 # `set' does not quote correctly, so add quotes (double-quote
4339 # substitution turns \\\\ into \\, and sed turns \\ into \).
4342 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4345 # `set' quotes correctly as required by POSIX, so do not add quotes.
4347 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4354 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4356 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4358 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4359 if test -w $cache_file; then
4360 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4361 cat confcache >$cache_file
4363 echo "not updating unwritable cache $cache_file"
4368 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4369 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4370 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4371 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4372 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4373 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4374 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4375 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4376 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4377 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4378 echo "$as_me: error: libtool configure failed" >&2;}
4379 { (exit 1); exit 1; }; }
4381 # Reload cache, that may have been modified by ltconfig
4382 if test -r "$cache_file"; then
4383 # Some versions of bash will fail to source /dev/null (special
4384 # files actually), so we avoid doing that.
4385 if test -f "$cache_file"; then
4386 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4387 echo "$as_me: loading cache $cache_file" >&6;}
4389 [\\/]* | ?:[\\/]* ) . $cache_file;;
4390 *) . ./$cache_file;;
4394 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4395 echo "$as_me: creating cache $cache_file" >&6;}
4400 # This can be used to rebuild libtool when needed
4401 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4403 # Always use our own libtool.
4404 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4406 # Redirect the config.log output again, so that the ltconfig log is not
4407 # clobbered by the next message.
4408 exec 5>>./config.log
4411 ac_cpp='$CXXCPP $CPPFLAGS'
4412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4415 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4416 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4417 if test -z "$CXXCPP"; then
4418 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4419 echo $ECHO_N "(cached) $ECHO_C" >&6
4421 # Double quotes because CXXCPP needs to be expanded
4422 for CXXCPP in "$CXX -E" "/lib/cpp"
4425 for ac_cxx_preproc_warn_flag in '' yes
4427 # Use a header file that comes with gcc, so configuring glibc
4428 # with a fresh cross-compiler works.
4429 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4430 # <limits.h> exists even on freestanding compilers.
4431 # On the NeXT, cc -E runs the code through the compiler's parser,
4432 # not just through cpp. "Syntax error" is here to catch this case.
4433 cat >conftest.$ac_ext <<_ACEOF
4434 #line $LINENO "configure"
4437 cat confdefs.h >>conftest.$ac_ext
4438 cat >>conftest.$ac_ext <<_ACEOF
4439 /* end confdefs.h. */
4441 # include <limits.h>
4443 # include <assert.h>
4447 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4448 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4450 grep -v '^ *+' conftest.er1 >conftest.err
4452 cat conftest.err >&5
4453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4454 (exit $ac_status); } >/dev/null; then
4455 if test -s conftest.err; then
4456 ac_cpp_err=$ac_cxx_preproc_warn_flag
4463 if test -z "$ac_cpp_err"; then
4466 echo "$as_me: failed program was:" >&5
4467 sed 's/^/| /' conftest.$ac_ext >&5
4469 # Broken: fails on valid input.
4472 rm -f conftest.err conftest.$ac_ext
4474 # OK, works on sane cases. Now check whether non-existent headers
4475 # can be detected and how.
4476 cat >conftest.$ac_ext <<_ACEOF
4477 #line $LINENO "configure"
4480 cat confdefs.h >>conftest.$ac_ext
4481 cat >>conftest.$ac_ext <<_ACEOF
4482 /* end confdefs.h. */
4483 #include <ac_nonexistent.h>
4485 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4486 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4488 grep -v '^ *+' conftest.er1 >conftest.err
4490 cat conftest.err >&5
4491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4492 (exit $ac_status); } >/dev/null; then
4493 if test -s conftest.err; then
4494 ac_cpp_err=$ac_cxx_preproc_warn_flag
4501 if test -z "$ac_cpp_err"; then
4502 # Broken: success on invalid input.
4505 echo "$as_me: failed program was:" >&5
4506 sed 's/^/| /' conftest.$ac_ext >&5
4508 # Passes both tests.
4512 rm -f conftest.err conftest.$ac_ext
4515 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4516 rm -f conftest.err conftest.$ac_ext
4517 if $ac_preproc_ok; then
4522 ac_cv_prog_CXXCPP=$CXXCPP
4525 CXXCPP=$ac_cv_prog_CXXCPP
4527 ac_cv_prog_CXXCPP=$CXXCPP
4529 echo "$as_me:$LINENO: result: $CXXCPP" >&5
4530 echo "${ECHO_T}$CXXCPP" >&6
4532 for ac_cxx_preproc_warn_flag in '' yes
4534 # Use a header file that comes with gcc, so configuring glibc
4535 # with a fresh cross-compiler works.
4536 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4537 # <limits.h> exists even on freestanding compilers.
4538 # On the NeXT, cc -E runs the code through the compiler's parser,
4539 # not just through cpp. "Syntax error" is here to catch this case.
4540 cat >conftest.$ac_ext <<_ACEOF
4541 #line $LINENO "configure"
4544 cat confdefs.h >>conftest.$ac_ext
4545 cat >>conftest.$ac_ext <<_ACEOF
4546 /* end confdefs.h. */
4548 # include <limits.h>
4550 # include <assert.h>
4554 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4555 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4557 grep -v '^ *+' conftest.er1 >conftest.err
4559 cat conftest.err >&5
4560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4561 (exit $ac_status); } >/dev/null; then
4562 if test -s conftest.err; then
4563 ac_cpp_err=$ac_cxx_preproc_warn_flag
4570 if test -z "$ac_cpp_err"; then
4573 echo "$as_me: failed program was:" >&5
4574 sed 's/^/| /' conftest.$ac_ext >&5
4576 # Broken: fails on valid input.
4579 rm -f conftest.err conftest.$ac_ext
4581 # OK, works on sane cases. Now check whether non-existent headers
4582 # can be detected and how.
4583 cat >conftest.$ac_ext <<_ACEOF
4584 #line $LINENO "configure"
4587 cat confdefs.h >>conftest.$ac_ext
4588 cat >>conftest.$ac_ext <<_ACEOF
4589 /* end confdefs.h. */
4590 #include <ac_nonexistent.h>
4592 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4593 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4595 grep -v '^ *+' conftest.er1 >conftest.err
4597 cat conftest.err >&5
4598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4599 (exit $ac_status); } >/dev/null; then
4600 if test -s conftest.err; then
4601 ac_cpp_err=$ac_cxx_preproc_warn_flag
4608 if test -z "$ac_cpp_err"; then
4609 # Broken: success on invalid input.
4612 echo "$as_me: failed program was:" >&5
4613 sed 's/^/| /' conftest.$ac_ext >&5
4615 # Passes both tests.
4619 rm -f conftest.err conftest.$ac_ext
4622 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4623 rm -f conftest.err conftest.$ac_ext
4624 if $ac_preproc_ok; then
4627 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4628 See \`config.log' for more details." >&5
4629 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4630 See \`config.log' for more details." >&2;}
4631 { (exit 1); exit 1; }; }
4635 ac_cpp='$CPP $CPPFLAGS'
4636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4642 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
4644 lt_save_CFLAGS="$CFLAGS"
4645 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
4646 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4647 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4648 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4649 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4650 deplibs_check_method="$deplibs_check_method" \
4651 file_magic_cmd="$file_magic_cmd" \
4652 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
4653 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
4654 || { { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
4655 echo "$as_me: error: libtool tag configuration failed" >&2;}
4656 { (exit 1); exit 1; }; }
4658 CFLAGS="$lt_save_CFLAGS"
4660 # Redirect the config.log output again, so that the ltconfig log is not
4661 # clobbered by the next message.
4662 exec 5>>./config.log
4671 # Check whether --with-target-subdir or --without-target-subdir was given.
4672 if test "${with_target_subdir+set}" = set; then
4673 withval="$with_target_subdir"
4677 # Check whether --with-cross-host or --without-cross-host was given.
4678 if test "${with_cross_host+set}" = set; then
4679 withval="$with_cross_host"
4683 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
4684 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
4685 THREADS=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
4686 if test -z "$THREADS"; then
4689 echo "$as_me:$LINENO: result: $THREADS" >&5
4690 echo "${ECHO_T}$THREADS" >&6
4692 # Check whether --enable-parallel-mark or --disable-parallel-mark was given.
4693 if test "${enable_parallel_mark+set}" = set; then
4694 enableval="$enable_parallel_mark"
4697 { { echo "$as_me:$LINENO: error: Parallel mark requires --enable-threads=x spec" >&5
4698 echo "$as_me: error: Parallel mark requires --enable-threads=x spec" >&2;}
4699 { (exit 1); exit 1; }; }
4705 INCLUDES="-I`cd $srcdir && ${PWDCMD-pwd}`/include"
4713 THREADLIBS=-lpthread
4715 x86-*-linux* | ia64-*-linux* | i586-*-linux* | i686-*-linux* | x86_64-*-linux* | alpha-*-linux*)
4716 cat >>confdefs.h <<\_ACEOF
4717 #define GC_LINUX_THREADS 1
4720 cat >>confdefs.h <<\_ACEOF
4721 #define _REENTRANT 1
4724 if test "${enable_parallel_mark}" = yes; then
4725 cat >>confdefs.h <<\_ACEOF
4726 #define PARALLEL_MARK 1
4730 cat >>confdefs.h <<\_ACEOF
4731 #define THREAD_LOCAL_ALLOC 1
4736 cat >>confdefs.h <<\_ACEOF
4737 #define GC_LINUX_THREADS 1
4740 cat >>confdefs.h <<\_ACEOF
4741 #define _REENTRANT 1
4746 cat >>confdefs.h <<\_ACEOF
4747 #define GC_AIX_THREADS 1
4750 cat >>confdefs.h <<\_ACEOF
4751 #define _REENTRANT 1
4756 { echo "$as_me:$LINENO: WARNING: \"Only HP/UX 11 threads are supported.\"" >&5
4757 echo "$as_me: WARNING: \"Only HP/UX 11 threads are supported.\"" >&2;}
4758 cat >>confdefs.h <<\_ACEOF
4759 #define GC_HPUX_THREADS 1
4762 cat >>confdefs.h <<\_ACEOF
4763 #define _POSIX_C_SOURCE 199506L
4766 if test "${enable_parallel_mark}" = yes; then
4767 cat >>confdefs.h <<\_ACEOF
4768 #define PARALLEL_MARK 1
4772 cat >>confdefs.h <<\_ACEOF
4773 #define THREAD_LOCAL_ALLOC 1
4776 THREADLIBS="-lpthread -lrt"
4779 { echo "$as_me:$LINENO: WARNING: \"FreeBSD does not yet fully support threads with Boehm GC.\"" >&5
4780 echo "$as_me: WARNING: \"FreeBSD does not yet fully support threads with Boehm GC.\"" >&2;}
4781 cat >>confdefs.h <<\_ACEOF
4782 #define GC_FREEBSD_THREADS 1
4785 INCLUDES="$INCLUDES -pthread"
4789 cat >>confdefs.h <<\_ACEOF
4790 #define GC_SOLARIS_THREADS 1
4793 cat >>confdefs.h <<\_ACEOF
4794 #define GC_SOLARIS_PTHREADS 1
4799 cat >>confdefs.h <<\_ACEOF
4800 #define GC_IRIX_THREADS 1
4805 cat >>confdefs.h <<\_ACEOF
4806 #define GC_WIN32_THREADS 1
4811 cat >>confdefs.h <<\_ACEOF
4812 #define GC_DARWIN_THREADS 1
4815 cat >>confdefs.h <<\_ACEOF
4816 #define THREAD_LOCAL_ALLOC 1
4819 if test "${enable_parallel_mark}" = yes; then
4820 cat >>confdefs.h <<\_ACEOF
4821 #define PARALLEL_MARK 1
4827 cat >>confdefs.h <<\_ACEOF
4828 #define GC_OSF1_THREADS 1
4831 if test "${enable_parallel_mark}" = yes; then
4832 cat >>confdefs.h <<\_ACEOF
4833 #define PARALLEL_MARK 1
4836 cat >>confdefs.h <<\_ACEOF
4837 #define THREAD_LOCAL_ALLOC 1
4840 # May want to enable it in other cases, too.
4841 # Measurements havent yet been done.
4843 INCLUDES="$INCLUDES -pthread"
4844 THREADLIBS="-lpthread -lrt"
4849 cat >>confdefs.h <<\_ACEOF
4850 #define GC_WIN32_THREADS 1
4856 echo "$as_me:$LINENO: result: $THREADLIBS" >&5
4857 echo "${ECHO_T}$THREADLIBS" >&6
4858 # Use pthread GCC switch
4860 if test "${enable_parallel_mark}" = yes; then
4861 cat >>confdefs.h <<\_ACEOF
4862 #define PARALLEL_MARK 1
4866 cat >>confdefs.h <<\_ACEOF
4867 #define THREAD_LOCAL_ALLOC 1
4870 cat >>confdefs.h <<\_ACEOF
4871 #define GC_DGUX386_THREADS 1
4874 cat >>confdefs.h <<\_ACEOF
4875 #define DGUX_THREADS 1
4878 # Enable _POSIX4A_DRAFT10_SOURCE with flag -pthread
4879 INCLUDES="-pthread $INCLUDES"
4883 THREADLIBS=-lpthread
4884 cat >>confdefs.h <<\_ACEOF
4885 #define GC_AIX_THREADS 1
4888 cat >>confdefs.h <<\_ACEOF
4889 #define _REENTRANT 1
4893 decosf1 | irix | mach | os2 | solaris | dce | vxworks)
4894 { { echo "$as_me:$LINENO: error: thread package $THREADS not yet supported" >&5
4895 echo "$as_me: error: thread package $THREADS not yet supported" >&2;}
4896 { (exit 1); exit 1; }; }
4899 { { echo "$as_me:$LINENO: error: $THREADS is an unknown thread package" >&5
4900 echo "$as_me: error: $THREADS is an unknown thread package" >&2;}
4901 { (exit 1); exit 1; }; }
4913 if test x$powerpc_darwin = xtrue; then
4914 POWERPC_DARWIN_TRUE=
4915 POWERPC_DARWIN_FALSE='#'
4917 POWERPC_DARWIN_TRUE='#'
4918 POWERPC_DARWIN_FALSE=
4921 # We never want libdl on darwin. It is a fake libdl that just ends up making
4926 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
4927 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
4928 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
4929 echo $ECHO_N "(cached) $ECHO_C" >&6
4931 ac_check_lib_save_LIBS=$LIBS
4933 if test x$gcc_no_link = xyes; then
4934 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4935 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4936 { (exit 1); exit 1; }; }
4938 cat >conftest.$ac_ext <<_ACEOF
4939 #line $LINENO "configure"
4942 cat confdefs.h >>conftest.$ac_ext
4943 cat >>conftest.$ac_ext <<_ACEOF
4944 /* end confdefs.h. */
4946 /* Override any gcc2 internal prototype to avoid an error. */
4950 /* We use char because int might match the return type of a gcc2
4951 builtin and then its argument prototype would still apply. */
4961 rm -f conftest.$ac_objext conftest$ac_exeext
4962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4963 (eval $ac_link) 2>&5
4965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4966 (exit $ac_status); } &&
4967 { ac_try='test -s conftest$ac_exeext'
4968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4972 (exit $ac_status); }; }; then
4973 ac_cv_lib_dl_dlopen=yes
4975 echo "$as_me: failed program was:" >&5
4976 sed 's/^/| /' conftest.$ac_ext >&5
4978 ac_cv_lib_dl_dlopen=no
4980 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4981 LIBS=$ac_check_lib_save_LIBS
4983 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
4984 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
4985 if test $ac_cv_lib_dl_dlopen = yes; then
4986 EXTRA_TEST_LIBS="$EXTRA_TEST_LIBS -ldl"
4994 target_all=libgcjgc.la
5000 # Check whether --with-ecos or --without-ecos was given.
5001 if test "${with_ecos+set}" = set; then
5002 withval="$with_ecos"
5003 TARGET_ECOS="$with_ecos"
5012 case "$TARGET_ECOS" in
5016 cat >>confdefs.h <<\_ACEOF
5020 CXXINCLUDES="-I${TARGET_ECOS}/include"
5021 addobjs="$addobjs ecos.lo"
5025 if test "${enable_cplusplus}" = yes; then
5026 addincludes="$addincludes include/gc_cpp.h include/gc_allocator.h"
5027 addtests="$addtests test_cpp"
5032 if test "${enable_cplusplus}" = yes; then
5045 # Configuration of shared libraries
5047 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
5048 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
5049 # Check whether --enable-shared or --disable-shared was given.
5050 if test "${enable_shared+set}" = set; then
5051 enableval="$enable_shared"
5052 p=${PACKAGE-default}
5054 yes) enable_shared=yes ;;
5055 no) enable_shared=no ;;
5058 # Look at the argument we got. We use all the common list separators.
5059 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
5060 for pkg in $enableval; do
5061 if test "X$pkg" = "X$p"; then
5075 echo "$as_me:$LINENO: result: no" >&5
5076 echo "${ECHO_T}no" >&6
5079 echo "$as_me:$LINENO: result: yes" >&5
5080 echo "${ECHO_T}yes" >&6
5084 # Configuration of machine-dependent code
5086 # We don't set NO_EXECUTE_PERMISSION by default because gcj (and
5087 # anything else that creates trampolines in gc-allocated memory)
5088 # always needs exec permission. The exceptions to this are IA-64 and
5089 # some variations of Power PC, where trampolines don't contain
5092 echo "$as_me:$LINENO: checking which machine-dependent code should be used" >&5
5093 echo $ECHO_N "checking which machine-dependent code should be used... $ECHO_C" >&6
5097 machdep="alpha_mach_dep.lo"
5098 if test x"${ac_cv_lib_dl_dlopen}" != xyes ; then
5099 { echo "$as_me:$LINENO: WARNING: OpenBSD/Alpha without dlopen(). Shared library support is disabled" >&5
5100 echo "$as_me: WARNING: OpenBSD/Alpha without dlopen(). Shared library support is disabled" >&2;}
5104 machdep="alpha_mach_dep.lo"
5106 i?86-*-solaris2.[89] | i?86-*-solaris2.1?)
5107 cat >>confdefs.h <<\_ACEOF
5108 #define SOLARIS25_PROC_VDB_BUG_FIXED 1
5113 machdep="mips_ultrix_mach_dep.lo"
5114 cat >>confdefs.h <<\_ACEOF
5115 #define STACKBASE __stackbase
5118 cat >>confdefs.h <<\_ACEOF
5119 #define DATASTART_IS_ETEXT 1
5124 machdep="mips_ultrix_mach-dep.lo"
5126 mips-nec-sysv*|mips-unknown-sysv*)
5131 machdep="mips_sgi_mach_dep.lo"
5134 machdep="sparc_netbsd_mach_dep.lo"
5136 sparc-sun-solaris2.3)
5137 machdep="sparc_mach_dep.lo"
5138 cat >>confdefs.h <<\_ACEOF
5139 #define SUNOS53_SHARED_LIB 1
5143 sparc-sun-solaris2.*)
5144 machdep="sparc_mach_dep.lo"
5147 cat >>confdefs.h <<\_ACEOF
5148 #define NO_EXECUTE_PERMISSION 1
5151 machdep="mach_dep.lo ia64_save_regs_in_stack.lo"
5154 if test x"$machdep" = x; then
5155 echo "$as_me:$LINENO: result: $machdep" >&5
5156 echo "${ECHO_T}$machdep" >&6
5157 machdep="mach_dep.lo"
5159 addobjs="$addobjs $machdep"
5172 # Check for AViiON Machines running DGUX
5174 echo "$as_me:$LINENO: checking if host is AViiON running DGUX" >&5
5175 echo $ECHO_N "checking if host is AViiON running DGUX... $ECHO_C" >&6
5178 ac_cpp='$CPP $CPPFLAGS'
5179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5182 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5183 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5184 # On Suns, sometimes $CPP names a directory.
5185 if test -n "$CPP" && test -d "$CPP"; then
5188 if test -z "$CPP"; then
5189 if test "${ac_cv_prog_CPP+set}" = set; then
5190 echo $ECHO_N "(cached) $ECHO_C" >&6
5192 # Double quotes because CPP needs to be expanded
5193 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5196 for ac_c_preproc_warn_flag in '' yes
5198 # Use a header file that comes with gcc, so configuring glibc
5199 # with a fresh cross-compiler works.
5200 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5201 # <limits.h> exists even on freestanding compilers.
5202 # On the NeXT, cc -E runs the code through the compiler's parser,
5203 # not just through cpp. "Syntax error" is here to catch this case.
5204 cat >conftest.$ac_ext <<_ACEOF
5205 #line $LINENO "configure"
5208 cat confdefs.h >>conftest.$ac_ext
5209 cat >>conftest.$ac_ext <<_ACEOF
5210 /* end confdefs.h. */
5212 # include <limits.h>
5214 # include <assert.h>
5218 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5219 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5221 grep -v '^ *+' conftest.er1 >conftest.err
5223 cat conftest.err >&5
5224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5225 (exit $ac_status); } >/dev/null; then
5226 if test -s conftest.err; then
5227 ac_cpp_err=$ac_c_preproc_warn_flag
5234 if test -z "$ac_cpp_err"; then
5237 echo "$as_me: failed program was:" >&5
5238 sed 's/^/| /' conftest.$ac_ext >&5
5240 # Broken: fails on valid input.
5243 rm -f conftest.err conftest.$ac_ext
5245 # OK, works on sane cases. Now check whether non-existent headers
5246 # can be detected and how.
5247 cat >conftest.$ac_ext <<_ACEOF
5248 #line $LINENO "configure"
5251 cat confdefs.h >>conftest.$ac_ext
5252 cat >>conftest.$ac_ext <<_ACEOF
5253 /* end confdefs.h. */
5254 #include <ac_nonexistent.h>
5256 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5257 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5259 grep -v '^ *+' conftest.er1 >conftest.err
5261 cat conftest.err >&5
5262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5263 (exit $ac_status); } >/dev/null; then
5264 if test -s conftest.err; then
5265 ac_cpp_err=$ac_c_preproc_warn_flag
5272 if test -z "$ac_cpp_err"; then
5273 # Broken: success on invalid input.
5276 echo "$as_me: failed program was:" >&5
5277 sed 's/^/| /' conftest.$ac_ext >&5
5279 # Passes both tests.
5283 rm -f conftest.err conftest.$ac_ext
5286 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5287 rm -f conftest.err conftest.$ac_ext
5288 if $ac_preproc_ok; then
5300 echo "$as_me:$LINENO: result: $CPP" >&5
5301 echo "${ECHO_T}$CPP" >&6
5303 for ac_c_preproc_warn_flag in '' yes
5305 # Use a header file that comes with gcc, so configuring glibc
5306 # with a fresh cross-compiler works.
5307 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5308 # <limits.h> exists even on freestanding compilers.
5309 # On the NeXT, cc -E runs the code through the compiler's parser,
5310 # not just through cpp. "Syntax error" is here to catch this case.
5311 cat >conftest.$ac_ext <<_ACEOF
5312 #line $LINENO "configure"
5315 cat confdefs.h >>conftest.$ac_ext
5316 cat >>conftest.$ac_ext <<_ACEOF
5317 /* end confdefs.h. */
5319 # include <limits.h>
5321 # include <assert.h>
5325 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5326 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5328 grep -v '^ *+' conftest.er1 >conftest.err
5330 cat conftest.err >&5
5331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5332 (exit $ac_status); } >/dev/null; then
5333 if test -s conftest.err; then
5334 ac_cpp_err=$ac_c_preproc_warn_flag
5341 if test -z "$ac_cpp_err"; then
5344 echo "$as_me: failed program was:" >&5
5345 sed 's/^/| /' conftest.$ac_ext >&5
5347 # Broken: fails on valid input.
5350 rm -f conftest.err conftest.$ac_ext
5352 # OK, works on sane cases. Now check whether non-existent headers
5353 # can be detected and how.
5354 cat >conftest.$ac_ext <<_ACEOF
5355 #line $LINENO "configure"
5358 cat confdefs.h >>conftest.$ac_ext
5359 cat >>conftest.$ac_ext <<_ACEOF
5360 /* end confdefs.h. */
5361 #include <ac_nonexistent.h>
5363 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5364 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5366 grep -v '^ *+' conftest.er1 >conftest.err
5368 cat conftest.err >&5
5369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5370 (exit $ac_status); } >/dev/null; then
5371 if test -s conftest.err; then
5372 ac_cpp_err=$ac_c_preproc_warn_flag
5379 if test -z "$ac_cpp_err"; then
5380 # Broken: success on invalid input.
5383 echo "$as_me: failed program was:" >&5
5384 sed 's/^/| /' conftest.$ac_ext >&5
5386 # Passes both tests.
5390 rm -f conftest.err conftest.$ac_ext
5393 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5394 rm -f conftest.err conftest.$ac_ext
5395 if $ac_preproc_ok; then
5398 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5399 See \`config.log' for more details." >&5
5400 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5401 See \`config.log' for more details." >&2;}
5402 { (exit 1); exit 1; }; }
5406 ac_cpp='$CPP $CPPFLAGS'
5407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5412 echo "$as_me:$LINENO: checking for egrep" >&5
5413 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5414 if test "${ac_cv_prog_egrep+set}" = set; then
5415 echo $ECHO_N "(cached) $ECHO_C" >&6
5417 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5418 then ac_cv_prog_egrep='grep -E'
5419 else ac_cv_prog_egrep='egrep'
5422 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5423 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5424 EGREP=$ac_cv_prog_egrep
5427 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5428 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5429 if test "${ac_cv_header_stdc+set}" = set; then
5430 echo $ECHO_N "(cached) $ECHO_C" >&6
5432 cat >conftest.$ac_ext <<_ACEOF
5433 #line $LINENO "configure"
5436 cat confdefs.h >>conftest.$ac_ext
5437 cat >>conftest.$ac_ext <<_ACEOF
5438 /* end confdefs.h. */
5452 rm -f conftest.$ac_objext
5453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5454 (eval $ac_compile) 2>&5
5456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5457 (exit $ac_status); } &&
5458 { ac_try='test -s conftest.$ac_objext'
5459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5463 (exit $ac_status); }; }; then
5464 ac_cv_header_stdc=yes
5466 echo "$as_me: failed program was:" >&5
5467 sed 's/^/| /' conftest.$ac_ext >&5
5469 ac_cv_header_stdc=no
5471 rm -f conftest.$ac_objext conftest.$ac_ext
5473 if test $ac_cv_header_stdc = yes; then
5474 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5475 cat >conftest.$ac_ext <<_ACEOF
5476 #line $LINENO "configure"
5479 cat confdefs.h >>conftest.$ac_ext
5480 cat >>conftest.$ac_ext <<_ACEOF
5481 /* end confdefs.h. */
5485 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5486 $EGREP "memchr" >/dev/null 2>&1; then
5489 ac_cv_header_stdc=no
5495 if test $ac_cv_header_stdc = yes; then
5496 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5497 cat >conftest.$ac_ext <<_ACEOF
5498 #line $LINENO "configure"
5501 cat confdefs.h >>conftest.$ac_ext
5502 cat >>conftest.$ac_ext <<_ACEOF
5503 /* end confdefs.h. */
5507 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5508 $EGREP "free" >/dev/null 2>&1; then
5511 ac_cv_header_stdc=no
5517 if test $ac_cv_header_stdc = yes; then
5518 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5519 if test "$cross_compiling" = yes; then
5522 cat >conftest.$ac_ext <<_ACEOF
5523 #line $LINENO "configure"
5526 cat confdefs.h >>conftest.$ac_ext
5527 cat >>conftest.$ac_ext <<_ACEOF
5528 /* end confdefs.h. */
5530 #if ((' ' & 0x0FF) == 0x020)
5531 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5532 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5534 # define ISLOWER(c) \
5535 (('a' <= (c) && (c) <= 'i') \
5536 || ('j' <= (c) && (c) <= 'r') \
5537 || ('s' <= (c) && (c) <= 'z'))
5538 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5541 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5546 for (i = 0; i < 256; i++)
5547 if (XOR (islower (i), ISLOWER (i))
5548 || toupper (i) != TOUPPER (i))
5553 rm -f conftest$ac_exeext
5554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5555 (eval $ac_link) 2>&5
5557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5558 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5563 (exit $ac_status); }; }; then
5566 echo "$as_me: program exited with status $ac_status" >&5
5567 echo "$as_me: failed program was:" >&5
5568 sed 's/^/| /' conftest.$ac_ext >&5
5571 ac_cv_header_stdc=no
5573 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5577 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5578 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5579 if test $ac_cv_header_stdc = yes; then
5581 cat >>confdefs.h <<\_ACEOF
5582 #define STDC_HEADERS 1
5587 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5597 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5598 inttypes.h stdint.h unistd.h
5600 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5601 echo "$as_me:$LINENO: checking for $ac_header" >&5
5602 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5603 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5604 echo $ECHO_N "(cached) $ECHO_C" >&6
5606 cat >conftest.$ac_ext <<_ACEOF
5607 #line $LINENO "configure"
5610 cat confdefs.h >>conftest.$ac_ext
5611 cat >>conftest.$ac_ext <<_ACEOF
5612 /* end confdefs.h. */
5613 $ac_includes_default
5615 #include <$ac_header>
5617 rm -f conftest.$ac_objext
5618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5619 (eval $ac_compile) 2>&5
5621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5622 (exit $ac_status); } &&
5623 { ac_try='test -s conftest.$ac_objext'
5624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5628 (exit $ac_status); }; }; then
5629 eval "$as_ac_Header=yes"
5631 echo "$as_me: failed program was:" >&5
5632 sed 's/^/| /' conftest.$ac_ext >&5
5634 eval "$as_ac_Header=no"
5636 rm -f conftest.$ac_objext conftest.$ac_ext
5638 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5639 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5640 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5641 cat >>confdefs.h <<_ACEOF
5642 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5650 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
5651 echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5
5652 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6
5653 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
5654 echo $ECHO_N "(cached) $ECHO_C" >&6
5656 echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5
5657 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6
5659 # Is the header compilable?
5660 echo "$as_me:$LINENO: checking sys/dg_sys_info.h usability" >&5
5661 echo $ECHO_N "checking sys/dg_sys_info.h usability... $ECHO_C" >&6
5662 cat >conftest.$ac_ext <<_ACEOF
5663 #line $LINENO "configure"
5666 cat confdefs.h >>conftest.$ac_ext
5667 cat >>conftest.$ac_ext <<_ACEOF
5668 /* end confdefs.h. */
5669 $ac_includes_default
5670 #include <sys/dg_sys_info.h>
5672 rm -f conftest.$ac_objext
5673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5674 (eval $ac_compile) 2>&5
5676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5677 (exit $ac_status); } &&
5678 { ac_try='test -s conftest.$ac_objext'
5679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5683 (exit $ac_status); }; }; then
5684 ac_header_compiler=yes
5686 echo "$as_me: failed program was:" >&5
5687 sed 's/^/| /' conftest.$ac_ext >&5
5689 ac_header_compiler=no
5691 rm -f conftest.$ac_objext conftest.$ac_ext
5692 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5693 echo "${ECHO_T}$ac_header_compiler" >&6
5695 # Is the header present?
5696 echo "$as_me:$LINENO: checking sys/dg_sys_info.h presence" >&5
5697 echo $ECHO_N "checking sys/dg_sys_info.h presence... $ECHO_C" >&6
5698 cat >conftest.$ac_ext <<_ACEOF
5699 #line $LINENO "configure"
5702 cat confdefs.h >>conftest.$ac_ext
5703 cat >>conftest.$ac_ext <<_ACEOF
5704 /* end confdefs.h. */
5705 #include <sys/dg_sys_info.h>
5707 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5708 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5710 grep -v '^ *+' conftest.er1 >conftest.err
5712 cat conftest.err >&5
5713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5714 (exit $ac_status); } >/dev/null; then
5715 if test -s conftest.err; then
5716 ac_cpp_err=$ac_c_preproc_warn_flag
5723 if test -z "$ac_cpp_err"; then
5724 ac_header_preproc=yes
5726 echo "$as_me: failed program was:" >&5
5727 sed 's/^/| /' conftest.$ac_ext >&5
5729 ac_header_preproc=no
5731 rm -f conftest.err conftest.$ac_ext
5732 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5733 echo "${ECHO_T}$ac_header_preproc" >&6
5735 # So? What about this header?
5736 case $ac_header_compiler:$ac_header_preproc in
5738 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&5
5739 echo "$as_me: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5740 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&5
5741 echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&2;}
5744 ## ------------------------------------ ##
5745 ## Report this to bug-autoconf@gnu.org. ##
5746 ## ------------------------------------ ##
5749 sed "s/^/$as_me: WARNING: /" >&2
5752 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&5
5753 echo "$as_me: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&2;}
5754 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&5
5755 echo "$as_me: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&2;}
5756 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&5
5757 echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&2;}
5760 ## ------------------------------------ ##
5761 ## Report this to bug-autoconf@gnu.org. ##
5762 ## ------------------------------------ ##
5765 sed "s/^/$as_me: WARNING: /" >&2
5768 echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5
5769 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6
5770 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
5771 echo $ECHO_N "(cached) $ECHO_C" >&6
5773 ac_cv_header_sys_dg_sys_info_h=$ac_header_preproc
5775 echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5
5776 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6
5779 if test $ac_cv_header_sys_dg_sys_info_h = yes; then
5785 echo "$as_me:$LINENO: result: $ac_is_dgux" >&5
5786 echo "${ECHO_T}$ac_is_dgux" >&6
5787 ## :GOTCHA: we do not check anything but sys/dg_sys_info.h
5788 if test $ac_is_dgux = yes; then
5789 if test "$enable_full_debug" = "yes"; then
5790 CFLAGS="-g -mstandard -DDGUX -D_DGUX_SOURCE -Di386 -mno-legend -O2"
5791 CXXFLAGS="-g -mstandard -DDGUX -D_DGUX_SOURCE -Di386 -mno-legend -O2"
5793 CFLAGS="-DDGUX -D_DGUX_SOURCE -Di386 -mno-legend -O2"
5794 CXXFLAGS="-DDGUX -D_DGUX_SOURCE -Di386 -mno-legend -O2"
5801 # Check whether --with-target-subdir or --without-target-subdir was given.
5802 if test "${with_target_subdir+set}" = set; then
5803 withval="$with_target_subdir"
5807 # Check whether --with-cross-host or --without-cross-host was given.
5808 if test "${with_cross_host+set}" = set; then
5809 withval="$with_cross_host"
5813 echo "$as_me:$LINENO: checking whether Solaris gcc optimization fix is necessary" >&5
5814 echo $ECHO_N "checking whether Solaris gcc optimization fix is necessary... $ECHO_C" >&6
5816 sparc-sun-solaris2*|*aix*)
5817 if test "$GCC" = yes; then
5818 echo "$as_me:$LINENO: result: yes" >&5
5819 echo "${ECHO_T}yes" >&6
5821 for i in $CFLAGS; do
5826 new_CFLAGS="$new_CFLAGS $i"
5830 CFLAGS="$new_CFLAGS"
5832 echo "$as_me:$LINENO: result: no" >&5
5833 echo "${ECHO_T}no" >&6
5836 *) echo "$as_me:$LINENO: result: no" >&5
5837 echo "${ECHO_T}no" >&6 ;;
5843 cat >>confdefs.h <<\_ACEOF
5847 cat >>confdefs.h <<\_ACEOF
5848 #define NO_SIGNALS 1
5851 cat >>confdefs.h <<\_ACEOF
5852 #define ALL_INTERIOR_POINTERS 1
5856 cat >>confdefs.h <<\_ACEOF
5857 #define JAVA_FINALIZATION 1
5860 cat >>confdefs.h <<\_ACEOF
5861 #define GC_GCJ_SUPPORT 1
5864 cat >>confdefs.h <<\_ACEOF
5865 #define ATOMIC_UNCOLLECTABLE 1
5869 if test -n "${with_cross_host}"; then
5870 cat >>confdefs.h <<\_ACEOF
5874 cat >>confdefs.h <<\_ACEOF
5875 #define NO_DEBUGGING 1
5880 # Check whether --enable-full-debug or --disable-full-debug was given.
5881 if test "${enable_full_debug+set}" = set; then
5882 enableval="$enable_full_debug"
5883 if test "$enable_full_debug" = "yes"; then
5884 { echo "$as_me:$LINENO: WARNING: \"Must define GC_DEBUG and use debug alloc. in clients.\"" >&5
5885 echo "$as_me: WARNING: \"Must define GC_DEBUG and use debug alloc. in clients.\"" >&2;}
5886 cat >>confdefs.h <<\_ACEOF
5887 #define KEEP_BACK_PTRS 1
5890 cat >>confdefs.h <<\_ACEOF
5891 #define DBG_HDRS_ALL 1
5896 cat >>confdefs.h <<\_ACEOF
5897 #define MAKE_BACK_GRAPH 1
5901 x86-*-linux* | i586-*-linux* | i686-*-linux* | x86_64-*-linux* )
5902 cat >>confdefs.h <<\_ACEOF
5903 #define MAKE_BACK_GRAPH 1
5906 { echo "$as_me:$LINENO: WARNING: \"Client must not use -fomit-frame-pointer.\"" >&5
5907 echo "$as_me: WARNING: \"Client must not use -fomit-frame-pointer.\"" >&2;}
5908 cat >>confdefs.h <<\_ACEOF
5909 #define SAVE_CALL_COUNT 8
5914 cat >>confdefs.h <<\_ACEOF
5915 #define MAKE_BACK_GRAPH 1
5923 if test -n "$with_cross_host" &&
5924 test x"$with_cross_host" != x"no"; then
5925 toolexecdir='$(exec_prefix)/$(target_noncanonical)'
5926 toolexeclibdir='$(toolexecdir)/lib'
5928 toolexecdir='$(libdir)/gcc-lib/$(target_noncanonical)'
5929 toolexeclibdir='$(libdir)'
5931 multi_os_directory=`$CC -print-multi-os-directory`
5932 case $multi_os_directory in
5933 .) ;; # Avoid trailing /.
5934 *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
5939 if test "${multilib}" = "yes"; then
5940 multilib_arg="--enable-multilib"
5945 ac_config_files="$ac_config_files Makefile include/Makefile"
5946 ac_config_commands="$ac_config_commands default"
5947 cat >confcache <<\_ACEOF
5948 # This file is a shell script that caches the results of configure
5949 # tests run on this system so they can be shared between configure
5950 # scripts and configure runs, see configure's option --config-cache.
5951 # It is not useful on other systems. If it contains results you don't
5952 # want to keep, you may remove or edit it.
5954 # config.status only pays attention to the cache file if you give it
5955 # the --recheck option to rerun configure.
5957 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5958 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5963 # The following way of writing the cache mishandles newlines in values,
5964 # but we know of no workaround that is simple, portable, and efficient.
5965 # So, don't put newlines in cache variables' values.
5966 # Ultrix sh set writes to stderr and can't be redirected directly,
5967 # and sets the high bit in the cache file unless we assign to the vars.
5970 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5972 # `set' does not quote correctly, so add quotes (double-quote
5973 # substitution turns \\\\ into \\, and sed turns \\ into \).
5976 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5979 # `set' quotes correctly as required by POSIX, so do not add quotes.
5981 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5988 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5990 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5992 if diff $cache_file confcache >/dev/null 2>&1; then :; else
5993 if test -w $cache_file; then
5994 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5995 cat confcache >$cache_file
5997 echo "not updating unwritable cache $cache_file"
6002 test "x$prefix" = xNONE && prefix=$ac_default_prefix
6003 # Let make expand exec_prefix.
6004 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6006 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6007 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6008 # trailing colons and then remove the whole line if VPATH becomes empty
6009 # (actually we leave an empty line to preserve line numbers).
6010 if test "x$srcdir" = x.; then
6011 ac_vpsub='/^[ ]*VPATH[ ]*=/{
6012 s/:*\$(srcdir):*/:/;
6013 s/:*\${srcdir}:*/:/;
6015 s/^\([^=]*=[ ]*\):*/\1/;
6021 # Transform confdefs.h into DEFS.
6022 # Protect against shell expansion while executing Makefile rules.
6023 # Protect against Makefile macro expansion.
6025 # If the first sed substitution is executed (which looks for macros that
6026 # take arguments), then we branch to the quote section. Otherwise,
6027 # look for a macro that doesn't take arguments.
6028 cat >confdef2opt.sed <<\_ACEOF
6031 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
6033 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
6037 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
6043 # We use echo to avoid assuming a particular line-breaking character.
6044 # The extra dot is to prevent the shell from consuming trailing
6045 # line-breaks from the sub-command output. A line-break within
6046 # single-quotes doesn't work because, if this script is created in a
6047 # platform that uses two characters for line-breaks (e.g., DOS), tr
6049 ac_LF_and_DOT=`echo; echo .`
6050 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
6051 rm -f confdef2opt.sed
6056 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6057 # 1. Remove the extension, and $U if already installed.
6058 ac_i=`echo "$ac_i" |
6059 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
6061 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
6062 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
6066 LTLIBOBJS=$ac_ltlibobjs
6070 : ${CONFIG_STATUS=./config.status}
6071 ac_clean_files_save=$ac_clean_files
6072 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6073 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6074 echo "$as_me: creating $CONFIG_STATUS" >&6;}
6075 cat >$CONFIG_STATUS <<_ACEOF
6077 # Generated by $as_me.
6078 # Run this file to recreate the current configuration.
6079 # Compiler output produced by configure, useful for debugging
6080 # configure, is in config.log if it exists.
6085 SHELL=\${CONFIG_SHELL-$SHELL}
6088 cat >>$CONFIG_STATUS <<\_ACEOF
6089 ## --------------------- ##
6090 ## M4sh Initialization. ##
6091 ## --------------------- ##
6093 # Be Bourne compatible
6094 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
6097 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6098 # is contrary to our usage. Disable this feature.
6099 alias -g '${1+"$@"}'='"$@"'
6100 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
6104 # Support unset when possible.
6105 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
6112 # Work around bugs in pre-3.0 UWIN ksh.
6113 $as_unset ENV MAIL MAILPATH
6120 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
6121 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
6122 LC_TELEPHONE LC_TIME
6124 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
6125 eval $as_var=C; export $as_var
6131 # Required to use basename.
6132 if expr a : '\(a\)' >/dev/null 2>&1; then
6138 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
6139 as_basename=basename
6145 # Name of the executable.
6146 as_me=`$as_basename "$0" ||
6147 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6148 X"$0" : 'X\(//\)$' \| \
6149 X"$0" : 'X\(/\)$' \| \
6150 . : '\(.\)' 2>/dev/null ||
6152 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
6153 /^X\/\(\/\/\)$/{ s//\1/; q; }
6154 /^X\/\(\/\).*/{ s//\1/; q; }
6158 # PATH needs CR, and LINENO needs CR and PATH.
6159 # Avoid depending upon Character Ranges.
6160 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6161 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6162 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6163 as_cr_digits='0123456789'
6164 as_cr_alnum=$as_cr_Letters$as_cr_digits
6166 # The user is always right.
6167 if test "${PATH_SEPARATOR+set}" != set; then
6168 echo "#! /bin/sh" >conf$$.sh
6169 echo "exit 0" >>conf$$.sh
6171 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
6182 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6183 test "x$as_lineno_1" != "x$as_lineno_2" &&
6184 test "x$as_lineno_3" = "x$as_lineno_2" || {
6185 # Find who we are. Look in the path if we contain no path at all
6188 *[\\/]* ) as_myself=$0 ;;
6189 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6193 test -z "$as_dir" && as_dir=.
6194 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6199 # We did not find ourselves, most probably we were run as `sh COMMAND'
6200 # in which case we are not to be found in the path.
6201 if test "x$as_myself" = x; then
6204 if test ! -f "$as_myself"; then
6205 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
6206 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
6207 { (exit 1); exit 1; }; }
6209 case $CONFIG_SHELL in
6211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
6215 test -z "$as_dir" && as_dir=.
6216 for as_base in sh bash ksh sh5; do
6219 if ("$as_dir/$as_base" -c '
6222 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6223 test "x$as_lineno_1" != "x$as_lineno_2" &&
6224 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
6225 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
6226 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
6227 CONFIG_SHELL=$as_dir/$as_base
6229 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
6237 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6238 # uniformly replaced by the line number. The first 'sed' inserts a
6239 # line-number line before each line; the second 'sed' does the real
6240 # work. The second script uses 'N' to pair each line-number line
6241 # with the numbered line, and appends trailing '-' during
6242 # substitution so that $LINENO is not a special case at line end.
6243 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6244 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
6245 sed '=' <$as_myself |
6250 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
6253 s,^['$as_cr_digits']*\n,,
6255 chmod +x $as_me.lineno ||
6256 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
6257 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
6258 { (exit 1); exit 1; }; }
6260 # Don't try to exec as it changes $[0], causing all sort of problems
6261 # (the dirname of $[0] is not the place where we might find the
6262 # original and so on. Autoconf is especially sensible to this).
6264 # Exit status is that of the last command.
6269 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
6270 *c*,-n*) ECHO_N= ECHO_C='
6272 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
6273 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
6276 if expr a : '\(a\)' >/dev/null 2>&1; then
6282 rm -f conf$$ conf$$.exe conf$$.file
6284 if ln -s conf$$.file conf$$ 2>/dev/null; then
6285 # We could just check for DJGPP; but this test a) works b) is more generic
6286 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
6287 if test -f conf$$.exe; then
6288 # Don't use ln at all; we don't have any links
6293 elif ln conf$$.file conf$$ 2>/dev/null; then
6298 rm -f conf$$ conf$$.exe conf$$.file
6300 if mkdir -p . 2>/dev/null; then
6306 as_executable_p="test -f"
6308 # Sed expression to map a string onto a valid CPP name.
6309 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
6311 # Sed expression to map a string onto a valid variable name.
6312 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
6316 # We need space, tab and new line, in precisely that order.
6326 # Open the log real soon, to keep \$[0] and so on meaningful, and to
6327 # report actual input values of CONFIG_FILES etc. instead of their
6328 # values after options handling. Logging --version etc. is OK.
6332 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6333 ## Running $as_me. ##
6338 This file was extended by $as_me, which was
6339 generated by GNU Autoconf 2.57. Invocation command line was
6341 CONFIG_FILES = $CONFIG_FILES
6342 CONFIG_HEADERS = $CONFIG_HEADERS
6343 CONFIG_LINKS = $CONFIG_LINKS
6344 CONFIG_COMMANDS = $CONFIG_COMMANDS
6348 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
6352 # Files that config.status was made for.
6353 if test -n "$ac_config_files"; then
6354 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
6357 if test -n "$ac_config_headers"; then
6358 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
6361 if test -n "$ac_config_links"; then
6362 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
6365 if test -n "$ac_config_commands"; then
6366 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
6369 cat >>$CONFIG_STATUS <<\_ACEOF
6372 \`$as_me' instantiates files from templates according to the
6373 current configuration.
6375 Usage: $0 [OPTIONS] [FILE]...
6377 -h, --help print this help, then exit
6378 -V, --version print version number, then exit
6379 -q, --quiet do not print progress messages
6380 -d, --debug don't remove temporary files
6381 --recheck update $as_me by reconfiguring in the same conditions
6382 --file=FILE[:TEMPLATE]
6383 instantiate the configuration file FILE
6385 Configuration files:
6388 Configuration commands:
6391 Report bugs to <bug-autoconf@gnu.org>."
6394 cat >>$CONFIG_STATUS <<_ACEOF
6397 configured by $0, generated by GNU Autoconf 2.57,
6398 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
6400 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
6401 Free Software Foundation, Inc.
6402 This config.status script is free software; the Free Software Foundation
6403 gives unlimited permission to copy, distribute and modify it."
6408 cat >>$CONFIG_STATUS <<\_ACEOF
6409 # If no file are specified by the user, then we need to provide default
6410 # value. By we need to know if files were specified by the user.
6416 ac_option=`expr "x$1" : 'x\([^=]*\)='`
6417 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
6425 *) # This is not an option, so the user has probably given explicit
6428 ac_need_defaults=false;;
6432 # Handling of the options.
6434 cat >>$CONFIG_STATUS <<\_ACEOF
6435 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6437 --version | --vers* | -V )
6438 echo "$ac_cs_version"; exit 0 ;;
6440 # Conflict between --help and --header
6441 { { echo "$as_me:$LINENO: error: ambiguous option: $1
6442 Try \`$0 --help' for more information." >&5
6443 echo "$as_me: error: ambiguous option: $1
6444 Try \`$0 --help' for more information." >&2;}
6445 { (exit 1); exit 1; }; };;
6446 --help | --hel | -h )
6447 echo "$ac_cs_usage"; exit 0 ;;
6448 --debug | --d* | -d )
6450 --file | --fil | --fi | --f )
6452 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
6453 ac_need_defaults=false;;
6454 --header | --heade | --head | --hea )
6456 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
6457 ac_need_defaults=false;;
6458 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6459 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6463 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
6464 Try \`$0 --help' for more information." >&5
6465 echo "$as_me: error: unrecognized option: $1
6466 Try \`$0 --help' for more information." >&2;}
6467 { (exit 1); exit 1; }; } ;;
6469 *) ac_config_targets="$ac_config_targets $1" ;;
6475 ac_configure_extra_args=
6477 if $ac_cs_silent; then
6479 ac_configure_extra_args="$ac_configure_extra_args --silent"
6483 cat >>$CONFIG_STATUS <<_ACEOF
6484 if \$ac_cs_recheck; then
6485 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
6486 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6491 cat >>$CONFIG_STATUS <<_ACEOF
6493 # INIT-COMMANDS section.
6499 with_multisubdir=${with_multisubdir}
6500 ac_configure_args="${multilib_arg} ${ac_configure_args}"
6501 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
6502 gc_basedir=${gc_basedir}
6504 ORIGINAL_LD_FOR_MULTILIBS="${ORIGINAL_LD_FOR_MULTILIBS}"
6506 INCLUDES="$INCLUDES"
6513 cat >>$CONFIG_STATUS <<\_ACEOF
6514 for ac_config_target in $ac_config_targets
6516 case "$ac_config_target" in
6517 # Handling of arguments.
6518 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6519 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
6520 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
6521 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6522 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6523 { (exit 1); exit 1; }; };;
6527 # If the user did not use the arguments to specify the items to instantiate,
6528 # then the envvar interface is used. Set only those that are not.
6529 # We use the long form for the default assignment because of an extremely
6530 # bizarre bug on SunOS 4.1.3.
6531 if $ac_need_defaults; then
6532 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6533 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6536 # Have a temporary directory for convenience. Make it in the build tree
6537 # simply because there is no reason to put it here, and in addition,
6538 # creating and moving files from /tmp can sometimes cause problems.
6539 # Create a temporary directory, and hook for its removal unless debugging.
6542 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
6543 trap '{ (exit 1); exit 1; }' 1 2 13 15
6546 # Create a (secure) tmp directory for tmp files.
6549 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
6550 test -n "$tmp" && test -d "$tmp"
6553 tmp=./confstat$$-$RANDOM
6554 (umask 077 && mkdir $tmp)
6557 echo "$me: cannot create a temporary directory in ." >&2
6558 { (exit 1); exit 1; }
6563 cat >>$CONFIG_STATUS <<_ACEOF
6566 # CONFIG_FILES section.
6569 # No need to generate the scripts if there are no CONFIG_FILES.
6570 # This happens for instance when ./config.status config.h
6571 if test -n "\$CONFIG_FILES"; then
6572 # Protect against being on the right side of a sed subst in config.status.
6573 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
6574 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
6575 s,@SHELL@,$SHELL,;t t
6576 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
6577 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
6578 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
6579 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
6580 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
6581 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
6582 s,@exec_prefix@,$exec_prefix,;t t
6583 s,@prefix@,$prefix,;t t
6584 s,@program_transform_name@,$program_transform_name,;t t
6585 s,@bindir@,$bindir,;t t
6586 s,@sbindir@,$sbindir,;t t
6587 s,@libexecdir@,$libexecdir,;t t
6588 s,@datadir@,$datadir,;t t
6589 s,@sysconfdir@,$sysconfdir,;t t
6590 s,@sharedstatedir@,$sharedstatedir,;t t
6591 s,@localstatedir@,$localstatedir,;t t
6592 s,@libdir@,$libdir,;t t
6593 s,@includedir@,$includedir,;t t
6594 s,@oldincludedir@,$oldincludedir,;t t
6595 s,@infodir@,$infodir,;t t
6596 s,@mandir@,$mandir,;t t
6597 s,@build_alias@,$build_alias,;t t
6598 s,@host_alias@,$host_alias,;t t
6599 s,@target_alias@,$target_alias,;t t
6601 s,@ECHO_C@,$ECHO_C,;t t
6602 s,@ECHO_N@,$ECHO_N,;t t
6603 s,@ECHO_T@,$ECHO_T,;t t
6605 s,@gc_basedir@,$gc_basedir,;t t
6606 s,@build@,$build,;t t
6607 s,@build_cpu@,$build_cpu,;t t
6608 s,@build_vendor@,$build_vendor,;t t
6609 s,@build_os@,$build_os,;t t
6611 s,@host_cpu@,$host_cpu,;t t
6612 s,@host_vendor@,$host_vendor,;t t
6613 s,@host_os@,$host_os,;t t
6614 s,@target@,$target,;t t
6615 s,@target_cpu@,$target_cpu,;t t
6616 s,@target_vendor@,$target_vendor,;t t
6617 s,@target_os@,$target_os,;t t
6618 s,@mkinstalldirs@,$mkinstalldirs,;t t
6619 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
6620 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
6621 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
6622 s,@PACKAGE@,$PACKAGE,;t t
6623 s,@VERSION@,$VERSION,;t t
6624 s,@ACLOCAL@,$ACLOCAL,;t t
6625 s,@AUTOCONF@,$AUTOCONF,;t t
6626 s,@AUTOMAKE@,$AUTOMAKE,;t t
6627 s,@AUTOHEADER@,$AUTOHEADER,;t t
6628 s,@MAKEINFO@,$MAKEINFO,;t t
6629 s,@SET_MAKE@,$SET_MAKE,;t t
6631 s,@ac_ct_CC@,$ac_ct_CC,;t t
6632 s,@EXEEXT@,$EXEEXT,;t t
6633 s,@OBJEXT@,$OBJEXT,;t t
6635 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
6636 s,@CFLAGS@,$CFLAGS,;t t
6637 s,@CXXFLAGS@,$CXXFLAGS,;t t
6639 s,@CCASFLAGS@,$CCASFLAGS,;t t
6641 s,@ac_ct_AS@,$ac_ct_AS,;t t
6643 s,@ac_ct_AR@,$ac_ct_AR,;t t
6644 s,@RANLIB@,$RANLIB,;t t
6645 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
6646 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
6647 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
6648 s,@MAINT@,$MAINT,;t t
6649 s,@GC_CFLAGS@,$GC_CFLAGS,;t t
6651 s,@STRIP@,$STRIP,;t t
6652 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
6653 s,@LIBTOOL@,$LIBTOOL,;t t
6654 s,@CXXCPP@,$CXXCPP,;t t
6655 s,@CPPFLAGS@,$CPPFLAGS,;t t
6656 s,@THREADLIBS@,$THREADLIBS,;t t
6657 s,@POWERPC_DARWIN_TRUE@,$POWERPC_DARWIN_TRUE,;t t
6658 s,@POWERPC_DARWIN_FALSE@,$POWERPC_DARWIN_FALSE,;t t
6659 s,@EXTRA_TEST_LIBS@,$EXTRA_TEST_LIBS,;t t
6660 s,@target_all@,$target_all,;t t
6661 s,@target_noncanonical@,$target_noncanonical,;t t
6662 s,@CPLUSPLUS_TRUE@,$CPLUSPLUS_TRUE,;t t
6663 s,@CPLUSPLUS_FALSE@,$CPLUSPLUS_FALSE,;t t
6664 s,@INCLUDES@,$INCLUDES,;t t
6665 s,@CXXINCLUDES@,$CXXINCLUDES,;t t
6666 s,@addobjs@,$addobjs,;t t
6667 s,@addincludes@,$addincludes,;t t
6668 s,@addlibs@,$addlibs,;t t
6669 s,@addtests@,$addtests,;t t
6671 s,@EGREP@,$EGREP,;t t
6672 s,@MY_CFLAGS@,$MY_CFLAGS,;t t
6673 s,@toolexecdir@,$toolexecdir,;t t
6674 s,@toolexeclibdir@,$toolexeclibdir,;t t
6675 s,@LIBOBJS@,$LIBOBJS,;t t
6676 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
6681 cat >>$CONFIG_STATUS <<\_ACEOF
6682 # Split the substitutions into bite-sized pieces for seds with
6683 # small command number limits, like on Digital OSF/1 and HP-UX.
6685 ac_sed_frag=1 # Number of current file.
6686 ac_beg=1 # First line for current file.
6687 ac_end=$ac_max_sed_lines # Line after last line for current file.
6690 while $ac_more_lines; do
6691 if test $ac_beg -gt 1; then
6692 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
6694 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
6696 if test ! -s $tmp/subs.frag; then
6699 # The purpose of the label and of the branching condition is to
6700 # speed up the sed processing (if there are no `@' at all, there
6701 # is no need to browse any of the substitutions).
6702 # These are the two extra sed commands mentioned above.
6704 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
6705 if test -z "$ac_sed_cmds"; then
6706 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
6708 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
6710 ac_sed_frag=`expr $ac_sed_frag + 1`
6712 ac_end=`expr $ac_end + $ac_max_sed_lines`
6715 if test -z "$ac_sed_cmds"; then
6718 fi # test -n "$CONFIG_FILES"
6721 cat >>$CONFIG_STATUS <<\_ACEOF
6722 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
6723 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6725 - | *:- | *:-:* ) # input from stdin
6727 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6728 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6729 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6730 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6731 * ) ac_file_in=$ac_file.in ;;
6734 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
6735 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6736 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6737 X"$ac_file" : 'X\(//\)[^/]' \| \
6738 X"$ac_file" : 'X\(//\)$' \| \
6739 X"$ac_file" : 'X\(/\)' \| \
6740 . : '\(.\)' 2>/dev/null ||
6742 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6743 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6744 /^X\(\/\/\)$/{ s//\1/; q; }
6745 /^X\(\/\).*/{ s//\1/; q; }
6747 { if $as_mkdir_p; then
6752 while test ! -d "$as_dir"; do
6753 as_dirs="$as_dir $as_dirs"
6754 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6755 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6756 X"$as_dir" : 'X\(//\)[^/]' \| \
6757 X"$as_dir" : 'X\(//\)$' \| \
6758 X"$as_dir" : 'X\(/\)' \| \
6759 . : '\(.\)' 2>/dev/null ||
6761 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6762 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6763 /^X\(\/\/\)$/{ s//\1/; q; }
6764 /^X\(\/\).*/{ s//\1/; q; }
6767 test ! -n "$as_dirs" || mkdir $as_dirs
6768 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6769 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6770 { (exit 1); exit 1; }; }; }
6774 if test "$ac_dir" != .; then
6775 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6776 # A "../" for each directory in $ac_dir_suffix.
6777 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6779 ac_dir_suffix= ac_top_builddir=
6783 .) # No --srcdir option. We are building in place.
6785 if test -z "$ac_top_builddir"; then
6788 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6790 [\\/]* | ?:[\\/]* ) # Absolute path.
6791 ac_srcdir=$srcdir$ac_dir_suffix;
6792 ac_top_srcdir=$srcdir ;;
6794 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6795 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6797 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
6799 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
6800 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
6801 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
6802 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
6806 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6807 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
6810 if test x"$ac_file" != x-; then
6811 { echo "$as_me:$LINENO: creating $ac_file" >&5
6812 echo "$as_me: creating $ac_file" >&6;}
6815 # Let's still pretend it is `configure' which instantiates (i.e., don't
6816 # use $as_me), people would be surprised to read:
6817 # /* config.h. Generated by config.status. */
6818 if test x"$ac_file" = x-; then
6821 configure_input="$ac_file. "
6823 configure_input=$configure_input"Generated from `echo $ac_file_in |
6824 sed 's,.*/,,'` by configure."
6826 # First look for the input files in the build tree, otherwise in the
6828 ac_file_inputs=`IFS=:
6829 for f in $ac_file_in; do
6831 -) echo $tmp/stdin ;;
6833 # Absolute (can't be DOS-style, as IFS=:)
6834 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6835 echo "$as_me: error: cannot find input file: $f" >&2;}
6836 { (exit 1); exit 1; }; }
6839 if test -f "$f"; then
6842 elif test -f "$srcdir/$f"; then
6847 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6848 echo "$as_me: error: cannot find input file: $f" >&2;}
6849 { (exit 1); exit 1; }; }
6852 done` || { (exit 1); exit 1; }
6854 cat >>$CONFIG_STATUS <<_ACEOF
6858 cat >>$CONFIG_STATUS <<\_ACEOF
6860 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6861 s,@configure_input@,$configure_input,;t t
6862 s,@srcdir@,$ac_srcdir,;t t
6863 s,@abs_srcdir@,$ac_abs_srcdir,;t t
6864 s,@top_srcdir@,$ac_top_srcdir,;t t
6865 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
6866 s,@builddir@,$ac_builddir,;t t
6867 s,@abs_builddir@,$ac_abs_builddir,;t t
6868 s,@top_builddir@,$ac_top_builddir,;t t
6869 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
6870 s,@INSTALL@,$ac_INSTALL,;t t
6871 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6873 if test x"$ac_file" != x-; then
6874 mv $tmp/out $ac_file
6882 cat >>$CONFIG_STATUS <<\_ACEOF
6885 # CONFIG_COMMANDS section.
6887 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
6888 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
6889 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
6890 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
6891 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6892 X"$ac_dest" : 'X\(//\)[^/]' \| \
6893 X"$ac_dest" : 'X\(//\)$' \| \
6894 X"$ac_dest" : 'X\(/\)' \| \
6895 . : '\(.\)' 2>/dev/null ||
6897 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6898 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6899 /^X\(\/\/\)$/{ s//\1/; q; }
6900 /^X\(\/\).*/{ s//\1/; q; }
6904 if test "$ac_dir" != .; then
6905 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6906 # A "../" for each directory in $ac_dir_suffix.
6907 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6909 ac_dir_suffix= ac_top_builddir=
6913 .) # No --srcdir option. We are building in place.
6915 if test -z "$ac_top_builddir"; then
6918 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6920 [\\/]* | ?:[\\/]* ) # Absolute path.
6921 ac_srcdir=$srcdir$ac_dir_suffix;
6922 ac_top_srcdir=$srcdir ;;
6924 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6925 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6927 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
6929 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
6930 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
6931 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
6932 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
6935 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
6936 echo "$as_me: executing $ac_dest commands" >&6;}
6939 echo "$INCLUDES $DEFS" > boehm-cflags
6941 if test -n "$CONFIG_FILES"; then
6942 LD="${ORIGINAL_LD_FOR_MULTILIBS}"
6943 ac_file=Makefile . ${gc_basedir}/../config-ml.in
6949 cat >>$CONFIG_STATUS <<\_ACEOF
6951 { (exit 0); exit 0; }
6953 chmod +x $CONFIG_STATUS
6954 ac_clean_files=$ac_clean_files_save
6957 # configure is writing to config.log, and then calls config.status.
6958 # config.status does its own redirection, appending to config.log.
6959 # Unfortunately, on DOS this fails, as config.log is still kept open
6960 # by configure, so config.status won't be able to write to it; its
6961 # output is simply discarded. So we exec the FD to /dev/null,
6962 # effectively closing config.log, so it can be properly (re)opened and
6963 # appended to by config.status. When coming back to configure, we
6964 # need to make the FD available again.
6965 if test "$no_create" != yes; then
6967 ac_config_status_args=
6968 test "$silent" = yes &&
6969 ac_config_status_args="$ac_config_status_args --quiet"
6971 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6973 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6974 # would make configure fail if this is the last instruction.
6975 $ac_cs_success || { (exit 1); exit 1; }