2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for GNU Classpath 0.92-pre.
5 # Report bugs to <classpath@gnu.org>.
7 # Copyright (C) 2003 Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
10 ## --------------------- ##
11 ## M4sh Initialization. ##
12 ## --------------------- ##
14 # Be Bourne compatible
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
21 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
24 DUALCASE=1; export DUALCASE # for MKS sh
26 # Support unset when possible.
27 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
46 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 eval $as_var=C; export $as_var
53 # Required to use basename.
54 if expr a : '\(a\)' >/dev/null 2>&1; then
60 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
67 # Name of the executable.
68 as_me=`$as_basename "$0" ||
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
80 # PATH needs CR, and LINENO needs CR and PATH.
81 # Avoid depending upon Character Ranges.
82 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85 as_cr_digits='0123456789'
86 as_cr_alnum=$as_cr_Letters$as_cr_digits
88 # The user is always right.
89 if test "${PATH_SEPARATOR+set}" != set; then
90 echo "#! /bin/sh" >conf$$.sh
91 echo "exit 0" >>conf$$.sh
93 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
104 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 test "x$as_lineno_1" != "x$as_lineno_2" &&
106 test "x$as_lineno_3" = "x$as_lineno_2" || {
107 # Find who we are. Look in the path if we contain no path at all
110 *[\\/]* ) as_myself=$0 ;;
111 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
115 test -z "$as_dir" && as_dir=.
116 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
121 # We did not find ourselves, most probably we were run as `sh COMMAND'
122 # in which case we are not to be found in the path.
123 if test "x$as_myself" = x; then
126 if test ! -f "$as_myself"; then
127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 { (exit 1); exit 1; }; }
130 case $CONFIG_SHELL in
132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
136 test -z "$as_dir" && as_dir=.
137 for as_base in sh bash ksh sh5; do
140 if ("$as_dir/$as_base" -c '
143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 test "x$as_lineno_1" != "x$as_lineno_2" &&
145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
146 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148 CONFIG_SHELL=$as_dir/$as_base
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 # uniformly replaced by the line number. The first 'sed' inserts a
160 # line-number line before each line; the second 'sed' does the real
161 # work. The second script uses 'N' to pair each line-number line
162 # with the numbered line, and appends trailing '-' during
163 # substitution so that $LINENO is not a special case at line end.
164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166 sed '=' <$as_myself |
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
174 s,^['$as_cr_digits']*\n,,
176 chmod +x $as_me.lineno ||
177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 { (exit 1); exit 1; }; }
180 # Don't try to exec as it changes $[0], causing all sort of problems
181 # (the dirname of $[0] is not the place where we might find the
182 # original and so on. Autoconf is especially sensible to this).
184 # Exit status is that of the last command.
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 *c*,-n*) ECHO_N= ECHO_C='
192 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
196 if expr a : '\(a\)' >/dev/null 2>&1; then
202 rm -f conf$$ conf$$.exe conf$$.file
204 if ln -s conf$$.file conf$$ 2>/dev/null; then
205 # We could just check for DJGPP; but this test a) works b) is more generic
206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207 if test -f conf$$.exe; then
208 # Don't use ln at all; we don't have any links
213 elif ln conf$$.file conf$$ 2>/dev/null; then
218 rm -f conf$$ conf$$.exe conf$$.file
220 if mkdir -p . 2>/dev/null; then
223 test -d ./-p && rmdir ./-p
227 as_executable_p="test -f"
229 # Sed expression to map a string onto a valid CPP name.
230 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232 # Sed expression to map a string onto a valid variable name.
233 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
237 # We need space, tab and new line, in precisely that order.
247 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248 # so uname gets run too.
249 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
256 ac_default_prefix=/usr/local
257 ac_config_libobj_dir=.
262 SHELL=${CONFIG_SHELL-/bin/sh}
264 # Maximum number of lines to put in a shell here document.
265 # This variable seems obsolete. It should probably be removed, and
266 # only ac_max_sed_lines should be used.
267 : ${ac_max_here_lines=38}
269 # Identity of this package.
270 PACKAGE_NAME='GNU Classpath'
271 PACKAGE_TARNAME='classpath'
272 PACKAGE_VERSION='0.92-pre'
273 PACKAGE_STRING='GNU Classpath 0.92-pre'
274 PACKAGE_BUGREPORT='classpath@gnu.org'
276 ac_unique_file="java/lang/System.java"
277 ac_default_prefix=/usr/local/classpath
278 # Factoring default headers for most tests.
279 ac_includes_default="\
282 # include <sys/types.h>
285 # include <sys/stat.h>
296 # if !STDC_HEADERS && HAVE_MEMORY_H
302 # include <strings.h>
305 # include <inttypes.h>
315 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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os LIBVERSION CLASSPATH_MODULE CLASSPATH_CONVENIENCE INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar CREATE_COLLECTIONS_TRUE CREATE_COLLECTIONS_FALSE CREATE_JNI_LIBRARIES_TRUE CREATE_JNI_LIBRARIES_FALSE CREATE_CORE_JNI_LIBRARIES_TRUE CREATE_CORE_JNI_LIBRARIES_FALSE default_toolkit CREATE_XMLJ_LIBRARY_TRUE CREATE_XMLJ_LIBRARY_FALSE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP CREATE_ALSA_LIBRARIES_TRUE CREATE_ALSA_LIBRARIES_FALSE CREATE_DSSI_LIBRARIES_TRUE CREATE_DSSI_LIBRARIES_FALSE CREATE_GTK_PEER_LIBRARIES_TRUE CREATE_GTK_PEER_LIBRARIES_FALSE CREATE_QT_PEER_LIBRARIES_TRUE CREATE_QT_PEER_LIBRARIES_FALSE CREATE_PLUGIN_TRUE CREATE_PLUGIN_FALSE nativeexeclibdir glibjdir VM_BINARY FOUND_CACAO_TRUE FOUND_CACAO_FALSE CREATE_JNI_HEADERS_TRUE CREATE_JNI_HEADERS_FALSE CREATE_WRAPPERS_TRUE CREATE_WRAPPERS_FALSE LN_S CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE RANLIB ac_ct_RANLIB LIBTOOL CXXCPP PERL COLLECTIONS_PREFIX LIBMAGIC LIBICONV LTLIBICONV WARNING_CFLAGS STRICT_WARNING_CFLAGS ERROR_CFLAGS PKG_CONFIG XML_CFLAGS XML_LIBS XSLT_CFLAGS XSLT_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS GTK_CFLAGS GTK_LIBS FREETYPE2_CFLAGS FREETYPE2_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS XTEST_LIBS QT_CFLAGS QT_LIBS MOC MOZILLA_CFLAGS MOZILLA_LIBS GLIB_CFLAGS GLIB_LIBS PLUGIN_DIR USER_JAVAH USER_SPECIFIED_JAVAH_TRUE USER_SPECIFIED_JAVAH_FALSE CLASSPATH_INCLUDES GCJ JIKES JIKESENCODING JIKESWARNINGS KJC GCJX ECJ FOUND_GCJ_TRUE FOUND_GCJ_FALSE FOUND_JIKES_TRUE FOUND_JIKES_FALSE FOUND_ECJ_TRUE FOUND_ECJ_FALSE FOUND_KJC_TRUE FOUND_KJC_FALSE FOUND_GCJX_TRUE FOUND_GCJX_FALSE USER_CLASSLIB USER_SPECIFIED_CLASSLIB_TRUE USER_SPECIFIED_CLASSLIB_FALSE vm_classes MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBDEBUG INIT_LOAD_LIBRARY JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION REMOVE MKDIR CP DATE FIND ZIP FASTJAR INSTALL_GLIBJ_ZIP_TRUE INSTALL_GLIBJ_ZIP_FALSE INSTALL_CLASS_FILES_TRUE INSTALL_CLASS_FILES_FALSE BUILD_CLASS_FILES_TRUE BUILD_CLASS_FILES_FALSE EXAMPLESDIR GJDOC CREATE_API_DOCS_TRUE CREATE_API_DOCS_FALSE JAY JAY_SKELETON REGEN_PARSERS_TRUE REGEN_PARSERS_FALSE USE_PREBUILT_GLIBJ_ZIP_TRUE USE_PREBUILT_GLIBJ_ZIP_FALSE PATH_TO_GLIBJ_ZIP ENABLE_LOCAL_SOCKETS_TRUE ENABLE_LOCAL_SOCKETS_FALSE LIBOBJS LTLIBOBJS'
318 # Initialize some variables set by options.
320 ac_init_version=false
321 # The variables have the same names as the options, with
322 # dashes changed to underlines.
330 program_transform_name=s,x,x,
338 # Installation directory options.
339 # These are left unexpanded so users can "make install exec_prefix=/foo"
340 # and all the variables that are supposed to be based on exec_prefix
341 # by default will actually change.
342 # Use braces instead of parens because sh, perl, etc. also accept them.
343 bindir='${exec_prefix}/bin'
344 sbindir='${exec_prefix}/sbin'
345 libexecdir='${exec_prefix}/libexec'
346 datadir='${prefix}/share'
347 sysconfdir='${prefix}/etc'
348 sharedstatedir='${prefix}/com'
349 localstatedir='${prefix}/var'
350 libdir='${exec_prefix}/lib'
351 includedir='${prefix}/include'
352 oldincludedir='/usr/include'
353 infodir='${prefix}/info'
354 mandir='${prefix}/man'
359 # If the previous option needs an argument, assign it.
360 if test -n "$ac_prev"; then
361 eval "$ac_prev=\$ac_option"
366 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
368 # Accept the important Cygnus configure options, so we can diagnose typos.
372 -bindir | --bindir | --bindi | --bind | --bin | --bi)
374 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
377 -build | --build | --buil | --bui | --bu)
378 ac_prev=build_alias ;;
379 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
380 build_alias=$ac_optarg ;;
382 -cache-file | --cache-file | --cache-fil | --cache-fi \
383 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
384 ac_prev=cache_file ;;
385 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
386 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
387 cache_file=$ac_optarg ;;
390 cache_file=config.cache ;;
392 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
394 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
396 datadir=$ac_optarg ;;
398 -disable-* | --disable-*)
399 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
400 # Reject names that are not valid shell variable names.
401 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
402 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
403 { (exit 1); exit 1; }; }
404 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
405 eval "enable_$ac_feature=no" ;;
407 -enable-* | --enable-*)
408 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
409 # Reject names that are not valid shell variable names.
410 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
411 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
412 { (exit 1); exit 1; }; }
413 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
415 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
418 eval "enable_$ac_feature='$ac_optarg'" ;;
420 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
421 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
422 | --exec | --exe | --ex)
423 ac_prev=exec_prefix ;;
424 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
425 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
426 | --exec=* | --exe=* | --ex=*)
427 exec_prefix=$ac_optarg ;;
429 -gas | --gas | --ga | --g)
430 # Obsolete; use --with-gas.
433 -help | --help | --hel | --he | -h)
435 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
436 ac_init_help=recursive ;;
437 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
438 ac_init_help=short ;;
440 -host | --host | --hos | --ho)
441 ac_prev=host_alias ;;
442 -host=* | --host=* | --hos=* | --ho=*)
443 host_alias=$ac_optarg ;;
445 -includedir | --includedir | --includedi | --included | --include \
446 | --includ | --inclu | --incl | --inc)
447 ac_prev=includedir ;;
448 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
449 | --includ=* | --inclu=* | --incl=* | --inc=*)
450 includedir=$ac_optarg ;;
452 -infodir | --infodir | --infodi | --infod | --info | --inf)
454 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
455 infodir=$ac_optarg ;;
457 -libdir | --libdir | --libdi | --libd)
459 -libdir=* | --libdir=* | --libdi=* | --libd=*)
462 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
463 | --libexe | --libex | --libe)
464 ac_prev=libexecdir ;;
465 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
466 | --libexe=* | --libex=* | --libe=*)
467 libexecdir=$ac_optarg ;;
469 -localstatedir | --localstatedir | --localstatedi | --localstated \
470 | --localstate | --localstat | --localsta | --localst \
471 | --locals | --local | --loca | --loc | --lo)
472 ac_prev=localstatedir ;;
473 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
474 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
475 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
476 localstatedir=$ac_optarg ;;
478 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
480 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
484 # Obsolete; use --without-fp.
487 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
488 | --no-cr | --no-c | -n)
491 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
492 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
495 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
496 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
497 | --oldin | --oldi | --old | --ol | --o)
498 ac_prev=oldincludedir ;;
499 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
500 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
501 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
502 oldincludedir=$ac_optarg ;;
504 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
506 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
509 -program-prefix | --program-prefix | --program-prefi | --program-pref \
510 | --program-pre | --program-pr | --program-p)
511 ac_prev=program_prefix ;;
512 -program-prefix=* | --program-prefix=* | --program-prefi=* \
513 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
514 program_prefix=$ac_optarg ;;
516 -program-suffix | --program-suffix | --program-suffi | --program-suff \
517 | --program-suf | --program-su | --program-s)
518 ac_prev=program_suffix ;;
519 -program-suffix=* | --program-suffix=* | --program-suffi=* \
520 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
521 program_suffix=$ac_optarg ;;
523 -program-transform-name | --program-transform-name \
524 | --program-transform-nam | --program-transform-na \
525 | --program-transform-n | --program-transform- \
526 | --program-transform | --program-transfor \
527 | --program-transfo | --program-transf \
528 | --program-trans | --program-tran \
529 | --progr-tra | --program-tr | --program-t)
530 ac_prev=program_transform_name ;;
531 -program-transform-name=* | --program-transform-name=* \
532 | --program-transform-nam=* | --program-transform-na=* \
533 | --program-transform-n=* | --program-transform-=* \
534 | --program-transform=* | --program-transfor=* \
535 | --program-transfo=* | --program-transf=* \
536 | --program-trans=* | --program-tran=* \
537 | --progr-tra=* | --program-tr=* | --program-t=*)
538 program_transform_name=$ac_optarg ;;
540 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
541 | -silent | --silent | --silen | --sile | --sil)
544 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
546 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
548 sbindir=$ac_optarg ;;
550 -sharedstatedir | --sharedstatedir | --sharedstatedi \
551 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
552 | --sharedst | --shareds | --shared | --share | --shar \
554 ac_prev=sharedstatedir ;;
555 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
556 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
557 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
559 sharedstatedir=$ac_optarg ;;
561 -site | --site | --sit)
563 -site=* | --site=* | --sit=*)
566 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
568 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
571 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
572 | --syscon | --sysco | --sysc | --sys | --sy)
573 ac_prev=sysconfdir ;;
574 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
575 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
576 sysconfdir=$ac_optarg ;;
578 -target | --target | --targe | --targ | --tar | --ta | --t)
579 ac_prev=target_alias ;;
580 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
581 target_alias=$ac_optarg ;;
583 -v | -verbose | --verbose | --verbos | --verbo | --verb)
586 -version | --version | --versio | --versi | --vers | -V)
590 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
591 # Reject names that are not valid shell variable names.
592 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
593 { echo "$as_me: error: invalid package name: $ac_package" >&2
594 { (exit 1); exit 1; }; }
595 ac_package=`echo $ac_package| sed 's/-/_/g'`
597 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
600 eval "with_$ac_package='$ac_optarg'" ;;
602 -without-* | --without-*)
603 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
604 # Reject names that are not valid shell variable names.
605 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
606 { echo "$as_me: error: invalid package name: $ac_package" >&2
607 { (exit 1); exit 1; }; }
608 ac_package=`echo $ac_package | sed 's/-/_/g'`
609 eval "with_$ac_package=no" ;;
612 # Obsolete; use --with-x.
615 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
616 | --x-incl | --x-inc | --x-in | --x-i)
617 ac_prev=x_includes ;;
618 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
619 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
620 x_includes=$ac_optarg ;;
622 -x-libraries | --x-libraries | --x-librarie | --x-librari \
623 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
624 ac_prev=x_libraries ;;
625 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
626 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
627 x_libraries=$ac_optarg ;;
629 -*) { echo "$as_me: error: unrecognized option: $ac_option
630 Try \`$0 --help' for more information." >&2
631 { (exit 1); exit 1; }; }
635 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
636 # Reject names that are not valid shell variable names.
637 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
638 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
639 { (exit 1); exit 1; }; }
640 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
641 eval "$ac_envvar='$ac_optarg'"
645 # FIXME: should be removed in autoconf 3.0.
646 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
647 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
648 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
649 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
655 if test -n "$ac_prev"; then
656 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
657 { echo "$as_me: error: missing argument to $ac_option" >&2
658 { (exit 1); exit 1; }; }
661 # Be sure to have absolute paths.
662 for ac_var in exec_prefix prefix
664 eval ac_val=$`echo $ac_var`
666 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
667 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
668 { (exit 1); exit 1; }; };;
672 # Be sure to have absolute paths.
673 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
674 localstatedir libdir includedir oldincludedir infodir mandir
676 eval ac_val=$`echo $ac_var`
678 [\\/$]* | ?:[\\/]* ) ;;
679 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
680 { (exit 1); exit 1; }; };;
684 # There might be people who depend on the old broken behavior: `$host'
685 # used to hold the argument of --host etc.
686 # FIXME: To remove some day.
691 # FIXME: To remove some day.
692 if test "x$host_alias" != x; then
693 if test "x$build_alias" = x; then
694 cross_compiling=maybe
695 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
696 If a cross compiler is detected then cross compile mode will be used." >&2
697 elif test "x$build_alias" != "x$host_alias"; then
703 test -n "$host_alias" && ac_tool_prefix=$host_alias-
705 test "$silent" = yes && exec 6>/dev/null
708 # Find the source files, if location was not specified.
709 if test -z "$srcdir"; then
710 ac_srcdir_defaulted=yes
711 # Try the directory containing this script, then its parent.
712 ac_confdir=`(dirname "$0") 2>/dev/null ||
713 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
714 X"$0" : 'X\(//\)[^/]' \| \
715 X"$0" : 'X\(//\)$' \| \
716 X"$0" : 'X\(/\)' \| \
717 . : '\(.\)' 2>/dev/null ||
719 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
720 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
721 /^X\(\/\/\)$/{ s//\1/; q; }
722 /^X\(\/\).*/{ s//\1/; q; }
725 if test ! -r $srcdir/$ac_unique_file; then
729 ac_srcdir_defaulted=no
731 if test ! -r $srcdir/$ac_unique_file; then
732 if test "$ac_srcdir_defaulted" = yes; then
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
734 { (exit 1); exit 1; }; }
736 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
737 { (exit 1); exit 1; }; }
740 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
741 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
742 { (exit 1); exit 1; }; }
743 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
744 ac_env_build_alias_set=${build_alias+set}
745 ac_env_build_alias_value=$build_alias
746 ac_cv_env_build_alias_set=${build_alias+set}
747 ac_cv_env_build_alias_value=$build_alias
748 ac_env_host_alias_set=${host_alias+set}
749 ac_env_host_alias_value=$host_alias
750 ac_cv_env_host_alias_set=${host_alias+set}
751 ac_cv_env_host_alias_value=$host_alias
752 ac_env_target_alias_set=${target_alias+set}
753 ac_env_target_alias_value=$target_alias
754 ac_cv_env_target_alias_set=${target_alias+set}
755 ac_cv_env_target_alias_value=$target_alias
756 ac_env_CC_set=${CC+set}
758 ac_cv_env_CC_set=${CC+set}
759 ac_cv_env_CC_value=$CC
760 ac_env_CFLAGS_set=${CFLAGS+set}
761 ac_env_CFLAGS_value=$CFLAGS
762 ac_cv_env_CFLAGS_set=${CFLAGS+set}
763 ac_cv_env_CFLAGS_value=$CFLAGS
764 ac_env_LDFLAGS_set=${LDFLAGS+set}
765 ac_env_LDFLAGS_value=$LDFLAGS
766 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
767 ac_cv_env_LDFLAGS_value=$LDFLAGS
768 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
769 ac_env_CPPFLAGS_value=$CPPFLAGS
770 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
771 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
772 ac_env_CPP_set=${CPP+set}
773 ac_env_CPP_value=$CPP
774 ac_cv_env_CPP_set=${CPP+set}
775 ac_cv_env_CPP_value=$CPP
776 ac_env_CXX_set=${CXX+set}
777 ac_env_CXX_value=$CXX
778 ac_cv_env_CXX_set=${CXX+set}
779 ac_cv_env_CXX_value=$CXX
780 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
781 ac_env_CXXFLAGS_value=$CXXFLAGS
782 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
783 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
784 ac_env_CXXCPP_set=${CXXCPP+set}
785 ac_env_CXXCPP_value=$CXXCPP
786 ac_cv_env_CXXCPP_set=${CXXCPP+set}
787 ac_cv_env_CXXCPP_value=$CXXCPP
790 # Report the --help message.
792 if test "$ac_init_help" = "long"; then
793 # Omit some internal or obsolete options to make the list less imposing.
794 # This message is too long to be a string in the A/UX 3.1 sh.
796 \`configure' configures GNU Classpath 0.92-pre to adapt to many kinds of systems.
798 Usage: $0 [OPTION]... [VAR=VALUE]...
800 To assign environment variables (e.g., CC, CFLAGS...), specify them as
801 VAR=VALUE. See below for descriptions of some of the useful variables.
803 Defaults for the options are specified in brackets.
806 -h, --help display this help and exit
807 --help=short display options specific to this package
808 --help=recursive display the short help of all the included packages
809 -V, --version display version information and exit
810 -q, --quiet, --silent do not print \`checking...' messages
811 --cache-file=FILE cache test results in FILE [disabled]
812 -C, --config-cache alias for \`--cache-file=config.cache'
813 -n, --no-create do not create output files
814 --srcdir=DIR find the sources in DIR [configure dir or \`..']
819 Installation directories:
820 --prefix=PREFIX install architecture-independent files in PREFIX
822 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
825 By default, \`make install' will install all the files in
826 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
827 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
828 for instance \`--prefix=\$HOME'.
830 For better control, use the options below.
832 Fine tuning of the installation directories:
833 --bindir=DIR user executables [EPREFIX/bin]
834 --sbindir=DIR system admin executables [EPREFIX/sbin]
835 --libexecdir=DIR program executables [EPREFIX/libexec]
836 --datadir=DIR read-only architecture-independent data [PREFIX/share]
837 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
838 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
839 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
840 --libdir=DIR object code libraries [EPREFIX/lib]
841 --includedir=DIR C header files [PREFIX/include]
842 --oldincludedir=DIR C header files for non-gcc [/usr/include]
843 --infodir=DIR info documentation [PREFIX/info]
844 --mandir=DIR man documentation [PREFIX/man]
850 --program-prefix=PREFIX prepend PREFIX to installed program names
851 --program-suffix=SUFFIX append SUFFIX to installed program names
852 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
855 --x-includes=DIR X include files are in DIR
856 --x-libraries=DIR X library files are in DIR
859 --build=BUILD configure for building on BUILD [guessed]
860 --host=HOST cross-compile to build programs to run on HOST [BUILD]
861 --target=TARGET configure for building compilers for TARGET [HOST]
865 if test -n "$ac_init_help"; then
866 case $ac_init_help in
867 short | recursive ) echo "Configuration of GNU Classpath 0.92-pre:";;
872 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
873 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
874 --enable-collections create collections.jar default=no
875 --enable-jni compile JNI source default=yes
876 --enable-core-jni compile JNI sources for core default=yes
877 --enable-Werror whether to compile C code with -Werror which turns
878 any compiler warning into a compilation failure
880 --enable-default-toolkit
881 fully qualified class name of default AWT toolkit
882 --enable-xmlj compile native libxml/xslt library default=no
883 --disable-alsa compile ALSA providers (enable by --enable-alsa)
885 --disable-dependency-tracking speeds up one-time build
886 --enable-dependency-tracking do not reject slow dependency extractors
887 --disable-dssi compile DSSI providers (enable by --enable-dssi)
889 --disable-gtk-peer compile GTK native peers (disabled by --disable-jni)
892 --enable-qt-peer compile Qt4 native peers (disabled by --disable-jni)
894 --disable-plugin compile gcjwebplugin (disabled by --disable-plugin)
896 --enable-regen-headers automatically regenerate JNI headers default=no
897 --enable-tool-wrappers create tool wrapper binaries default=no
898 --enable-static=PKGS build static libraries default=no
899 --enable-shared=PKGS build shared libraries default=yes
900 --enable-fast-install=PKGS optimize for fast installation default=yes
901 --disable-libtool-lock avoid locking (might break parallel builds)
902 --disable-rpath do not hardcode runtime library paths
903 --enable-maintainer-mode enable make rules and dependencies not useful
904 (and sometimes confusing) to the casual installer
905 --enable-debug enable runtime debugging code
906 --enable-load-library enable to use JNI native methods default=yes
907 --enable-java-lang-system-explicit-initialization
908 will the VM explicitly invoke java.lang.System's
909 static initialization methods default=no
910 --enable-examples enable build of the examples default=yes
911 --enable-portable-native-sync
912 synchronize VM threads portably
913 --enable-local-sockets enables local (AF_LOCAL) socket API default: no
916 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
917 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
918 --with-native-libdir sets the installation directory for native libraries
919 default='${libdir}/${PACKAGE}'
920 --with-glibj-dir sets the installation directory for glibj.zip
921 default='${libdir}/${PACKAGE}'
922 --with-vm sets the VM binary name
923 default='${prefix}/bin/jamvm'
924 --with-gnu-ld assume the C compiler uses GNU ld default=no
925 --with-pic try to use only PIC/non-PIC objects default=use both
926 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
927 --without-libiconv-prefix don't search for libiconv in includedir and libdir
928 --with-x use the X Window System
929 --with-qt4dir=DIR Qt4 installation directory used for OS-X. For other
930 systems use pkg-config.
931 --with-javah specify path or name of a javah-like program
932 --with-gcj bytecode compilation with gcj
933 --with-jikes bytecode compilation with jikes
934 --with-kjc bytecode compilation with kjc
935 --with-gcjx bytecode compilation with gcjx
936 --with-ecj bytecode compilation with ecj
937 --with-classpath specify path to a classes.zip like file
938 --with-vm-classes specify path to VM override source files
939 --with-fastjar=PATH define to use a fastjar style tool
940 --with-glibj define what to install (zip|flat|both|none|build)
942 --with-gjdoc generate documentation using gjdoc (default is NO)
943 --with-jay Regenerate the parsers with jay must be given the
944 path to the jay executable
945 --with-glibj-zip=ABS.PATH
946 use prebuilt glibj.zip class library
948 Some influential environment variables:
949 CC C compiler command
950 CFLAGS C compiler flags
951 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
952 nonstandard directory <lib dir>
953 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
954 headers in a nonstandard directory <include dir>
956 CXX C++ compiler command
957 CXXFLAGS C++ compiler flags
958 CXXCPP C++ preprocessor
960 Use these variables to override the choices made by `configure' or to help
961 it to find libraries and programs with nonstandard names/locations.
963 Report bugs to <classpath@gnu.org>.
967 if test "$ac_init_help" = "recursive"; then
968 # If there are subdirs, report their specific --help.
970 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
971 test -d $ac_dir || continue
974 if test "$ac_dir" != .; then
975 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
976 # A "../" for each directory in $ac_dir_suffix.
977 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
979 ac_dir_suffix= ac_top_builddir=
983 .) # No --srcdir option. We are building in place.
985 if test -z "$ac_top_builddir"; then
988 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
990 [\\/]* | ?:[\\/]* ) # Absolute path.
991 ac_srcdir=$srcdir$ac_dir_suffix;
992 ac_top_srcdir=$srcdir ;;
994 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
995 ac_top_srcdir=$ac_top_builddir$srcdir ;;
998 # Do not use `cd foo && pwd` to compute absolute paths, because
999 # the directories may not exist.
1001 .) ac_abs_builddir="$ac_dir";;
1004 .) ac_abs_builddir=`pwd`;;
1005 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1006 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1009 case $ac_abs_builddir in
1010 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1012 case ${ac_top_builddir}. in
1013 .) ac_abs_top_builddir=$ac_abs_builddir;;
1014 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1015 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1018 case $ac_abs_builddir in
1019 .) ac_abs_srcdir=$ac_srcdir;;
1022 .) ac_abs_srcdir=$ac_abs_builddir;;
1023 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1024 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1027 case $ac_abs_builddir in
1028 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1030 case $ac_top_srcdir in
1031 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1032 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1033 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1038 # Check for guested configure; otherwise get Cygnus style configure.
1039 if test -f $ac_srcdir/configure.gnu; then
1041 $SHELL $ac_srcdir/configure.gnu --help=recursive
1042 elif test -f $ac_srcdir/configure; then
1044 $SHELL $ac_srcdir/configure --help=recursive
1045 elif test -f $ac_srcdir/configure.ac ||
1046 test -f $ac_srcdir/configure.in; then
1048 $ac_configure --help
1050 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1056 test -n "$ac_init_help" && exit 0
1057 if $ac_init_version; then
1059 GNU Classpath configure 0.92-pre
1060 generated by GNU Autoconf 2.59
1062 Copyright (C) 2003 Free Software Foundation, Inc.
1063 This configure script is free software; the Free Software Foundation
1064 gives unlimited permission to copy, distribute and modify it.
1070 This file contains any messages produced by compilers while
1071 running configure, to aid debugging if configure makes a mistake.
1073 It was created by GNU Classpath $as_me 0.92-pre, which was
1074 generated by GNU Autoconf 2.59. Invocation command line was
1085 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1086 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1087 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1088 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1089 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1091 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1092 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1094 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1095 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1096 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1097 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1098 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1099 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1100 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1108 test -z "$as_dir" && as_dir=.
1109 echo "PATH: $as_dir"
1124 # Keep a trace of the command line.
1125 # Strip out --no-create and --no-recursion so they do not pile up.
1126 # Strip out --silent because we don't want to record it for future runs.
1127 # Also quote any args containing shell meta-characters.
1128 # Make two passes to allow for proper duplicate-argument suppression.
1133 ac_must_keep_next=false
1139 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1140 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1141 | -silent | --silent | --silen | --sile | --sil)
1143 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1144 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1147 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1149 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1150 if test $ac_must_keep_next = true; then
1151 ac_must_keep_next=false # Got value, back to normal.
1154 *=* | --config-cache | -C | -disable-* | --disable-* \
1155 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1156 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1157 | -with-* | --with-* | -without-* | --without-* | --x)
1158 case "$ac_configure_args0 " in
1159 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1162 -* ) ac_must_keep_next=true ;;
1165 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1166 # Get rid of the leading space.
1172 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1173 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1175 # When interrupted or exit'd, cleanup temporary files, and complete
1176 # config.log. We remove comments because anyway the quotes in there
1177 # would cause problems or look ugly.
1178 # WARNING: Be sure not to use single quotes in there, as some shells,
1179 # such as our DU 5.0 friend, will then `close' the trap.
1180 trap 'exit_status=$?
1181 # Save into config.log some information that might help in debugging.
1186 ## ---------------- ##
1187 ## Cache variables. ##
1188 ## ---------------- ##
1191 # The following way of writing the cache mishandles newlines in values,
1194 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1197 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1198 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1202 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1209 ## ----------------- ##
1210 ## Output variables. ##
1211 ## ----------------- ##
1214 for ac_var in $ac_subst_vars
1216 eval ac_val=$`echo $ac_var`
1217 echo "$ac_var='"'"'$ac_val'"'"'"
1221 if test -n "$ac_subst_files"; then
1228 for ac_var in $ac_subst_files
1230 eval ac_val=$`echo $ac_var`
1231 echo "$ac_var='"'"'$ac_val'"'"'"
1236 if test -s confdefs.h; then
1243 sed "/^$/d" confdefs.h | sort
1246 test "$ac_signal" != 0 &&
1247 echo "$as_me: caught signal $ac_signal"
1248 echo "$as_me: exit $exit_status"
1250 rm -f core *.core &&
1251 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1254 for ac_signal in 1 2 13 15; do
1255 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1259 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1260 rm -rf conftest* confdefs.h
1261 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1264 # Predefined preprocessor variables.
1266 cat >>confdefs.h <<_ACEOF
1267 #define PACKAGE_NAME "$PACKAGE_NAME"
1271 cat >>confdefs.h <<_ACEOF
1272 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1276 cat >>confdefs.h <<_ACEOF
1277 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1281 cat >>confdefs.h <<_ACEOF
1282 #define PACKAGE_STRING "$PACKAGE_STRING"
1286 cat >>confdefs.h <<_ACEOF
1287 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1291 # Let the site file select an alternate cache file if it wants to.
1292 # Prefer explicitly selected file to automatically selected ones.
1293 if test -z "$CONFIG_SITE"; then
1294 if test "x$prefix" != xNONE; then
1295 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1297 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1300 for ac_site_file in $CONFIG_SITE; do
1301 if test -r "$ac_site_file"; then
1302 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1303 echo "$as_me: loading site script $ac_site_file" >&6;}
1304 sed 's/^/| /' "$ac_site_file" >&5
1309 if test -r "$cache_file"; then
1310 # Some versions of bash will fail to source /dev/null (special
1311 # files actually), so we avoid doing that.
1312 if test -f "$cache_file"; then
1313 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1314 echo "$as_me: loading cache $cache_file" >&6;}
1316 [\\/]* | ?:[\\/]* ) . $cache_file;;
1317 *) . ./$cache_file;;
1321 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1322 echo "$as_me: creating cache $cache_file" >&6;}
1326 # Check that the precious variables saved in the cache have kept the same
1328 ac_cache_corrupted=false
1329 for ac_var in `(set) 2>&1 |
1330 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1331 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1332 eval ac_new_set=\$ac_env_${ac_var}_set
1333 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1334 eval ac_new_val="\$ac_env_${ac_var}_value"
1335 case $ac_old_set,$ac_new_set in
1337 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1338 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1339 ac_cache_corrupted=: ;;
1341 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1342 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1343 ac_cache_corrupted=: ;;
1346 if test "x$ac_old_val" != "x$ac_new_val"; then
1347 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1348 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1349 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1350 echo "$as_me: former value: $ac_old_val" >&2;}
1351 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1352 echo "$as_me: current value: $ac_new_val" >&2;}
1353 ac_cache_corrupted=:
1356 # Pass precious variables to config.status.
1357 if test "$ac_new_set" = set; then
1359 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1360 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1361 *) ac_arg=$ac_var=$ac_new_val ;;
1363 case " $ac_configure_args " in
1364 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1365 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1369 if $ac_cache_corrupted; then
1370 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1371 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1372 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1373 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1374 { (exit 1); exit 1; }; }
1378 ac_cpp='$CPP $CPPFLAGS'
1379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1412 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1413 if test -f $ac_dir/install-sh; then
1415 ac_install_sh="$ac_aux_dir/install-sh -c"
1417 elif test -f $ac_dir/install.sh; then
1419 ac_install_sh="$ac_aux_dir/install.sh -c"
1421 elif test -f $ac_dir/shtool; then
1423 ac_install_sh="$ac_aux_dir/shtool install -c"
1427 if test -z "$ac_aux_dir"; then
1428 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1429 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1430 { (exit 1); exit 1; }; }
1432 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1433 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1434 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1436 # Make sure we can run config.sub.
1437 $ac_config_sub sun4 >/dev/null 2>&1 ||
1438 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1439 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1440 { (exit 1); exit 1; }; }
1442 echo "$as_me:$LINENO: checking build system type" >&5
1443 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1444 if test "${ac_cv_build+set}" = set; then
1445 echo $ECHO_N "(cached) $ECHO_C" >&6
1447 ac_cv_build_alias=$build_alias
1448 test -z "$ac_cv_build_alias" &&
1449 ac_cv_build_alias=`$ac_config_guess`
1450 test -z "$ac_cv_build_alias" &&
1451 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1452 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1453 { (exit 1); exit 1; }; }
1454 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1455 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1456 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1457 { (exit 1); exit 1; }; }
1460 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1461 echo "${ECHO_T}$ac_cv_build" >&6
1463 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1464 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1465 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1468 echo "$as_me:$LINENO: checking host system type" >&5
1469 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1470 if test "${ac_cv_host+set}" = set; then
1471 echo $ECHO_N "(cached) $ECHO_C" >&6
1473 ac_cv_host_alias=$host_alias
1474 test -z "$ac_cv_host_alias" &&
1475 ac_cv_host_alias=$ac_cv_build_alias
1476 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1477 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1478 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1479 { (exit 1); exit 1; }; }
1482 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1483 echo "${ECHO_T}$ac_cv_host" >&6
1485 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1486 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1487 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1490 echo "$as_me:$LINENO: checking target system type" >&5
1491 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1492 if test "${ac_cv_target+set}" = set; then
1493 echo $ECHO_N "(cached) $ECHO_C" >&6
1495 ac_cv_target_alias=$target_alias
1496 test "x$ac_cv_target_alias" = "x" &&
1497 ac_cv_target_alias=$ac_cv_host_alias
1498 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1499 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1500 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1501 { (exit 1); exit 1; }; }
1504 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1505 echo "${ECHO_T}$ac_cv_target" >&6
1506 target=$ac_cv_target
1507 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1508 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1509 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1512 # The aliases save the names the user supplied, while $host etc.
1513 # will get canonicalized.
1514 test -n "$target_alias" &&
1515 test "$program_prefix$program_suffix$program_transform_name" = \
1517 program_prefix=${target_alias}-
1519 if expr ${target_cpu} : '.*86' > /dev/null; then target_cpu=x86; fi
1532 CLASSPATH_MODULE="${cp_module} -version-info ${LIBVERSION} -no-undefined"
1535 CLASSPATH_CONVENIENCE="-no-undefined"
1539 am__api_version="1.9"
1540 # Find a good install program. We prefer a C program (faster),
1541 # so one script is as good as another. But avoid the broken or
1542 # incompatible versions:
1543 # SysV /etc/install, /usr/sbin/install
1544 # SunOS /usr/etc/install
1545 # IRIX /sbin/install
1547 # AmigaOS /C/install, which installs bootblocks on floppy discs
1548 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1549 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1550 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1551 # OS/2's system install, which has a completely different semantic
1552 # ./install, which can be erroneously created by make from ./install.sh.
1553 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1554 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1555 if test -z "$INSTALL"; then
1556 if test "${ac_cv_path_install+set}" = set; then
1557 echo $ECHO_N "(cached) $ECHO_C" >&6
1559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1563 test -z "$as_dir" && as_dir=.
1564 # Account for people who put trailing slashes in PATH elements.
1566 ./ | .// | /cC/* | \
1567 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1568 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1571 # OSF1 and SCO ODT 3.0 have their own names for install.
1572 # Don't use installbsd from OSF since it installs stuff as root
1574 for ac_prog in ginstall scoinst install; do
1575 for ac_exec_ext in '' $ac_executable_extensions; do
1576 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1577 if test $ac_prog = install &&
1578 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1579 # AIX install. It has an incompatible calling convention.
1581 elif test $ac_prog = install &&
1582 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1583 # program-specific install script used by HP pwplus--don't use.
1586 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1598 if test "${ac_cv_path_install+set}" = set; then
1599 INSTALL=$ac_cv_path_install
1601 # As a last resort, use the slow shell script. We don't cache a
1602 # path for INSTALL within a source directory, because that will
1603 # break other packages using the cache if that directory is
1604 # removed, or if the path is relative.
1605 INSTALL=$ac_install_sh
1608 echo "$as_me:$LINENO: result: $INSTALL" >&5
1609 echo "${ECHO_T}$INSTALL" >&6
1611 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1612 # It thinks the first close brace ends the variable substitution.
1613 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1615 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1617 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1619 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1620 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1623 echo timestamp > conftest.file
1624 # Do `set' in a subshell so we don't clobber the current shell's
1625 # arguments. Must try -L first in case configure is actually a
1626 # symlink; some systems play weird games with the mod time of symlinks
1627 # (eg FreeBSD returns the mod time of the symlink's containing
1630 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1631 if test "$*" = "X"; then
1633 set X `ls -t $srcdir/configure conftest.file`
1636 if test "$*" != "X $srcdir/configure conftest.file" \
1637 && test "$*" != "X conftest.file $srcdir/configure"; then
1639 # If neither matched, then we have a broken ls. This can happen
1640 # if, for instance, CONFIG_SHELL is bash and it inherits a
1641 # broken ls alias from the environment. This has actually
1642 # happened. Such a system could not be considered "sane".
1643 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1644 alias in your environment" >&5
1645 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1646 alias in your environment" >&2;}
1647 { (exit 1); exit 1; }; }
1650 test "$2" = conftest.file
1656 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1657 Check your system clock" >&5
1658 echo "$as_me: error: newly created file is older than distributed files!
1659 Check your system clock" >&2;}
1660 { (exit 1); exit 1; }; }
1662 echo "$as_me:$LINENO: result: yes" >&5
1663 echo "${ECHO_T}yes" >&6
1664 test "$program_prefix" != NONE &&
1665 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1666 # Use a double $ so make ignores it.
1667 test "$program_suffix" != NONE &&
1668 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1669 # Double any \ or $. echo might interpret backslashes.
1670 # By default was `s,x,x', remove it if useless.
1671 cat <<\_ACEOF >conftest.sed
1672 s/[\\$]/&&/g;s/;s,x,x,$//
1674 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1677 # expand $ac_aux_dir to an absolute path
1678 am_aux_dir=`cd $ac_aux_dir && pwd`
1680 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1681 # Use eval to expand $SHELL
1682 if eval "$MISSING --run true"; then
1683 am_missing_run="$MISSING --run "
1686 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1687 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1690 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1691 # We used to keeping the `.' as first argument, in order to
1692 # allow $(mkdir_p) to be used without argument. As in
1693 # $(mkdir_p) $(somedir)
1694 # where $(somedir) is conditionally defined. However this is wrong
1696 # 1. if the package is installed by a user who cannot write `.'
1697 # make install will fail,
1698 # 2. the above comment should most certainly read
1699 # $(mkdir_p) $(DESTDIR)$(somedir)
1700 # so it does not work when $(somedir) is undefined and
1701 # $(DESTDIR) is not.
1702 # To support the latter case, we have to write
1703 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1704 # so the `.' trick is pointless.
1705 mkdir_p='mkdir -p --'
1707 # On NextStep and OpenStep, the `mkdir' command does not
1708 # recognize any option. It will interpret all options as
1709 # directories to create, and then abort because `.' already
1711 for d in ./-p ./--version;
1713 test -d $d && rmdir $d
1715 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1716 if test -f "$ac_aux_dir/mkinstalldirs"; then
1717 mkdir_p='$(mkinstalldirs)'
1719 mkdir_p='$(install_sh) -d'
1723 for ac_prog in gawk mawk nawk awk
1725 # Extract the first word of "$ac_prog", so it can be a program name with args.
1726 set dummy $ac_prog; ac_word=$2
1727 echo "$as_me:$LINENO: checking for $ac_word" >&5
1728 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1729 if test "${ac_cv_prog_AWK+set}" = set; then
1730 echo $ECHO_N "(cached) $ECHO_C" >&6
1732 if test -n "$AWK"; then
1733 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1739 test -z "$as_dir" && as_dir=.
1740 for ac_exec_ext in '' $ac_executable_extensions; do
1741 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1742 ac_cv_prog_AWK="$ac_prog"
1743 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1752 if test -n "$AWK"; then
1753 echo "$as_me:$LINENO: result: $AWK" >&5
1754 echo "${ECHO_T}$AWK" >&6
1756 echo "$as_me:$LINENO: result: no" >&5
1757 echo "${ECHO_T}no" >&6
1760 test -n "$AWK" && break
1763 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1764 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1765 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1766 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1767 echo $ECHO_N "(cached) $ECHO_C" >&6
1769 cat >conftest.make <<\_ACEOF
1771 @echo 'ac_maketemp="$(MAKE)"'
1773 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1774 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1775 if test -n "$ac_maketemp"; then
1776 eval ac_cv_prog_make_${ac_make}_set=yes
1778 eval ac_cv_prog_make_${ac_make}_set=no
1782 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1783 echo "$as_me:$LINENO: result: yes" >&5
1784 echo "${ECHO_T}yes" >&6
1787 echo "$as_me:$LINENO: result: no" >&5
1788 echo "${ECHO_T}no" >&6
1789 SET_MAKE="MAKE=${MAKE-make}"
1792 rm -rf .tst 2>/dev/null
1793 mkdir .tst 2>/dev/null
1794 if test -d .tst; then
1799 rmdir .tst 2>/dev/null
1801 # test to see if srcdir already configured
1802 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1803 test -f $srcdir/config.status; then
1804 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1805 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1806 { (exit 1); exit 1; }; }
1809 # test whether we have cygpath
1810 if test -z "$CYGPATH_W"; then
1811 if (cygpath --version) >/dev/null 2>/dev/null; then
1812 CYGPATH_W='cygpath -w'
1819 # Define the identity of the package.
1824 cat >>confdefs.h <<_ACEOF
1825 #define PACKAGE "$PACKAGE"
1829 cat >>confdefs.h <<_ACEOF
1830 #define VERSION "$VERSION"
1833 # Some tools Automake needs.
1835 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1838 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1841 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1844 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1847 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1849 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1851 # Installed binaries are usually stripped using `strip' when the user
1852 # run `make install-strip'. However `strip' might not be the right
1853 # tool to use in cross-compilation environments, therefore Automake
1854 # will honor the `STRIP' environment variable to overrule this program.
1855 if test "$cross_compiling" != no; then
1856 if test -n "$ac_tool_prefix"; then
1857 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1858 set dummy ${ac_tool_prefix}strip; ac_word=$2
1859 echo "$as_me:$LINENO: checking for $ac_word" >&5
1860 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1861 if test "${ac_cv_prog_STRIP+set}" = set; then
1862 echo $ECHO_N "(cached) $ECHO_C" >&6
1864 if test -n "$STRIP"; then
1865 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1871 test -z "$as_dir" && as_dir=.
1872 for ac_exec_ext in '' $ac_executable_extensions; do
1873 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1874 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1875 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1883 STRIP=$ac_cv_prog_STRIP
1884 if test -n "$STRIP"; then
1885 echo "$as_me:$LINENO: result: $STRIP" >&5
1886 echo "${ECHO_T}$STRIP" >&6
1888 echo "$as_me:$LINENO: result: no" >&5
1889 echo "${ECHO_T}no" >&6
1893 if test -z "$ac_cv_prog_STRIP"; then
1895 # Extract the first word of "strip", so it can be a program name with args.
1896 set dummy strip; ac_word=$2
1897 echo "$as_me:$LINENO: checking for $ac_word" >&5
1898 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1899 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1900 echo $ECHO_N "(cached) $ECHO_C" >&6
1902 if test -n "$ac_ct_STRIP"; then
1903 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1909 test -z "$as_dir" && as_dir=.
1910 for ac_exec_ext in '' $ac_executable_extensions; do
1911 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1912 ac_cv_prog_ac_ct_STRIP="strip"
1913 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1919 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1922 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1923 if test -n "$ac_ct_STRIP"; then
1924 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1925 echo "${ECHO_T}$ac_ct_STRIP" >&6
1927 echo "$as_me:$LINENO: result: no" >&5
1928 echo "${ECHO_T}no" >&6
1933 STRIP="$ac_cv_prog_STRIP"
1937 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1939 # We need awk for the "check" target. The system "awk" is bad on
1941 # Always define AMTAR for backward compatibility.
1943 AMTAR=${AMTAR-"${am_missing_run}tar"}
1946 echo "$as_me:$LINENO: checking how to create a ustar tar archive" >&5
1947 echo $ECHO_N "checking how to create a ustar tar archive... $ECHO_C" >&6
1948 # Loop over all known methods to create a tar archive until one works.
1949 _am_tools='gnutar plaintar pax cpio none'
1950 _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
1951 # Do not fold the above two line into one, because Tru64 sh and
1952 # Solaris sh will not grok spaces in the rhs of `-'.
1953 for _am_tool in $_am_tools
1957 for _am_tar in tar gnutar gtar;
1959 { echo "$as_me:$LINENO: $_am_tar --version" >&5
1960 ($_am_tar --version) >&5 2>&5
1962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1963 (exit $ac_status); } && break
1965 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
1966 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
1967 am__untar="$_am_tar -xf -"
1970 # Must skip GNU tar: if it does not support --format= it doesn't create
1971 # ustar tarball either.
1972 (tar --version) >/dev/null 2>&1 && continue
1973 am__tar='tar chf - "$$tardir"'
1974 am__tar_='tar chf - "$tardir"'
1975 am__untar='tar xf -'
1978 am__tar='pax -L -x ustar -w "$$tardir"'
1979 am__tar_='pax -L -x ustar -w "$tardir"'
1983 am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
1984 am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
1985 am__untar='cpio -i -H ustar -d'
1994 # If the value was cached, stop now. We just wanted to have am__tar
1995 # and am__untar set.
1996 test -n "${am_cv_prog_tar_ustar}" && break
1998 # tar/untar a dummy directory, and stop if the command works
2001 echo GrepMe > conftest.dir/file
2002 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2003 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2006 (exit $ac_status); }
2008 if test -s conftest.tar; then
2009 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2010 ($am__untar <conftest.tar) >&5 2>&5
2012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2013 (exit $ac_status); }
2014 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2019 if test "${am_cv_prog_tar_ustar+set}" = set; then
2020 echo $ECHO_N "(cached) $ECHO_C" >&6
2022 am_cv_prog_tar_ustar=$_am_tool
2025 echo "$as_me:$LINENO: result: $am_cv_prog_tar_ustar" >&5
2026 echo "${ECHO_T}$am_cv_prog_tar_ustar" >&6
2032 ac_config_headers="$ac_config_headers include/config.h"
2036 # Check whether --enable-collections or --disable-collections was given.
2037 if test "${enable_collections+set}" = set; then
2038 enableval="$enable_collections"
2039 case x"${enableval}" in
2040 xyes) COMPILE_COLLECTIONS=yes; COLLECTIONS_PREFIX="\"gnu/java/util/collections\"" ;;
2041 xno) COMPILE_COLLECTIONS=no ;;
2042 x) COMPILE_COLLECTIONS=yes; COLLECTIONS_PREFIX="\"gnu/java/util/collections\"" ;;
2043 *) COMPILE_COLLECTIONS=yes; COLLECTIONS_PREFIX="\"${enableval}\"" ;;
2046 COMPILE_COLLECTIONS=no
2050 if test "x${COMPILE_COLLECTIONS}" = xyes; then
2051 CREATE_COLLECTIONS_TRUE=
2052 CREATE_COLLECTIONS_FALSE='#'
2054 CREATE_COLLECTIONS_TRUE='#'
2055 CREATE_COLLECTIONS_FALSE=
2059 # Check whether --enable-jni or --disable-jni was given.
2060 if test "${enable_jni+set}" = set; then
2061 enableval="$enable_jni"
2062 case "${enableval}" in
2063 yes) COMPILE_JNI=yes; COMPILE_JAVA=yes ;;
2064 no) COMPILE_JNI=no ;;
2065 *) COMPILE_JNI=yes; COMPILE_JAVA=yes ;;
2072 if test "x${COMPILE_JNI}" = xyes; then
2073 CREATE_JNI_LIBRARIES_TRUE=
2074 CREATE_JNI_LIBRARIES_FALSE='#'
2076 CREATE_JNI_LIBRARIES_TRUE='#'
2077 CREATE_JNI_LIBRARIES_FALSE=
2081 # Check whether --enable-core-jni or --disable-core-jni was given.
2082 if test "${enable_core_jni+set}" = set; then
2083 enableval="$enable_core_jni"
2084 case "${enableval}" in
2085 yes) COMPILE_CORE_JNI=yes; COMPILE_JAVA=yes ;;
2086 no) COMPILE_CORE_JNI=no ;;
2087 *) COMPILE_CORE_JNI=yes; COMPILE_JAVA=yes ;;
2090 COMPILE_CORE_JNI=yes
2094 if test "x${COMPILE_CORE_JNI}" = xyes; then
2095 CREATE_CORE_JNI_LIBRARIES_TRUE=
2096 CREATE_CORE_JNI_LIBRARIES_FALSE='#'
2098 CREATE_CORE_JNI_LIBRARIES_TRUE='#'
2099 CREATE_CORE_JNI_LIBRARIES_FALSE=
2103 # Check whether --enable-Werror or --disable-Werror was given.
2104 if test "${enable_Werror+set}" = set; then
2105 enableval="$enable_Werror"
2106 case "${enableval}" in
2107 yes) ENABLE_WERROR=yes ;;
2108 no) ENABLE_WERROR=no ;;
2109 *) ENABLE_WERROR=no ;;
2115 # Check whether --enable-default-toolkit or --disable-default-toolkit was given.
2116 if test "${enable_default_toolkit+set}" = set; then
2117 enableval="$enable_default_toolkit"
2120 default_toolkit=$enable_default_toolkit
2121 if test "$default_toolkit" = ""; then
2122 default_toolkit=gnu.java.awt.peer.gtk.GtkToolkit
2126 # Check whether --enable-xmlj or --disable-xmlj was given.
2127 if test "${enable_xmlj+set}" = set; then
2128 enableval="$enable_xmlj"
2129 case "${enableval}" in
2130 yes) COMPILE_XMLJ=yes ;;
2131 no) COMPILE_XMLJ=no ;;
2132 *) COMPILE_XMLJ=no ;;
2139 if test "x${COMPILE_XMLJ}" = xyes; then
2140 CREATE_XMLJ_LIBRARY_TRUE=
2141 CREATE_XMLJ_LIBRARY_FALSE='#'
2143 CREATE_XMLJ_LIBRARY_TRUE='#'
2144 CREATE_XMLJ_LIBRARY_FALSE=
2148 DEPDIR="${am__leading_dot}deps"
2150 ac_config_commands="$ac_config_commands depfiles"
2153 am_make=${MAKE-make}
2154 cat > confinc << 'END'
2159 # If we don't find an include directive, just comment out the code.
2160 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2161 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2165 # First try GNU make style include.
2166 echo "include confinc" > confmf
2167 # We grep out `Entering directory' and `Leaving directory'
2168 # messages which can occur if `w' ends up in MAKEFLAGS.
2169 # In particular we don't look at `^make:' because GNU make might
2170 # be invoked under some other name (usually "gmake"), in which
2171 # case it prints its new name instead of `make'.
2172 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2177 # Now try BSD make style include.
2178 if test "$am__include" = "#"; then
2179 echo '.include "confinc"' > confmf
2180 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2181 am__include=.include
2188 echo "$as_me:$LINENO: result: $_am_result" >&5
2189 echo "${ECHO_T}$_am_result" >&6
2190 rm -f confinc confmf
2192 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2193 if test "${enable_dependency_tracking+set}" = set; then
2194 enableval="$enable_dependency_tracking"
2197 if test "x$enable_dependency_tracking" != xno; then
2198 am_depcomp="$ac_aux_dir/depcomp"
2203 if test "x$enable_dependency_tracking" != xno; then
2214 ac_cpp='$CPP $CPPFLAGS'
2215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2218 if test -n "$ac_tool_prefix"; then
2219 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2220 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2221 echo "$as_me:$LINENO: checking for $ac_word" >&5
2222 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2223 if test "${ac_cv_prog_CC+set}" = set; then
2224 echo $ECHO_N "(cached) $ECHO_C" >&6
2226 if test -n "$CC"; then
2227 ac_cv_prog_CC="$CC" # Let the user override the test.
2229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2233 test -z "$as_dir" && as_dir=.
2234 for ac_exec_ext in '' $ac_executable_extensions; do
2235 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2236 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2237 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2246 if test -n "$CC"; then
2247 echo "$as_me:$LINENO: result: $CC" >&5
2248 echo "${ECHO_T}$CC" >&6
2250 echo "$as_me:$LINENO: result: no" >&5
2251 echo "${ECHO_T}no" >&6
2255 if test -z "$ac_cv_prog_CC"; then
2257 # Extract the first word of "gcc", so it can be a program name with args.
2258 set dummy gcc; ac_word=$2
2259 echo "$as_me:$LINENO: checking for $ac_word" >&5
2260 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2261 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2262 echo $ECHO_N "(cached) $ECHO_C" >&6
2264 if test -n "$ac_ct_CC"; then
2265 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2271 test -z "$as_dir" && as_dir=.
2272 for ac_exec_ext in '' $ac_executable_extensions; do
2273 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2274 ac_cv_prog_ac_ct_CC="gcc"
2275 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2283 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2284 if test -n "$ac_ct_CC"; then
2285 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2286 echo "${ECHO_T}$ac_ct_CC" >&6
2288 echo "$as_me:$LINENO: result: no" >&5
2289 echo "${ECHO_T}no" >&6
2297 if test -z "$CC"; then
2298 if test -n "$ac_tool_prefix"; then
2299 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2300 set dummy ${ac_tool_prefix}cc; ac_word=$2
2301 echo "$as_me:$LINENO: checking for $ac_word" >&5
2302 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2303 if test "${ac_cv_prog_CC+set}" = set; then
2304 echo $ECHO_N "(cached) $ECHO_C" >&6
2306 if test -n "$CC"; then
2307 ac_cv_prog_CC="$CC" # Let the user override the test.
2309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2313 test -z "$as_dir" && as_dir=.
2314 for ac_exec_ext in '' $ac_executable_extensions; do
2315 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2316 ac_cv_prog_CC="${ac_tool_prefix}cc"
2317 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2326 if test -n "$CC"; then
2327 echo "$as_me:$LINENO: result: $CC" >&5
2328 echo "${ECHO_T}$CC" >&6
2330 echo "$as_me:$LINENO: result: no" >&5
2331 echo "${ECHO_T}no" >&6
2335 if test -z "$ac_cv_prog_CC"; then
2337 # Extract the first word of "cc", so it can be a program name with args.
2338 set dummy cc; ac_word=$2
2339 echo "$as_me:$LINENO: checking for $ac_word" >&5
2340 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2341 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2342 echo $ECHO_N "(cached) $ECHO_C" >&6
2344 if test -n "$ac_ct_CC"; then
2345 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2351 test -z "$as_dir" && as_dir=.
2352 for ac_exec_ext in '' $ac_executable_extensions; do
2353 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2354 ac_cv_prog_ac_ct_CC="cc"
2355 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2363 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2364 if test -n "$ac_ct_CC"; then
2365 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2366 echo "${ECHO_T}$ac_ct_CC" >&6
2368 echo "$as_me:$LINENO: result: no" >&5
2369 echo "${ECHO_T}no" >&6
2378 if test -z "$CC"; then
2379 # Extract the first word of "cc", so it can be a program name with args.
2380 set dummy cc; ac_word=$2
2381 echo "$as_me:$LINENO: checking for $ac_word" >&5
2382 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2383 if test "${ac_cv_prog_CC+set}" = set; then
2384 echo $ECHO_N "(cached) $ECHO_C" >&6
2386 if test -n "$CC"; then
2387 ac_cv_prog_CC="$CC" # Let the user override the test.
2390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2394 test -z "$as_dir" && as_dir=.
2395 for ac_exec_ext in '' $ac_executable_extensions; do
2396 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2397 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2398 ac_prog_rejected=yes
2402 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2408 if test $ac_prog_rejected = yes; then
2409 # We found a bogon in the path, so make sure we never use it.
2410 set dummy $ac_cv_prog_CC
2412 if test $# != 0; then
2413 # We chose a different compiler from the bogus one.
2414 # However, it has the same basename, so the bogon will be chosen
2415 # first if we set CC to just the basename; use the full file name.
2417 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2423 if test -n "$CC"; then
2424 echo "$as_me:$LINENO: result: $CC" >&5
2425 echo "${ECHO_T}$CC" >&6
2427 echo "$as_me:$LINENO: result: no" >&5
2428 echo "${ECHO_T}no" >&6
2432 if test -z "$CC"; then
2433 if test -n "$ac_tool_prefix"; then
2436 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2437 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2438 echo "$as_me:$LINENO: checking for $ac_word" >&5
2439 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2440 if test "${ac_cv_prog_CC+set}" = set; then
2441 echo $ECHO_N "(cached) $ECHO_C" >&6
2443 if test -n "$CC"; then
2444 ac_cv_prog_CC="$CC" # Let the user override the test.
2446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2450 test -z "$as_dir" && as_dir=.
2451 for ac_exec_ext in '' $ac_executable_extensions; do
2452 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2453 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2454 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2463 if test -n "$CC"; then
2464 echo "$as_me:$LINENO: result: $CC" >&5
2465 echo "${ECHO_T}$CC" >&6
2467 echo "$as_me:$LINENO: result: no" >&5
2468 echo "${ECHO_T}no" >&6
2471 test -n "$CC" && break
2474 if test -z "$CC"; then
2478 # Extract the first word of "$ac_prog", so it can be a program name with args.
2479 set dummy $ac_prog; ac_word=$2
2480 echo "$as_me:$LINENO: checking for $ac_word" >&5
2481 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2482 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2483 echo $ECHO_N "(cached) $ECHO_C" >&6
2485 if test -n "$ac_ct_CC"; then
2486 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2492 test -z "$as_dir" && as_dir=.
2493 for ac_exec_ext in '' $ac_executable_extensions; do
2494 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2495 ac_cv_prog_ac_ct_CC="$ac_prog"
2496 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2504 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2505 if test -n "$ac_ct_CC"; then
2506 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2507 echo "${ECHO_T}$ac_ct_CC" >&6
2509 echo "$as_me:$LINENO: result: no" >&5
2510 echo "${ECHO_T}no" >&6
2513 test -n "$ac_ct_CC" && break
2522 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2523 See \`config.log' for more details." >&5
2524 echo "$as_me: error: no acceptable C compiler found in \$PATH
2525 See \`config.log' for more details." >&2;}
2526 { (exit 1); exit 1; }; }
2528 # Provide some information about the compiler.
2529 echo "$as_me:$LINENO:" \
2530 "checking for C compiler version" >&5
2531 ac_compiler=`set X $ac_compile; echo $2`
2532 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2533 (eval $ac_compiler --version </dev/null >&5) 2>&5
2535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2536 (exit $ac_status); }
2537 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2538 (eval $ac_compiler -v </dev/null >&5) 2>&5
2540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2541 (exit $ac_status); }
2542 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2543 (eval $ac_compiler -V </dev/null >&5) 2>&5
2545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2546 (exit $ac_status); }
2548 cat >conftest.$ac_ext <<_ACEOF
2551 cat confdefs.h >>conftest.$ac_ext
2552 cat >>conftest.$ac_ext <<_ACEOF
2553 /* end confdefs.h. */
2563 ac_clean_files_save=$ac_clean_files
2564 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2565 # Try to create an executable without -o first, disregard a.out.
2566 # It will help us diagnose broken compilers, and finding out an intuition
2568 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2569 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2570 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2571 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2572 (eval $ac_link_default) 2>&5
2574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2575 (exit $ac_status); }; then
2576 # Find the output, starting from the most likely. This scheme is
2577 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2580 # Be careful to initialize this variable, since it used to be cached.
2581 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2583 # b.out is created by i960 compilers.
2584 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2586 test -f "$ac_file" || continue
2588 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2591 # This is the source file.
2594 # We found the default executable, but exeext='' is most
2598 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2599 # FIXME: I believe we export ac_cv_exeext for Libtool,
2600 # but it would be cool to find out if it's true. Does anybody
2601 # maintain Libtool? --akim.
2609 echo "$as_me: failed program was:" >&5
2610 sed 's/^/| /' conftest.$ac_ext >&5
2612 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2613 See \`config.log' for more details." >&5
2614 echo "$as_me: error: C compiler cannot create executables
2615 See \`config.log' for more details." >&2;}
2616 { (exit 77); exit 77; }; }
2619 ac_exeext=$ac_cv_exeext
2620 echo "$as_me:$LINENO: result: $ac_file" >&5
2621 echo "${ECHO_T}$ac_file" >&6
2623 # Check the compiler produces executables we can run. If not, either
2624 # the compiler is broken, or we cross compile.
2625 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2626 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2627 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2628 # If not cross compiling, check that we can run a simple program.
2629 if test "$cross_compiling" != yes; then
2630 if { ac_try='./$ac_file'
2631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2635 (exit $ac_status); }; }; then
2638 if test "$cross_compiling" = maybe; then
2641 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2642 If you meant to cross compile, use \`--host'.
2643 See \`config.log' for more details." >&5
2644 echo "$as_me: error: cannot run C compiled programs.
2645 If you meant to cross compile, use \`--host'.
2646 See \`config.log' for more details." >&2;}
2647 { (exit 1); exit 1; }; }
2651 echo "$as_me:$LINENO: result: yes" >&5
2652 echo "${ECHO_T}yes" >&6
2654 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2655 ac_clean_files=$ac_clean_files_save
2656 # Check the compiler produces executables we can run. If not, either
2657 # the compiler is broken, or we cross compile.
2658 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2659 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2660 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2661 echo "${ECHO_T}$cross_compiling" >&6
2663 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2664 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2666 (eval $ac_link) 2>&5
2668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2669 (exit $ac_status); }; then
2670 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2671 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2672 # work properly (i.e., refer to `conftest.exe'), while it won't with
2674 for ac_file in conftest.exe conftest conftest.*; do
2675 test -f "$ac_file" || continue
2677 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2678 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2685 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2686 See \`config.log' for more details." >&5
2687 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2688 See \`config.log' for more details." >&2;}
2689 { (exit 1); exit 1; }; }
2692 rm -f conftest$ac_cv_exeext
2693 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2694 echo "${ECHO_T}$ac_cv_exeext" >&6
2696 rm -f conftest.$ac_ext
2697 EXEEXT=$ac_cv_exeext
2699 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2700 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2701 if test "${ac_cv_objext+set}" = set; then
2702 echo $ECHO_N "(cached) $ECHO_C" >&6
2704 cat >conftest.$ac_ext <<_ACEOF
2707 cat confdefs.h >>conftest.$ac_ext
2708 cat >>conftest.$ac_ext <<_ACEOF
2709 /* end confdefs.h. */
2719 rm -f conftest.o conftest.obj
2720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2721 (eval $ac_compile) 2>&5
2723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2724 (exit $ac_status); }; then
2725 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2727 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2728 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2733 echo "$as_me: failed program was:" >&5
2734 sed 's/^/| /' conftest.$ac_ext >&5
2736 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2737 See \`config.log' for more details." >&5
2738 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2739 See \`config.log' for more details." >&2;}
2740 { (exit 1); exit 1; }; }
2743 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2745 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2746 echo "${ECHO_T}$ac_cv_objext" >&6
2747 OBJEXT=$ac_cv_objext
2749 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2750 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2751 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2752 echo $ECHO_N "(cached) $ECHO_C" >&6
2754 cat >conftest.$ac_ext <<_ACEOF
2757 cat confdefs.h >>conftest.$ac_ext
2758 cat >>conftest.$ac_ext <<_ACEOF
2759 /* end confdefs.h. */
2772 rm -f conftest.$ac_objext
2773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2774 (eval $ac_compile) 2>conftest.er1
2776 grep -v '^ *+' conftest.er1 >conftest.err
2778 cat conftest.err >&5
2779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2780 (exit $ac_status); } &&
2781 { ac_try='test -z "$ac_c_werror_flag"
2782 || test ! -s conftest.err'
2783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2787 (exit $ac_status); }; } &&
2788 { ac_try='test -s conftest.$ac_objext'
2789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2793 (exit $ac_status); }; }; then
2796 echo "$as_me: failed program was:" >&5
2797 sed 's/^/| /' conftest.$ac_ext >&5
2801 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2802 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2805 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2806 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2807 GCC=`test $ac_compiler_gnu = yes && echo yes`
2808 ac_test_CFLAGS=${CFLAGS+set}
2809 ac_save_CFLAGS=$CFLAGS
2811 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2812 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2813 if test "${ac_cv_prog_cc_g+set}" = set; then
2814 echo $ECHO_N "(cached) $ECHO_C" >&6
2816 cat >conftest.$ac_ext <<_ACEOF
2819 cat confdefs.h >>conftest.$ac_ext
2820 cat >>conftest.$ac_ext <<_ACEOF
2821 /* end confdefs.h. */
2831 rm -f conftest.$ac_objext
2832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2833 (eval $ac_compile) 2>conftest.er1
2835 grep -v '^ *+' conftest.er1 >conftest.err
2837 cat conftest.err >&5
2838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2839 (exit $ac_status); } &&
2840 { ac_try='test -z "$ac_c_werror_flag"
2841 || test ! -s conftest.err'
2842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2846 (exit $ac_status); }; } &&
2847 { ac_try='test -s conftest.$ac_objext'
2848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2852 (exit $ac_status); }; }; then
2855 echo "$as_me: failed program was:" >&5
2856 sed 's/^/| /' conftest.$ac_ext >&5
2860 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2862 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2863 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2864 if test "$ac_test_CFLAGS" = set; then
2865 CFLAGS=$ac_save_CFLAGS
2866 elif test $ac_cv_prog_cc_g = yes; then
2867 if test "$GCC" = yes; then
2873 if test "$GCC" = yes; then
2879 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2880 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2881 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2882 echo $ECHO_N "(cached) $ECHO_C" >&6
2884 ac_cv_prog_cc_stdc=no
2886 cat >conftest.$ac_ext <<_ACEOF
2889 cat confdefs.h >>conftest.$ac_ext
2890 cat >>conftest.$ac_ext <<_ACEOF
2891 /* end confdefs.h. */
2894 #include <sys/types.h>
2895 #include <sys/stat.h>
2896 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2897 struct buf { int x; };
2898 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2899 static char *e (p, i)
2905 static char *f (char * (*g) (char **, int), char **p, ...)
2910 s = g (p, va_arg (v,int));
2915 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2916 function prototypes and stuff, but not '\xHH' hex character constants.
2917 These don't provoke an error unfortunately, instead are silently treated
2918 as 'x'. The following induces an error, until -std1 is added to get
2919 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2920 array size at least. It's necessary to write '\x00'==0 to get something
2921 that's true only with -std1. */
2922 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2924 int test (int i, double x);
2925 struct s1 {int (*f) (int a);};
2926 struct s2 {int (*f) (double a);};
2927 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2933 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2938 # Don't try gcc -ansi; that turns off useful extensions and
2939 # breaks some systems' header files.
2940 # AIX -qlanglvl=ansi
2941 # Ultrix and OSF/1 -std1
2942 # HP-UX 10.20 and later -Ae
2943 # HP-UX older versions -Aa -D_HPUX_SOURCE
2944 # SVR4 -Xc -D__EXTENSIONS__
2945 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2947 CC="$ac_save_CC $ac_arg"
2948 rm -f conftest.$ac_objext
2949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2950 (eval $ac_compile) 2>conftest.er1
2952 grep -v '^ *+' conftest.er1 >conftest.err
2954 cat conftest.err >&5
2955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2956 (exit $ac_status); } &&
2957 { ac_try='test -z "$ac_c_werror_flag"
2958 || test ! -s conftest.err'
2959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2963 (exit $ac_status); }; } &&
2964 { ac_try='test -s conftest.$ac_objext'
2965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2969 (exit $ac_status); }; }; then
2970 ac_cv_prog_cc_stdc=$ac_arg
2973 echo "$as_me: failed program was:" >&5
2974 sed 's/^/| /' conftest.$ac_ext >&5
2977 rm -f conftest.err conftest.$ac_objext
2979 rm -f conftest.$ac_ext conftest.$ac_objext
2984 case "x$ac_cv_prog_cc_stdc" in
2986 echo "$as_me:$LINENO: result: none needed" >&5
2987 echo "${ECHO_T}none needed" >&6 ;;
2989 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2990 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2991 CC="$CC $ac_cv_prog_cc_stdc" ;;
2994 # Some people use a C++ compiler to compile C. Since we use `exit',
2995 # in C++ we need to declare it. In case someone uses the same compiler
2996 # for both compiling C and C++ we need to have the C++ compiler decide
2997 # the declaration of exit, since it's the most demanding environment.
2998 cat >conftest.$ac_ext <<_ACEOF
3003 rm -f conftest.$ac_objext
3004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3005 (eval $ac_compile) 2>conftest.er1
3007 grep -v '^ *+' conftest.er1 >conftest.err
3009 cat conftest.err >&5
3010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3011 (exit $ac_status); } &&
3012 { ac_try='test -z "$ac_c_werror_flag"
3013 || test ! -s conftest.err'
3014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3018 (exit $ac_status); }; } &&
3019 { ac_try='test -s conftest.$ac_objext'
3020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3024 (exit $ac_status); }; }; then
3025 for ac_declaration in \
3027 'extern "C" void std::exit (int) throw (); using std::exit;' \
3028 'extern "C" void std::exit (int); using std::exit;' \
3029 'extern "C" void exit (int) throw ();' \
3030 'extern "C" void exit (int);' \
3033 cat >conftest.$ac_ext <<_ACEOF
3036 cat confdefs.h >>conftest.$ac_ext
3037 cat >>conftest.$ac_ext <<_ACEOF
3038 /* end confdefs.h. */
3049 rm -f conftest.$ac_objext
3050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3051 (eval $ac_compile) 2>conftest.er1
3053 grep -v '^ *+' conftest.er1 >conftest.err
3055 cat conftest.err >&5
3056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3057 (exit $ac_status); } &&
3058 { ac_try='test -z "$ac_c_werror_flag"
3059 || test ! -s conftest.err'
3060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3064 (exit $ac_status); }; } &&
3065 { ac_try='test -s conftest.$ac_objext'
3066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3070 (exit $ac_status); }; }; then
3073 echo "$as_me: failed program was:" >&5
3074 sed 's/^/| /' conftest.$ac_ext >&5
3078 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3079 cat >conftest.$ac_ext <<_ACEOF
3082 cat confdefs.h >>conftest.$ac_ext
3083 cat >>conftest.$ac_ext <<_ACEOF
3084 /* end confdefs.h. */
3094 rm -f conftest.$ac_objext
3095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3096 (eval $ac_compile) 2>conftest.er1
3098 grep -v '^ *+' conftest.er1 >conftest.err
3100 cat conftest.err >&5
3101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3102 (exit $ac_status); } &&
3103 { ac_try='test -z "$ac_c_werror_flag"
3104 || test ! -s conftest.err'
3105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3109 (exit $ac_status); }; } &&
3110 { ac_try='test -s conftest.$ac_objext'
3111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3115 (exit $ac_status); }; }; then
3118 echo "$as_me: failed program was:" >&5
3119 sed 's/^/| /' conftest.$ac_ext >&5
3122 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3125 if test -n "$ac_declaration"; then
3126 echo '#ifdef __cplusplus' >>confdefs.h
3127 echo $ac_declaration >>confdefs.h
3128 echo '#endif' >>confdefs.h
3132 echo "$as_me: failed program was:" >&5
3133 sed 's/^/| /' conftest.$ac_ext >&5
3136 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3138 ac_cpp='$CPP $CPPFLAGS'
3139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3143 depcc="$CC" am_compiler_list=
3145 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3146 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3147 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3148 echo $ECHO_N "(cached) $ECHO_C" >&6
3150 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3151 # We make a subdir and do the tests there. Otherwise we can end up
3152 # making bogus files that we don't know about and never remove. For
3153 # instance it was reported that on HP-UX the gcc test will end up
3154 # making a dummy file named `D' -- because `-MD' means `put the output
3157 # Copy depcomp to subdir because otherwise we won't find it if we're
3158 # using a relative directory.
3159 cp "$am_depcomp" conftest.dir
3161 # We will build objects and dependencies in a subdirectory because
3162 # it helps to detect inapplicable dependency modes. For instance
3163 # both Tru64's cc and ICC support -MD to output dependencies as a
3164 # side effect of compilation, but ICC will put the dependencies in
3165 # the current directory while Tru64 will put them in the object
3169 am_cv_CC_dependencies_compiler_type=none
3170 if test "$am_compiler_list" = ""; then
3171 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3173 for depmode in $am_compiler_list; do
3174 # Setup a source with many dependencies, because some compilers
3175 # like to wrap large dependency lists on column 80 (with \), and
3176 # we should not choose a depcomp mode which is confused by this.
3178 # We need to recreate these files for each test, as the compiler may
3179 # overwrite some of them when testing with obscure command lines.
3180 # This happens at least with the AIX C compiler.
3182 for i in 1 2 3 4 5 6; do
3183 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3184 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3185 # Solaris 8's {/usr,}/bin/sh.
3186 touch sub/conftst$i.h
3188 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3192 # after this tag, mechanisms are not by side-effect, so they'll
3193 # only be used when explicitly requested
3194 if test "x$enable_dependency_tracking" = xyes; then
3202 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3203 # mode. It turns out that the SunPro C++ compiler does not properly
3204 # handle `-M -o', and we need to detect this.
3205 if depmode=$depmode \
3206 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3207 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3208 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3209 >/dev/null 2>conftest.err &&
3210 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3211 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3212 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3213 # icc doesn't choke on unknown options, it will just issue warnings
3214 # or remarks (even with -Werror). So we grep stderr for any message
3215 # that says an option was ignored or not supported.
3216 # When given -MP, icc 7.0 and 7.1 complain thusly:
3217 # icc: Command line warning: ignoring option '-M'; no argument required
3218 # The diagnosis changed in icc 8.0:
3219 # icc: Command line remark: option '-MP' not supported
3220 if (grep 'ignoring option' conftest.err ||
3221 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3222 am_cv_CC_dependencies_compiler_type=$depmode
3231 am_cv_CC_dependencies_compiler_type=none
3235 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3236 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3237 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3242 test "x$enable_dependency_tracking" != xno \
3243 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3245 am__fastdepCC_FALSE='#'
3247 am__fastdepCC_TRUE='#'
3248 am__fastdepCC_FALSE=
3254 ac_cpp='$CPP $CPPFLAGS'
3255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3258 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3259 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3260 # On Suns, sometimes $CPP names a directory.
3261 if test -n "$CPP" && test -d "$CPP"; then
3264 if test -z "$CPP"; then
3265 if test "${ac_cv_prog_CPP+set}" = set; then
3266 echo $ECHO_N "(cached) $ECHO_C" >&6
3268 # Double quotes because CPP needs to be expanded
3269 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3272 for ac_c_preproc_warn_flag in '' yes
3274 # Use a header file that comes with gcc, so configuring glibc
3275 # with a fresh cross-compiler works.
3276 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3277 # <limits.h> exists even on freestanding compilers.
3278 # On the NeXT, cc -E runs the code through the compiler's parser,
3279 # not just through cpp. "Syntax error" is here to catch this case.
3280 cat >conftest.$ac_ext <<_ACEOF
3283 cat confdefs.h >>conftest.$ac_ext
3284 cat >>conftest.$ac_ext <<_ACEOF
3285 /* end confdefs.h. */
3287 # include <limits.h>
3289 # include <assert.h>
3293 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3294 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3296 grep -v '^ *+' conftest.er1 >conftest.err
3298 cat conftest.err >&5
3299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3300 (exit $ac_status); } >/dev/null; then
3301 if test -s conftest.err; then
3302 ac_cpp_err=$ac_c_preproc_warn_flag
3303 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3310 if test -z "$ac_cpp_err"; then
3313 echo "$as_me: failed program was:" >&5
3314 sed 's/^/| /' conftest.$ac_ext >&5
3316 # Broken: fails on valid input.
3319 rm -f conftest.err conftest.$ac_ext
3321 # OK, works on sane cases. Now check whether non-existent headers
3322 # can be detected and how.
3323 cat >conftest.$ac_ext <<_ACEOF
3326 cat confdefs.h >>conftest.$ac_ext
3327 cat >>conftest.$ac_ext <<_ACEOF
3328 /* end confdefs.h. */
3329 #include <ac_nonexistent.h>
3331 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3332 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3334 grep -v '^ *+' conftest.er1 >conftest.err
3336 cat conftest.err >&5
3337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3338 (exit $ac_status); } >/dev/null; then
3339 if test -s conftest.err; then
3340 ac_cpp_err=$ac_c_preproc_warn_flag
3341 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3348 if test -z "$ac_cpp_err"; then
3349 # Broken: success on invalid input.
3352 echo "$as_me: failed program was:" >&5
3353 sed 's/^/| /' conftest.$ac_ext >&5
3355 # Passes both tests.
3359 rm -f conftest.err conftest.$ac_ext
3362 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3363 rm -f conftest.err conftest.$ac_ext
3364 if $ac_preproc_ok; then
3376 echo "$as_me:$LINENO: result: $CPP" >&5
3377 echo "${ECHO_T}$CPP" >&6
3379 for ac_c_preproc_warn_flag in '' yes
3381 # Use a header file that comes with gcc, so configuring glibc
3382 # with a fresh cross-compiler works.
3383 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3384 # <limits.h> exists even on freestanding compilers.
3385 # On the NeXT, cc -E runs the code through the compiler's parser,
3386 # not just through cpp. "Syntax error" is here to catch this case.
3387 cat >conftest.$ac_ext <<_ACEOF
3390 cat confdefs.h >>conftest.$ac_ext
3391 cat >>conftest.$ac_ext <<_ACEOF
3392 /* end confdefs.h. */
3394 # include <limits.h>
3396 # include <assert.h>
3400 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3401 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3403 grep -v '^ *+' conftest.er1 >conftest.err
3405 cat conftest.err >&5
3406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3407 (exit $ac_status); } >/dev/null; then
3408 if test -s conftest.err; then
3409 ac_cpp_err=$ac_c_preproc_warn_flag
3410 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3417 if test -z "$ac_cpp_err"; then
3420 echo "$as_me: failed program was:" >&5
3421 sed 's/^/| /' conftest.$ac_ext >&5
3423 # Broken: fails on valid input.
3426 rm -f conftest.err conftest.$ac_ext
3428 # OK, works on sane cases. Now check whether non-existent headers
3429 # can be detected and how.
3430 cat >conftest.$ac_ext <<_ACEOF
3433 cat confdefs.h >>conftest.$ac_ext
3434 cat >>conftest.$ac_ext <<_ACEOF
3435 /* end confdefs.h. */
3436 #include <ac_nonexistent.h>
3438 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3439 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3441 grep -v '^ *+' conftest.er1 >conftest.err
3443 cat conftest.err >&5
3444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3445 (exit $ac_status); } >/dev/null; then
3446 if test -s conftest.err; then
3447 ac_cpp_err=$ac_c_preproc_warn_flag
3448 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3455 if test -z "$ac_cpp_err"; then
3456 # Broken: success on invalid input.
3459 echo "$as_me: failed program was:" >&5
3460 sed 's/^/| /' conftest.$ac_ext >&5
3462 # Passes both tests.
3466 rm -f conftest.err conftest.$ac_ext
3469 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3470 rm -f conftest.err conftest.$ac_ext
3471 if $ac_preproc_ok; then
3474 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3475 See \`config.log' for more details." >&5
3476 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3477 See \`config.log' for more details." >&2;}
3478 { (exit 1); exit 1; }; }
3482 ac_cpp='$CPP $CPPFLAGS'
3483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3488 echo "$as_me:$LINENO: checking for egrep" >&5
3489 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3490 if test "${ac_cv_prog_egrep+set}" = set; then
3491 echo $ECHO_N "(cached) $ECHO_C" >&6
3493 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3494 then ac_cv_prog_egrep='grep -E'
3495 else ac_cv_prog_egrep='egrep'
3498 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3499 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3500 EGREP=$ac_cv_prog_egrep
3503 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3504 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3505 if test "${ac_cv_header_stdc+set}" = set; then
3506 echo $ECHO_N "(cached) $ECHO_C" >&6
3508 cat >conftest.$ac_ext <<_ACEOF
3511 cat confdefs.h >>conftest.$ac_ext
3512 cat >>conftest.$ac_ext <<_ACEOF
3513 /* end confdefs.h. */
3527 rm -f conftest.$ac_objext
3528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3529 (eval $ac_compile) 2>conftest.er1
3531 grep -v '^ *+' conftest.er1 >conftest.err
3533 cat conftest.err >&5
3534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3535 (exit $ac_status); } &&
3536 { ac_try='test -z "$ac_c_werror_flag"
3537 || test ! -s conftest.err'
3538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3542 (exit $ac_status); }; } &&
3543 { ac_try='test -s conftest.$ac_objext'
3544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3548 (exit $ac_status); }; }; then
3549 ac_cv_header_stdc=yes
3551 echo "$as_me: failed program was:" >&5
3552 sed 's/^/| /' conftest.$ac_ext >&5
3554 ac_cv_header_stdc=no
3556 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3558 if test $ac_cv_header_stdc = yes; then
3559 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.