2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for GNU Classpath 0.94-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.94-pre'
273 PACKAGE_STRING='GNU Classpath 0.94-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 JAVA_MAINTAINER_MODE_TRUE JAVA_MAINTAINER_MODE_FALSE GENINSRC_TRUE GENINSRC_FALSE multi_basedir 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 CREATE_GCONF_PEER_LIBRARIES_TRUE CREATE_GCONF_PEER_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 toolexeclibdir 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 RANLIB ac_ct_RANLIB LIBTOOL CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE 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 GCONF_CFLAGS GCONF_LIBS GDK_CFLAGS GDK_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 ECJ_JAR 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 USE_ESCHER_TRUE USE_ESCHER_FALSE PATH_TO_ESCHER ENABLE_LOCAL_SOCKETS_TRUE ENABLE_LOCAL_SOCKETS_FALSE DEFAULT_PREFS_PEER 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.94-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.94-pre:";;
872 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
873 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
874 --enable-java-maintainer-mode
875 allow rebuilding of .class and .h files
876 --enable-generated-files-in-srcdir
877 put copies of generated files in source dir
878 intended for creating source tarballs for users
879 without texinfo, perl, bison or flex.
880 --enable-multilib build many library versions (default)
881 --enable-collections create collections.jar default=no
882 --enable-jni compile JNI source default=yes
883 --enable-core-jni compile JNI sources for core default=yes
884 --enable-default-preferences-peer[=peer type or class name]
885 specify one of: "gconf" [default] for a GConf based
886 backend, "file" for a file based one, "memory" for a
887 transient one, or a fully qualified class name
888 implementing java.util.prefs.PreferencesFactory
889 --disable-gconf-peer compile GConf native peers (disabled by
890 --disable-jni) default=yes
892 --enable-Werror whether to compile C code with -Werror which turns
893 any compiler warning into a compilation failure
895 --enable-default-toolkit
896 fully qualified class name of default AWT toolkit
897 --enable-xmlj compile native libxml/xslt library default=no
898 --disable-alsa compile ALSA providers (enable by --enable-alsa)
900 --disable-dependency-tracking speeds up one-time build
901 --enable-dependency-tracking do not reject slow dependency extractors
902 --disable-dssi compile DSSI providers (enable by --enable-dssi)
904 --disable-gtk-peer compile GTK native peers (disabled by --disable-jni)
906 --enable-qt-peer compile Qt4 native peers (disabled by --disable-jni)
908 --disable-plugin compile gcjwebplugin (disabled by --disable-plugin)
910 --enable-regen-headers automatically regenerate JNI headers default=no
911 --enable-tool-wrappers create tool wrapper binaries default=no
912 --enable-static=PKGS build static libraries default=no
913 --enable-shared=PKGS build shared libraries default=yes
914 --enable-fast-install=PKGS optimize for fast installation default=yes
915 --disable-libtool-lock avoid locking (might break parallel builds)
916 --disable-rpath do not hardcode runtime library paths
917 --enable-maintainer-mode enable make rules and dependencies not useful
918 (and sometimes confusing) to the casual installer
919 --enable-debug enable runtime debugging code
920 --enable-load-library enable to use JNI native methods default=yes
921 --enable-java-lang-system-explicit-initialization
922 will the VM explicitly invoke java.lang.System's
923 static initialization methods default=no
924 --enable-examples enable build of the examples default=yes
925 --enable-portable-native-sync
926 synchronize VM threads portably
927 --enable-local-sockets enables local (AF_LOCAL) socket API default: no
930 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
931 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
932 --with-native-libdir sets the installation directory for native libraries
933 default='${libdir}/${PACKAGE}'
934 --with-glibj-dir sets the installation directory for glibj.zip
935 default='${libdir}/${PACKAGE}'
936 --with-vm sets the VM binary name
937 default='${prefix}/bin/jamvm'
938 --with-gnu-ld assume the C compiler uses GNU ld default=no
939 --with-pic try to use only PIC/non-PIC objects default=use both
940 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
941 --without-libiconv-prefix don't search for libiconv in includedir and libdir
942 --with-x use the X Window System
943 --with-qt4dir=DIR Qt4 installation directory used for OS-X. For other
944 systems use pkg-config.
945 --with-javah specify path or name of a javah-like program
946 --with-gcj bytecode compilation with gcj
947 --with-jikes bytecode compilation with jikes
948 --with-kjc bytecode compilation with kjc
949 --with-gcjx bytecode compilation with gcjx
950 --with-ecj bytecode compilation with ecj
951 --with-classpath specify path to a classes.zip like file
952 --with-vm-classes specify path to VM override source files
953 --with-ecj-jar=ABS.PATH specify jar file containing the Eclipse Java
955 --with-fastjar=PATH define to use a fastjar style tool
956 --with-glibj define what to install (zip|flat|both|none|build)
958 --with-gjdoc generate documentation using gjdoc (default is NO)
959 --with-jay Regenerate the parsers with jay must be given the
960 path to the jay executable
961 --with-glibj-zip=ABS.PATH
962 use prebuilt glibj.zip class library
963 --with-escher=ABS.PATH specify path to escher dir or JAR for X peers
965 Some influential environment variables:
966 CC C compiler command
967 CFLAGS C compiler flags
968 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
969 nonstandard directory <lib dir>
970 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
971 headers in a nonstandard directory <include dir>
973 CXX C++ compiler command
974 CXXFLAGS C++ compiler flags
975 CXXCPP C++ preprocessor
977 Use these variables to override the choices made by `configure' or to help
978 it to find libraries and programs with nonstandard names/locations.
980 Report bugs to <classpath@gnu.org>.
984 if test "$ac_init_help" = "recursive"; then
985 # If there are subdirs, report their specific --help.
987 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
988 test -d $ac_dir || continue
991 if test "$ac_dir" != .; then
992 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
993 # A "../" for each directory in $ac_dir_suffix.
994 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
996 ac_dir_suffix= ac_top_builddir=
1000 .) # No --srcdir option. We are building in place.
1002 if test -z "$ac_top_builddir"; then
1005 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1007 [\\/]* | ?:[\\/]* ) # Absolute path.
1008 ac_srcdir=$srcdir$ac_dir_suffix;
1009 ac_top_srcdir=$srcdir ;;
1011 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1012 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1015 # Do not use `cd foo && pwd` to compute absolute paths, because
1016 # the directories may not exist.
1018 .) ac_abs_builddir="$ac_dir";;
1021 .) ac_abs_builddir=`pwd`;;
1022 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1023 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1026 case $ac_abs_builddir in
1027 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1029 case ${ac_top_builddir}. in
1030 .) ac_abs_top_builddir=$ac_abs_builddir;;
1031 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1032 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1035 case $ac_abs_builddir in
1036 .) ac_abs_srcdir=$ac_srcdir;;
1039 .) ac_abs_srcdir=$ac_abs_builddir;;
1040 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1041 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1044 case $ac_abs_builddir in
1045 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1047 case $ac_top_srcdir in
1048 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1049 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1050 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1055 # Check for guested configure; otherwise get Cygnus style configure.
1056 if test -f $ac_srcdir/configure.gnu; then
1058 $SHELL $ac_srcdir/configure.gnu --help=recursive
1059 elif test -f $ac_srcdir/configure; then
1061 $SHELL $ac_srcdir/configure --help=recursive
1062 elif test -f $ac_srcdir/configure.ac ||
1063 test -f $ac_srcdir/configure.in; then
1065 $ac_configure --help
1067 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1073 test -n "$ac_init_help" && exit 0
1074 if $ac_init_version; then
1076 GNU Classpath configure 0.94-pre
1077 generated by GNU Autoconf 2.59
1079 Copyright (C) 2003 Free Software Foundation, Inc.
1080 This configure script is free software; the Free Software Foundation
1081 gives unlimited permission to copy, distribute and modify it.
1087 This file contains any messages produced by compilers while
1088 running configure, to aid debugging if configure makes a mistake.
1090 It was created by GNU Classpath $as_me 0.94-pre, which was
1091 generated by GNU Autoconf 2.59. Invocation command line was
1102 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1103 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1104 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1105 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1106 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1108 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1109 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1111 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1112 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1113 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1114 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1115 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1116 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1117 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1125 test -z "$as_dir" && as_dir=.
1126 echo "PATH: $as_dir"
1141 # Keep a trace of the command line.
1142 # Strip out --no-create and --no-recursion so they do not pile up.
1143 # Strip out --silent because we don't want to record it for future runs.
1144 # Also quote any args containing shell meta-characters.
1145 # Make two passes to allow for proper duplicate-argument suppression.
1150 ac_must_keep_next=false
1156 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1157 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1158 | -silent | --silent | --silen | --sile | --sil)
1160 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1161 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1164 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1166 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1167 if test $ac_must_keep_next = true; then
1168 ac_must_keep_next=false # Got value, back to normal.
1171 *=* | --config-cache | -C | -disable-* | --disable-* \
1172 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1173 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1174 | -with-* | --with-* | -without-* | --without-* | --x)
1175 case "$ac_configure_args0 " in
1176 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1179 -* ) ac_must_keep_next=true ;;
1182 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1183 # Get rid of the leading space.
1189 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1190 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1192 # When interrupted or exit'd, cleanup temporary files, and complete
1193 # config.log. We remove comments because anyway the quotes in there
1194 # would cause problems or look ugly.
1195 # WARNING: Be sure not to use single quotes in there, as some shells,
1196 # such as our DU 5.0 friend, will then `close' the trap.
1197 trap 'exit_status=$?
1198 # Save into config.log some information that might help in debugging.
1203 ## ---------------- ##
1204 ## Cache variables. ##
1205 ## ---------------- ##
1208 # The following way of writing the cache mishandles newlines in values,
1211 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1214 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1215 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1219 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1226 ## ----------------- ##
1227 ## Output variables. ##
1228 ## ----------------- ##
1231 for ac_var in $ac_subst_vars
1233 eval ac_val=$`echo $ac_var`
1234 echo "$ac_var='"'"'$ac_val'"'"'"
1238 if test -n "$ac_subst_files"; then
1245 for ac_var in $ac_subst_files
1247 eval ac_val=$`echo $ac_var`
1248 echo "$ac_var='"'"'$ac_val'"'"'"
1253 if test -s confdefs.h; then
1260 sed "/^$/d" confdefs.h | sort
1263 test "$ac_signal" != 0 &&
1264 echo "$as_me: caught signal $ac_signal"
1265 echo "$as_me: exit $exit_status"
1267 rm -f core *.core &&
1268 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1271 for ac_signal in 1 2 13 15; do
1272 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1276 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1277 rm -rf conftest* confdefs.h
1278 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1281 # Predefined preprocessor variables.
1283 cat >>confdefs.h <<_ACEOF
1284 #define PACKAGE_NAME "$PACKAGE_NAME"
1288 cat >>confdefs.h <<_ACEOF
1289 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1293 cat >>confdefs.h <<_ACEOF
1294 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1298 cat >>confdefs.h <<_ACEOF
1299 #define PACKAGE_STRING "$PACKAGE_STRING"
1303 cat >>confdefs.h <<_ACEOF
1304 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1308 # Let the site file select an alternate cache file if it wants to.
1309 # Prefer explicitly selected file to automatically selected ones.
1310 if test -z "$CONFIG_SITE"; then
1311 if test "x$prefix" != xNONE; then
1312 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1314 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1317 for ac_site_file in $CONFIG_SITE; do
1318 if test -r "$ac_site_file"; then
1319 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1320 echo "$as_me: loading site script $ac_site_file" >&6;}
1321 sed 's/^/| /' "$ac_site_file" >&5
1326 if test -r "$cache_file"; then
1327 # Some versions of bash will fail to source /dev/null (special
1328 # files actually), so we avoid doing that.
1329 if test -f "$cache_file"; then
1330 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1331 echo "$as_me: loading cache $cache_file" >&6;}
1333 [\\/]* | ?:[\\/]* ) . $cache_file;;
1334 *) . ./$cache_file;;
1338 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1339 echo "$as_me: creating cache $cache_file" >&6;}
1343 # Check that the precious variables saved in the cache have kept the same
1345 ac_cache_corrupted=false
1346 for ac_var in `(set) 2>&1 |
1347 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1348 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1349 eval ac_new_set=\$ac_env_${ac_var}_set
1350 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1351 eval ac_new_val="\$ac_env_${ac_var}_value"
1352 case $ac_old_set,$ac_new_set in
1354 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1355 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1356 ac_cache_corrupted=: ;;
1358 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1359 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1360 ac_cache_corrupted=: ;;
1363 if test "x$ac_old_val" != "x$ac_new_val"; then
1364 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1365 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1366 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1367 echo "$as_me: former value: $ac_old_val" >&2;}
1368 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1369 echo "$as_me: current value: $ac_new_val" >&2;}
1370 ac_cache_corrupted=:
1373 # Pass precious variables to config.status.
1374 if test "$ac_new_set" = set; then
1376 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1377 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1378 *) ac_arg=$ac_var=$ac_new_val ;;
1380 case " $ac_configure_args " in
1381 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1382 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1386 if $ac_cache_corrupted; then
1387 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1388 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1389 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1390 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1391 { (exit 1); exit 1; }; }
1395 ac_cpp='$CPP $CPPFLAGS'
1396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1429 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1430 if test -f $ac_dir/install-sh; then
1432 ac_install_sh="$ac_aux_dir/install-sh -c"
1434 elif test -f $ac_dir/install.sh; then
1436 ac_install_sh="$ac_aux_dir/install.sh -c"
1438 elif test -f $ac_dir/shtool; then
1440 ac_install_sh="$ac_aux_dir/shtool install -c"
1444 if test -z "$ac_aux_dir"; then
1445 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1446 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1447 { (exit 1); exit 1; }; }
1449 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1450 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1451 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1453 # Make sure we can run config.sub.
1454 $ac_config_sub sun4 >/dev/null 2>&1 ||
1455 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1456 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1457 { (exit 1); exit 1; }; }
1459 echo "$as_me:$LINENO: checking build system type" >&5
1460 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1461 if test "${ac_cv_build+set}" = set; then
1462 echo $ECHO_N "(cached) $ECHO_C" >&6
1464 ac_cv_build_alias=$build_alias
1465 test -z "$ac_cv_build_alias" &&
1466 ac_cv_build_alias=`$ac_config_guess`
1467 test -z "$ac_cv_build_alias" &&
1468 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1469 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1470 { (exit 1); exit 1; }; }
1471 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1472 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1473 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1474 { (exit 1); exit 1; }; }
1477 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1478 echo "${ECHO_T}$ac_cv_build" >&6
1480 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1481 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1482 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1485 echo "$as_me:$LINENO: checking host system type" >&5
1486 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1487 if test "${ac_cv_host+set}" = set; then
1488 echo $ECHO_N "(cached) $ECHO_C" >&6
1490 ac_cv_host_alias=$host_alias
1491 test -z "$ac_cv_host_alias" &&
1492 ac_cv_host_alias=$ac_cv_build_alias
1493 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1494 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1495 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1496 { (exit 1); exit 1; }; }
1499 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1500 echo "${ECHO_T}$ac_cv_host" >&6
1502 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1503 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1504 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1507 echo "$as_me:$LINENO: checking target system type" >&5
1508 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1509 if test "${ac_cv_target+set}" = set; then
1510 echo $ECHO_N "(cached) $ECHO_C" >&6
1512 ac_cv_target_alias=$target_alias
1513 test "x$ac_cv_target_alias" = "x" &&
1514 ac_cv_target_alias=$ac_cv_host_alias
1515 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1516 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1517 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1518 { (exit 1); exit 1; }; }
1521 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1522 echo "${ECHO_T}$ac_cv_target" >&6
1523 target=$ac_cv_target
1524 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1525 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1526 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1529 # The aliases save the names the user supplied, while $host etc.
1530 # will get canonicalized.
1531 test -n "$target_alias" &&
1532 test "$program_prefix$program_suffix$program_transform_name" = \
1534 program_prefix=${target_alias}-
1536 # Check whether --enable-java-maintainer-mode or --disable-java-maintainer-mode was given.
1537 if test "${enable_java_maintainer_mode+set}" = set; then
1538 enableval="$enable_java_maintainer_mode"
1543 if test "$enable_java_maintainer_mode" = yes; then
1544 JAVA_MAINTAINER_MODE_TRUE=
1545 JAVA_MAINTAINER_MODE_FALSE='#'
1547 JAVA_MAINTAINER_MODE_TRUE='#'
1548 JAVA_MAINTAINER_MODE_FALSE=
1552 # We would like to our source tree to be readonly. However when releases or
1553 # pre-releases are generated, the man pages need to be included as they are
1554 # converted from the texi files via perl which we don't require end users to
1556 # Therefore we have --enable-generated-files-in-srcdir to do just that.
1558 echo "$as_me:$LINENO: checking whether to place generated files in the source directory" >&5
1559 echo $ECHO_N "checking whether to place generated files in the source directory... $ECHO_C" >&6
1560 # Check whether --enable-generated-files-in-srcdir or --disable-generated-files-in-srcdir was given.
1561 if test "${enable_generated_files_in_srcdir+set}" = set; then
1562 enableval="$enable_generated_files_in_srcdir"
1563 generated_files_in_srcdir=$enableval
1565 generated_files_in_srcdir=no
1568 echo "$as_me:$LINENO: result: $generated_files_in_srcdir" >&5
1569 echo "${ECHO_T}$generated_files_in_srcdir" >&6
1572 if test x$generated_files_in_srcdir = xyes; then
1581 # Find the rest of the source tree framework.
1582 # Default to --enable-multilib
1583 # Check whether --enable-multilib or --disable-multilib was given.
1584 if test "${enable_multilib+set}" = set; then
1585 enableval="$enable_multilib"
1586 case "$enableval" in
1587 yes) multilib=yes ;;
1589 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1590 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1591 { (exit 1); exit 1; }; } ;;
1597 # We may get other options which we leave undocumented:
1598 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1599 # See config-ml.in if you want the gory details.
1601 if test "$srcdir" = "."; then
1602 if test "$with_target_subdir" != "."; then
1603 multi_basedir="$srcdir/$with_multisrctop../../.."
1605 multi_basedir="$srcdir/$with_multisrctop../.."
1608 multi_basedir="$srcdir/../.."
1612 # Even if the default multilib is not a cross compilation,
1613 # it may be that some of the other multilibs are.
1614 if test $cross_compiling = no && test $multilib = yes \
1615 && test "x${with_multisubdir}" != x ; then
1616 cross_compiling=maybe
1619 ac_config_commands="$ac_config_commands default-1"
1622 if expr ${target_cpu} : '.*86' > /dev/null; then target_cpu=x86; fi
1635 CLASSPATH_MODULE="${cp_module} -version-info ${LIBVERSION} -no-undefined"
1638 CLASSPATH_CONVENIENCE="-no-undefined"
1642 am__api_version="1.9"
1643 # Find a good install program. We prefer a C program (faster),
1644 # so one script is as good as another. But avoid the broken or
1645 # incompatible versions:
1646 # SysV /etc/install, /usr/sbin/install
1647 # SunOS /usr/etc/install
1648 # IRIX /sbin/install
1650 # AmigaOS /C/install, which installs bootblocks on floppy discs
1651 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1652 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1653 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1654 # OS/2's system install, which has a completely different semantic
1655 # ./install, which can be erroneously created by make from ./install.sh.
1656 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1657 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1658 if test -z "$INSTALL"; then
1659 if test "${ac_cv_path_install+set}" = set; then
1660 echo $ECHO_N "(cached) $ECHO_C" >&6
1662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1666 test -z "$as_dir" && as_dir=.
1667 # Account for people who put trailing slashes in PATH elements.
1669 ./ | .// | /cC/* | \
1670 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1671 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1674 # OSF1 and SCO ODT 3.0 have their own names for install.
1675 # Don't use installbsd from OSF since it installs stuff as root
1677 for ac_prog in ginstall scoinst install; do
1678 for ac_exec_ext in '' $ac_executable_extensions; do
1679 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1680 if test $ac_prog = install &&
1681 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1682 # AIX install. It has an incompatible calling convention.
1684 elif test $ac_prog = install &&
1685 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1686 # program-specific install script used by HP pwplus--don't use.
1689 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1701 if test "${ac_cv_path_install+set}" = set; then
1702 INSTALL=$ac_cv_path_install
1704 # As a last resort, use the slow shell script. We don't cache a
1705 # path for INSTALL within a source directory, because that will
1706 # break other packages using the cache if that directory is
1707 # removed, or if the path is relative.
1708 INSTALL=$ac_install_sh
1711 echo "$as_me:$LINENO: result: $INSTALL" >&5
1712 echo "${ECHO_T}$INSTALL" >&6
1714 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1715 # It thinks the first close brace ends the variable substitution.
1716 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1718 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1720 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1722 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1723 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1726 echo timestamp > conftest.file
1727 # Do `set' in a subshell so we don't clobber the current shell's
1728 # arguments. Must try -L first in case configure is actually a
1729 # symlink; some systems play weird games with the mod time of symlinks
1730 # (eg FreeBSD returns the mod time of the symlink's containing
1733 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1734 if test "$*" = "X"; then
1736 set X `ls -t $srcdir/configure conftest.file`
1739 if test "$*" != "X $srcdir/configure conftest.file" \
1740 && test "$*" != "X conftest.file $srcdir/configure"; then
1742 # If neither matched, then we have a broken ls. This can happen
1743 # if, for instance, CONFIG_SHELL is bash and it inherits a
1744 # broken ls alias from the environment. This has actually
1745 # happened. Such a system could not be considered "sane".
1746 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1747 alias in your environment" >&5
1748 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1749 alias in your environment" >&2;}
1750 { (exit 1); exit 1; }; }
1753 test "$2" = conftest.file
1759 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1760 Check your system clock" >&5
1761 echo "$as_me: error: newly created file is older than distributed files!
1762 Check your system clock" >&2;}
1763 { (exit 1); exit 1; }; }
1765 echo "$as_me:$LINENO: result: yes" >&5
1766 echo "${ECHO_T}yes" >&6
1767 test "$program_prefix" != NONE &&
1768 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1769 # Use a double $ so make ignores it.
1770 test "$program_suffix" != NONE &&
1771 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1772 # Double any \ or $. echo might interpret backslashes.
1773 # By default was `s,x,x', remove it if useless.
1774 cat <<\_ACEOF >conftest.sed
1775 s/[\\$]/&&/g;s/;s,x,x,$//
1777 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1780 # expand $ac_aux_dir to an absolute path
1781 am_aux_dir=`cd $ac_aux_dir && pwd`
1783 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1784 # Use eval to expand $SHELL
1785 if eval "$MISSING --run true"; then
1786 am_missing_run="$MISSING --run "
1789 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1790 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1793 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1794 # We used to keeping the `.' as first argument, in order to
1795 # allow $(mkdir_p) to be used without argument. As in
1796 # $(mkdir_p) $(somedir)
1797 # where $(somedir) is conditionally defined. However this is wrong
1799 # 1. if the package is installed by a user who cannot write `.'
1800 # make install will fail,
1801 # 2. the above comment should most certainly read
1802 # $(mkdir_p) $(DESTDIR)$(somedir)
1803 # so it does not work when $(somedir) is undefined and
1804 # $(DESTDIR) is not.
1805 # To support the latter case, we have to write
1806 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1807 # so the `.' trick is pointless.
1808 mkdir_p='mkdir -p --'
1810 # On NextStep and OpenStep, the `mkdir' command does not
1811 # recognize any option. It will interpret all options as
1812 # directories to create, and then abort because `.' already
1814 for d in ./-p ./--version;
1816 test -d $d && rmdir $d
1818 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1819 if test -f "$ac_aux_dir/mkinstalldirs"; then
1820 mkdir_p='$(mkinstalldirs)'
1822 mkdir_p='$(install_sh) -d'
1826 for ac_prog in gawk mawk nawk awk
1828 # Extract the first word of "$ac_prog", so it can be a program name with args.
1829 set dummy $ac_prog; ac_word=$2
1830 echo "$as_me:$LINENO: checking for $ac_word" >&5
1831 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1832 if test "${ac_cv_prog_AWK+set}" = set; then
1833 echo $ECHO_N "(cached) $ECHO_C" >&6
1835 if test -n "$AWK"; then
1836 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1842 test -z "$as_dir" && as_dir=.
1843 for ac_exec_ext in '' $ac_executable_extensions; do
1844 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1845 ac_cv_prog_AWK="$ac_prog"
1846 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1855 if test -n "$AWK"; then
1856 echo "$as_me:$LINENO: result: $AWK" >&5
1857 echo "${ECHO_T}$AWK" >&6
1859 echo "$as_me:$LINENO: result: no" >&5
1860 echo "${ECHO_T}no" >&6
1863 test -n "$AWK" && break
1866 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1867 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1868 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1869 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1870 echo $ECHO_N "(cached) $ECHO_C" >&6
1872 cat >conftest.make <<\_ACEOF
1874 @echo 'ac_maketemp="$(MAKE)"'
1876 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1877 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1878 if test -n "$ac_maketemp"; then
1879 eval ac_cv_prog_make_${ac_make}_set=yes
1881 eval ac_cv_prog_make_${ac_make}_set=no
1885 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1886 echo "$as_me:$LINENO: result: yes" >&5
1887 echo "${ECHO_T}yes" >&6
1890 echo "$as_me:$LINENO: result: no" >&5
1891 echo "${ECHO_T}no" >&6
1892 SET_MAKE="MAKE=${MAKE-make}"
1895 rm -rf .tst 2>/dev/null
1896 mkdir .tst 2>/dev/null
1897 if test -d .tst; then
1902 rmdir .tst 2>/dev/null
1904 # test to see if srcdir already configured
1905 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1906 test -f $srcdir/config.status; then
1907 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1908 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1909 { (exit 1); exit 1; }; }
1912 # test whether we have cygpath
1913 if test -z "$CYGPATH_W"; then
1914 if (cygpath --version) >/dev/null 2>/dev/null; then
1915 CYGPATH_W='cygpath -w'
1922 # Define the identity of the package.
1927 cat >>confdefs.h <<_ACEOF
1928 #define PACKAGE "$PACKAGE"
1932 cat >>confdefs.h <<_ACEOF
1933 #define VERSION "$VERSION"
1936 # Some tools Automake needs.
1938 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1941 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1944 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1947 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1950 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1952 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1954 # Installed binaries are usually stripped using `strip' when the user
1955 # run `make install-strip'. However `strip' might not be the right
1956 # tool to use in cross-compilation environments, therefore Automake
1957 # will honor the `STRIP' environment variable to overrule this program.
1958 if test "$cross_compiling" != no; then
1959 if test -n "$ac_tool_prefix"; then
1960 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1961 set dummy ${ac_tool_prefix}strip; ac_word=$2
1962 echo "$as_me:$LINENO: checking for $ac_word" >&5
1963 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1964 if test "${ac_cv_prog_STRIP+set}" = set; then
1965 echo $ECHO_N "(cached) $ECHO_C" >&6
1967 if test -n "$STRIP"; then
1968 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1974 test -z "$as_dir" && as_dir=.
1975 for ac_exec_ext in '' $ac_executable_extensions; do
1976 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1977 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1978 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1986 STRIP=$ac_cv_prog_STRIP
1987 if test -n "$STRIP"; then
1988 echo "$as_me:$LINENO: result: $STRIP" >&5
1989 echo "${ECHO_T}$STRIP" >&6
1991 echo "$as_me:$LINENO: result: no" >&5
1992 echo "${ECHO_T}no" >&6
1996 if test -z "$ac_cv_prog_STRIP"; then
1998 # Extract the first word of "strip", so it can be a program name with args.
1999 set dummy strip; ac_word=$2
2000 echo "$as_me:$LINENO: checking for $ac_word" >&5
2001 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2002 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2003 echo $ECHO_N "(cached) $ECHO_C" >&6
2005 if test -n "$ac_ct_STRIP"; then
2006 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2012 test -z "$as_dir" && as_dir=.
2013 for ac_exec_ext in '' $ac_executable_extensions; do
2014 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2015 ac_cv_prog_ac_ct_STRIP="strip"
2016 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2022 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
2025 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2026 if test -n "$ac_ct_STRIP"; then
2027 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2028 echo "${ECHO_T}$ac_ct_STRIP" >&6
2030 echo "$as_me:$LINENO: result: no" >&5
2031 echo "${ECHO_T}no" >&6
2036 STRIP="$ac_cv_prog_STRIP"
2040 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2042 # We need awk for the "check" target. The system "awk" is bad on
2044 # Always define AMTAR for backward compatibility.
2046 AMTAR=${AMTAR-"${am_missing_run}tar"}
2049 echo "$as_me:$LINENO: checking how to create a ustar tar archive" >&5
2050 echo $ECHO_N "checking how to create a ustar tar archive... $ECHO_C" >&6
2051 # Loop over all known methods to create a tar archive until one works.
2052 _am_tools='gnutar plaintar pax cpio none'
2053 _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
2054 # Do not fold the above two line into one, because Tru64 sh and
2055 # Solaris sh will not grok spaces in the rhs of `-'.
2056 for _am_tool in $_am_tools
2060 for _am_tar in tar gnutar gtar;
2062 { echo "$as_me:$LINENO: $_am_tar --version" >&5
2063 ($_am_tar --version) >&5 2>&5
2065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2066 (exit $ac_status); } && break
2068 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
2069 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
2070 am__untar="$_am_tar -xf -"
2073 # Must skip GNU tar: if it does not support --format= it doesn't create
2074 # ustar tarball either.
2075 (tar --version) >/dev/null 2>&1 && continue
2076 am__tar='tar chf - "$$tardir"'
2077 am__tar_='tar chf - "$tardir"'
2078 am__untar='tar xf -'
2081 am__tar='pax -L -x ustar -w "$$tardir"'
2082 am__tar_='pax -L -x ustar -w "$tardir"'
2086 am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
2087 am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
2088 am__untar='cpio -i -H ustar -d'
2097 # If the value was cached, stop now. We just wanted to have am__tar
2098 # and am__untar set.
2099 test -n "${am_cv_prog_tar_ustar}" && break
2101 # tar/untar a dummy directory, and stop if the command works
2104 echo GrepMe > conftest.dir/file
2105 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2106 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2109 (exit $ac_status); }
2111 if test -s conftest.tar; then
2112 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2113 ($am__untar <conftest.tar) >&5 2>&5
2115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2116 (exit $ac_status); }
2117 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2122 if test "${am_cv_prog_tar_ustar+set}" = set; then
2123 echo $ECHO_N "(cached) $ECHO_C" >&6
2125 am_cv_prog_tar_ustar=$_am_tool
2128 echo "$as_me:$LINENO: result: $am_cv_prog_tar_ustar" >&5
2129 echo "${ECHO_T}$am_cv_prog_tar_ustar" >&6
2135 ac_config_headers="$ac_config_headers include/config.h"
2141 # Check whether --enable-collections or --disable-collections was given.
2142 if test "${enable_collections+set}" = set; then
2143 enableval="$enable_collections"
2144 case x"${enableval}" in
2145 xyes) COMPILE_COLLECTIONS=yes; COLLECTIONS_PREFIX="\"gnu/java/util/collections\"" ;;
2146 xno) COMPILE_COLLECTIONS=no ;;
2147 x) COMPILE_COLLECTIONS=yes; COLLECTIONS_PREFIX="\"gnu/java/util/collections\"" ;;
2148 *) COMPILE_COLLECTIONS=yes; COLLECTIONS_PREFIX="\"${enableval}\"" ;;
2151 COMPILE_COLLECTIONS=no
2155 if test "x${COMPILE_COLLECTIONS}" = xyes; then
2156 CREATE_COLLECTIONS_TRUE=
2157 CREATE_COLLECTIONS_FALSE='#'
2159 CREATE_COLLECTIONS_TRUE='#'
2160 CREATE_COLLECTIONS_FALSE=
2164 # Check whether --enable-jni or --disable-jni was given.
2165 if test "${enable_jni+set}" = set; then
2166 enableval="$enable_jni"
2167 case "${enableval}" in
2168 yes) COMPILE_JNI=yes; COMPILE_JAVA=yes ;;
2169 no) COMPILE_JNI=no ;;
2170 *) COMPILE_JNI=yes; COMPILE_JAVA=yes ;;
2177 if test "x${COMPILE_JNI}" = xyes; then
2178 CREATE_JNI_LIBRARIES_TRUE=
2179 CREATE_JNI_LIBRARIES_FALSE='#'
2181 CREATE_JNI_LIBRARIES_TRUE='#'
2182 CREATE_JNI_LIBRARIES_FALSE=
2186 # Check whether --enable-core-jni or --disable-core-jni was given.
2187 if test "${enable_core_jni+set}" = set; then
2188 enableval="$enable_core_jni"
2189 case "${enableval}" in
2190 yes) COMPILE_CORE_JNI=yes; COMPILE_JAVA=yes ;;
2191 no) COMPILE_CORE_JNI=no ;;
2192 *) COMPILE_CORE_JNI=yes; COMPILE_JAVA=yes ;;
2195 COMPILE_CORE_JNI=yes
2199 if test "x${COMPILE_CORE_JNI}" = xyes; then
2200 CREATE_CORE_JNI_LIBRARIES_TRUE=
2201 CREATE_CORE_JNI_LIBRARIES_FALSE='#'
2203 CREATE_CORE_JNI_LIBRARIES_TRUE='#'
2204 CREATE_CORE_JNI_LIBRARIES_FALSE=
2208 # Check whether --enable-default-preferences-peer or --disable-default-preferences-peer was given.
2209 if test "${enable_default_preferences_peer+set}" = set; then
2210 enableval="$enable_default_preferences_peer"
2211 case "${enableval}" in
2212 file) DEFAULT_PREFS_PEER=gnu.java.util.prefs.FileBasedFactory ;;
2213 gconf|yes|true) DEFAULT_PREFS_PEER=gnu.java.util.prefs.GConfBasedFactory ;;
2214 memory) DEFAULT_PREFS_PEER=gnu.java.util.prefs.MemoryBasedFactory ;;
2215 no|false) { { echo "$as_me:$LINENO: error: bad value '${enableval}' for --enable-default-preferences-peer" >&5
2216 echo "$as_me: error: bad value '${enableval}' for --enable-default-preferences-peer" >&2;}
2217 { (exit 1); exit 1; }; } ;;
2218 *) DEFAULT_PREFS_PEER=${enableval} ;;
2221 DEFAULT_PREFS_PEER=gnu.java.util.prefs.GConfBasedFactory
2224 # Check whether --enable-gconf-peer or --disable-gconf-peer was given.
2225 if test "${enable_gconf_peer+set}" = set; then
2226 enableval="$enable_gconf_peer"
2227 case "${enableval}" in
2228 yes) COMPILE_GCONF_PEER=yes ;;
2229 no) COMPILE_GCONF_PEER=no ;;
2230 *) COMPILE_GCONF_PEER=yes ;;
2233 COMPILE_GCONF_PEER=yes
2237 if test "x${COMPILE_GCONF_PEER}" = xyes; then
2238 CREATE_GCONF_PEER_LIBRARIES_TRUE=
2239 CREATE_GCONF_PEER_LIBRARIES_FALSE='#'
2241 CREATE_GCONF_PEER_LIBRARIES_TRUE='#'
2242 CREATE_GCONF_PEER_LIBRARIES_FALSE=
2246 # Check whether --enable-gconf-peers or --disable-gconf-peers was given.
2247 if test "${enable_gconf_peers+set}" = set; then
2248 enableval="$enable_gconf_peers"
2249 { { echo "$as_me:$LINENO: error: No --enable-gconf-peers (or --disable-gconf-peers) option; you want --enable-gconf-peer" >&5
2250 echo "$as_me: error: No --enable-gconf-peers (or --disable-gconf-peers) option; you want --enable-gconf-peer" >&2;}
2251 { (exit 1); exit 1; }; }
2254 # Check whether --enable-Werror or --disable-Werror was given.
2255 if test "${enable_Werror+set}" = set; then
2256 enableval="$enable_Werror"
2257 case "${enableval}" in
2258 yes) ENABLE_WERROR=yes ;;
2259 no) ENABLE_WERROR=no ;;
2260 *) ENABLE_WERROR=default ;;
2263 ENABLE_WERROR=default
2266 # Check whether --enable-default-toolkit or --disable-default-toolkit was given.
2267 if test "${enable_default_toolkit+set}" = set; then
2268 enableval="$enable_default_toolkit"
2271 default_toolkit=$enable_default_toolkit
2272 if test "$default_toolkit" = ""; then
2273 default_toolkit=gnu.java.awt.peer.gtk.GtkToolkit
2277 # Check whether --enable-xmlj or --disable-xmlj was given.
2278 if test "${enable_xmlj+set}" = set; then
2279 enableval="$enable_xmlj"
2280 case "${enableval}" in
2281 yes) COMPILE_XMLJ=yes ;;
2282 no) COMPILE_XMLJ=no ;;
2283 *) COMPILE_XMLJ=no ;;
2290 if test "x${COMPILE_XMLJ}" = xyes; then
2291 CREATE_XMLJ_LIBRARY_TRUE=
2292 CREATE_XMLJ_LIBRARY_FALSE='#'
2294 CREATE_XMLJ_LIBRARY_TRUE='#'
2295 CREATE_XMLJ_LIBRARY_FALSE=
2299 DEPDIR="${am__leading_dot}deps"
2301 ac_config_commands="$ac_config_commands depfiles"
2304 am_make=${MAKE-make}
2305 cat > confinc << 'END'
2310 # If we don't find an include directive, just comment out the code.
2311 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2312 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2316 # First try GNU make style include.
2317 echo "include confinc" > confmf
2318 # We grep out `Entering directory' and `Leaving directory'
2319 # messages which can occur if `w' ends up in MAKEFLAGS.
2320 # In particular we don't look at `^make:' because GNU make might
2321 # be invoked under some other name (usually "gmake"), in which
2322 # case it prints its new name instead of `make'.
2323 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2328 # Now try BSD make style include.
2329 if test "$am__include" = "#"; then
2330 echo '.include "confinc"' > confmf
2331 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2332 am__include=.include
2339 echo "$as_me:$LINENO: result: $_am_result" >&5
2340 echo "${ECHO_T}$_am_result" >&6
2341 rm -f confinc confmf
2343 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2344 if test "${enable_dependency_tracking+set}" = set; then
2345 enableval="$enable_dependency_tracking"
2348 if test "x$enable_dependency_tracking" != xno; then
2349 am_depcomp="$ac_aux_dir/depcomp"
2354 if test "x$enable_dependency_tracking" != xno; then
2365 ac_cpp='$CPP $CPPFLAGS'
2366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2369 if test -n "$ac_tool_prefix"; then
2370 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2371 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2372 echo "$as_me:$LINENO: checking for $ac_word" >&5
2373 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2374 if test "${ac_cv_prog_CC+set}" = set; then
2375 echo $ECHO_N "(cached) $ECHO_C" >&6
2377 if test -n "$CC"; then
2378 ac_cv_prog_CC="$CC" # Let the user override the test.
2380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2384 test -z "$as_dir" && as_dir=.
2385 for ac_exec_ext in '' $ac_executable_extensions; do
2386 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2387 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2388 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2397 if test -n "$CC"; then
2398 echo "$as_me:$LINENO: result: $CC" >&5
2399 echo "${ECHO_T}$CC" >&6
2401 echo "$as_me:$LINENO: result: no" >&5
2402 echo "${ECHO_T}no" >&6
2406 if test -z "$ac_cv_prog_CC"; then
2408 # Extract the first word of "gcc", so it can be a program name with args.
2409 set dummy gcc; ac_word=$2
2410 echo "$as_me:$LINENO: checking for $ac_word" >&5
2411 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2412 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2413 echo $ECHO_N "(cached) $ECHO_C" >&6
2415 if test -n "$ac_ct_CC"; then
2416 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2422 test -z "$as_dir" && as_dir=.
2423 for ac_exec_ext in '' $ac_executable_extensions; do
2424 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2425 ac_cv_prog_ac_ct_CC="gcc"
2426 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2434 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2435 if test -n "$ac_ct_CC"; then
2436 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2437 echo "${ECHO_T}$ac_ct_CC" >&6
2439 echo "$as_me:$LINENO: result: no" >&5
2440 echo "${ECHO_T}no" >&6
2448 if test -z "$CC"; then
2449 if test -n "$ac_tool_prefix"; then
2450 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2451 set dummy ${ac_tool_prefix}cc; ac_word=$2
2452 echo "$as_me:$LINENO: checking for $ac_word" >&5
2453 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2454 if test "${ac_cv_prog_CC+set}" = set; then
2455 echo $ECHO_N "(cached) $ECHO_C" >&6
2457 if test -n "$CC"; then
2458 ac_cv_prog_CC="$CC" # Let the user override the test.
2460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2464 test -z "$as_dir" && as_dir=.
2465 for ac_exec_ext in '' $ac_executable_extensions; do
2466 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2467 ac_cv_prog_CC="${ac_tool_prefix}cc"
2468 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2477 if test -n "$CC"; then
2478 echo "$as_me:$LINENO: result: $CC" >&5
2479 echo "${ECHO_T}$CC" >&6
2481 echo "$as_me:$LINENO: result: no" >&5
2482 echo "${ECHO_T}no" >&6
2486 if test -z "$ac_cv_prog_CC"; then
2488 # Extract the first word of "cc", so it can be a program name with args.
2489 set dummy cc; ac_word=$2
2490 echo "$as_me:$LINENO: checking for $ac_word" >&5
2491 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2492 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2493 echo $ECHO_N "(cached) $ECHO_C" >&6
2495 if test -n "$ac_ct_CC"; then
2496 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2502 test -z "$as_dir" && as_dir=.
2503 for ac_exec_ext in '' $ac_executable_extensions; do
2504 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2505 ac_cv_prog_ac_ct_CC="cc"
2506 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2514 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2515 if test -n "$ac_ct_CC"; then
2516 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2517 echo "${ECHO_T}$ac_ct_CC" >&6
2519 echo "$as_me:$LINENO: result: no" >&5
2520 echo "${ECHO_T}no" >&6
2529 if test -z "$CC"; then
2530 # Extract the first word of "cc", so it can be a program name with args.
2531 set dummy cc; ac_word=$2
2532 echo "$as_me:$LINENO: checking for $ac_word" >&5
2533 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2534 if test "${ac_cv_prog_CC+set}" = set; then
2535 echo $ECHO_N "(cached) $ECHO_C" >&6
2537 if test -n "$CC"; then
2538 ac_cv_prog_CC="$CC" # Let the user override the test.
2541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2545 test -z "$as_dir" && as_dir=.
2546 for ac_exec_ext in '' $ac_executable_extensions; do
2547 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2548 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2549 ac_prog_rejected=yes
2553 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2559 if test $ac_prog_rejected = yes; then
2560 # We found a bogon in the path, so make sure we never use it.
2561 set dummy $ac_cv_prog_CC
2563 if test $# != 0; then
2564 # We chose a different compiler from the bogus one.
2565 # However, it has the same basename, so the bogon will be chosen
2566 # first if we set CC to just the basename; use the full file name.
2568 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2574 if test -n "$CC"; then
2575 echo "$as_me:$LINENO: result: $CC" >&5
2576 echo "${ECHO_T}$CC" >&6
2578 echo "$as_me:$LINENO: result: no" >&5
2579 echo "${ECHO_T}no" >&6
2583 if test -z "$CC"; then
2584 if test -n "$ac_tool_prefix"; then
2587 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2588 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2589 echo "$as_me:$LINENO: checking for $ac_word" >&5
2590 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2591 if test "${ac_cv_prog_CC+set}" = set; then
2592 echo $ECHO_N "(cached) $ECHO_C" >&6
2594 if test -n "$CC"; then
2595 ac_cv_prog_CC="$CC" # Let the user override the test.
2597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2601 test -z "$as_dir" && as_dir=.
2602 for ac_exec_ext in '' $ac_executable_extensions; do
2603 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2604 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2605 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2614 if test -n "$CC"; then
2615 echo "$as_me:$LINENO: result: $CC" >&5
2616 echo "${ECHO_T}$CC" >&6
2618 echo "$as_me:$LINENO: result: no" >&5
2619 echo "${ECHO_T}no" >&6
2622 test -n "$CC" && break
2625 if test -z "$CC"; then
2629 # Extract the first word of "$ac_prog", so it can be a program name with args.
2630 set dummy $ac_prog; ac_word=$2
2631 echo "$as_me:$LINENO: checking for $ac_word" >&5
2632 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2633 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2634 echo $ECHO_N "(cached) $ECHO_C" >&6
2636 if test -n "$ac_ct_CC"; then
2637 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2643 test -z "$as_dir" && as_dir=.
2644 for ac_exec_ext in '' $ac_executable_extensions; do
2645 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2646 ac_cv_prog_ac_ct_CC="$ac_prog"
2647 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2655 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2656 if test -n "$ac_ct_CC"; then
2657 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2658 echo "${ECHO_T}$ac_ct_CC" >&6
2660 echo "$as_me:$LINENO: result: no" >&5
2661 echo "${ECHO_T}no" >&6
2664 test -n "$ac_ct_CC" && break
2673 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2674 See \`config.log' for more details." >&5
2675 echo "$as_me: error: no acceptable C compiler found in \$PATH
2676 See \`config.log' for more details." >&2;}
2677 { (exit 1); exit 1; }; }
2679 # Provide some information about the compiler.
2680 echo "$as_me:$LINENO:" \
2681 "checking for C compiler version" >&5
2682 ac_compiler=`set X $ac_compile; echo $2`
2683 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2684 (eval $ac_compiler --version </dev/null >&5) 2>&5
2686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2687 (exit $ac_status); }
2688 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2689 (eval $ac_compiler -v </dev/null >&5) 2>&5
2691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2692 (exit $ac_status); }
2693 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2694 (eval $ac_compiler -V </dev/null >&5) 2>&5
2696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2697 (exit $ac_status); }
2699 cat >conftest.$ac_ext <<_ACEOF
2702 cat confdefs.h >>conftest.$ac_ext
2703 cat >>conftest.$ac_ext <<_ACEOF
2704 /* end confdefs.h. */
2715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2716 (eval $ac_link) 2>&5
2718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2719 (exit $ac_status); }; then
2725 if test x$gcc_no_link = xyes; then
2726 # Setting cross_compile will disable run tests; it will
2727 # also disable AC_CHECK_FILE but that's generally
2728 # correct if we can't link.
2732 cat >conftest.$ac_ext <<_ACEOF
2735 cat confdefs.h >>conftest.$ac_ext
2736 cat >>conftest.$ac_ext <<_ACEOF
2737 /* end confdefs.h. */
2747 ac_clean_files_save=$ac_clean_files
2748 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2749 # Try to create an executable without -o first, disregard a.out.
2750 # It will help us diagnose broken compilers, and finding out an intuition
2752 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2753 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2754 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2755 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2756 (eval $ac_link_default) 2>&5
2758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2759 (exit $ac_status); }; then
2760 # Find the output, starting from the most likely. This scheme is
2761 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2764 # Be careful to initialize this variable, since it used to be cached.
2765 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2767 # b.out is created by i960 compilers.
2768 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2770 test -f "$ac_file" || continue
2772 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2775 # This is the source file.
2778 # We found the default executable, but exeext='' is most
2782 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2783 # FIXME: I believe we export ac_cv_exeext for Libtool,
2784 # but it would be cool to find out if it's true. Does anybody
2785 # maintain Libtool? --akim.
2793 echo "$as_me: failed program was:" >&5
2794 sed 's/^/| /' conftest.$ac_ext >&5
2796 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2797 See \`config.log' for more details." >&5
2798 echo "$as_me: error: C compiler cannot create executables
2799 See \`config.log' for more details." >&2;}
2800 { (exit 77); exit 77; }; }
2803 ac_exeext=$ac_cv_exeext
2804 echo "$as_me:$LINENO: result: $ac_file" >&5
2805 echo "${ECHO_T}$ac_file" >&6
2807 # Check the compiler produces executables we can run. If not, either
2808 # the compiler is broken, or we cross compile.
2809 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2810 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2811 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2812 # If not cross compiling, check that we can run a simple program.
2813 if test "$cross_compiling" != yes; then
2814 if { ac_try='./$ac_file'
2815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2819 (exit $ac_status); }; }; then
2822 if test "$cross_compiling" = maybe; then
2825 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2826 If you meant to cross compile, use \`--host'.
2827 See \`config.log' for more details." >&5
2828 echo "$as_me: error: cannot run C compiled programs.
2829 If you meant to cross compile, use \`--host'.
2830 See \`config.log' for more details." >&2;}
2831 { (exit 1); exit 1; }; }
2835 echo "$as_me:$LINENO: result: yes" >&5
2836 echo "${ECHO_T}yes" >&6
2838 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2839 ac_clean_files=$ac_clean_files_save
2840 # Check the compiler produces executables we can run. If not, either
2841 # the compiler is broken, or we cross compile.
2842 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2843 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2844 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2845 echo "${ECHO_T}$cross_compiling" >&6
2847 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2848 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2849 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2850 (eval $ac_link) 2>&5
2852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2853 (exit $ac_status); }; then
2854 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2855 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2856 # work properly (i.e., refer to `conftest.exe'), while it won't with
2858 for ac_file in conftest.exe conftest conftest.*; do
2859 test -f "$ac_file" || continue
2861 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2862 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2869 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2870 See \`config.log' for more details." >&5
2871 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2872 See \`config.log' for more details." >&2;}
2873 { (exit 1); exit 1; }; }
2876 rm -f conftest$ac_cv_exeext
2877 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2878 echo "${ECHO_T}$ac_cv_exeext" >&6
2880 rm -f conftest.$ac_ext
2881 EXEEXT=$ac_cv_exeext
2884 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2885 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2886 if test "${ac_cv_objext+set}" = set; then
2887 echo $ECHO_N "(cached) $ECHO_C" >&6
2889 cat >conftest.$ac_ext <<_ACEOF
2892 cat confdefs.h >>conftest.$ac_ext
2893 cat >>conftest.$ac_ext <<_ACEOF
2894 /* end confdefs.h. */
2904 rm -f conftest.o conftest.obj
2905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2906 (eval $ac_compile) 2>&5
2908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2909 (exit $ac_status); }; then
2910 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2912 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2913 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2918 echo "$as_me: failed program was:" >&5
2919 sed 's/^/| /' conftest.$ac_ext >&5
2921 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2922 See \`config.log' for more details." >&5
2923 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2924 See \`config.log' for more details." >&2;}
2925 { (exit 1); exit 1; }; }
2928 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2930 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2931 echo "${ECHO_T}$ac_cv_objext" >&6
2932 OBJEXT=$ac_cv_objext
2934 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2935 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2936 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2937 echo $ECHO_N "(cached) $ECHO_C" >&6
2939 cat >conftest.$ac_ext <<_ACEOF
2942 cat confdefs.h >>conftest.$ac_ext
2943 cat >>conftest.$ac_ext <<_ACEOF
2944 /* end confdefs.h. */
2957 rm -f conftest.$ac_objext
2958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2959 (eval $ac_compile) 2>conftest.er1
2961 grep -v '^ *+' conftest.er1 >conftest.err
2963 cat conftest.err >&5
2964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2965 (exit $ac_status); } &&
2966 { ac_try='test -z "$ac_c_werror_flag"
2967 || test ! -s conftest.err'
2968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2972 (exit $ac_status); }; } &&
2973 { ac_try='test -s conftest.$ac_objext'
2974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2978 (exit $ac_status); }; }; then
2981 echo "$as_me: failed program was:" >&5
2982 sed 's/^/| /' conftest.$ac_ext >&5
2986 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2987 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2990 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2991 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2992 GCC=`test $ac_compiler_gnu = yes && echo yes`
2993 ac_test_CFLAGS=${CFLAGS+set}
2994 ac_save_CFLAGS=$CFLAGS
2996 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2997 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2998 if test "${ac_cv_prog_cc_g+set}" = set; then
2999 echo $ECHO_N "(cached) $ECHO_C" >&6
3001 cat >conftest.$ac_ext <<_ACEOF
3004 cat confdefs.h >>conftest.$ac_ext
3005 cat >>conftest.$ac_ext <<_ACEOF
3006 /* end confdefs.h. */
3016 rm -f conftest.$ac_objext
3017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3018 (eval $ac_compile) 2>conftest.er1
3020 grep -v '^ *+' conftest.er1 >conftest.err
3022 cat conftest.err >&5
3023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3024 (exit $ac_status); } &&
3025 { ac_try='test -z "$ac_c_werror_flag"
3026 || test ! -s conftest.err'
3027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3031 (exit $ac_status); }; } &&
3032 { ac_try='test -s conftest.$ac_objext'
3033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3037 (exit $ac_status); }; }; then
3040 echo "$as_me: failed program was:" >&5
3041 sed 's/^/| /' conftest.$ac_ext >&5
3045 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3047 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3048 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3049 if test "$ac_test_CFLAGS" = set; then
3050 CFLAGS=$ac_save_CFLAGS
3051 elif test $ac_cv_prog_cc_g = yes; then
3052 if test "$GCC" = yes; then
3058 if test "$GCC" = yes; then
3064 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3065 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3066 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3067 echo $ECHO_N "(cached) $ECHO_C" >&6
3069 ac_cv_prog_cc_stdc=no
3071 cat >conftest.$ac_ext <<_ACEOF
3074 cat confdefs.h >>conftest.$ac_ext
3075 cat >>conftest.$ac_ext <<_ACEOF
3076 /* end confdefs.h. */
3079 #include <sys/types.h>
3080 #include <sys/stat.h>
3081 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3082 struct buf { int x; };
3083 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3084 static char *e (p, i)
3090 static char *f (char * (*g) (char **, int), char **p, ...)
3095 s = g (p, va_arg (v,int));
3100 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3101 function prototypes and stuff, but not '\xHH' hex character constants.
3102 These don't provoke an error unfortunately, instead are silently treated
3103 as 'x'. The following induces an error, until -std1 is added to get
3104 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3105 array size at least. It's necessary to write '\x00'==0 to get something
3106 that's true only with -std1. */
3107 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3109 int test (int i, double x);
3110 struct s1 {int (*f) (int a);};
3111 struct s2 {int (*f) (double a);};
3112 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3118 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3123 # Don't try gcc -ansi; that turns off useful extensions and
3124 # breaks some systems' header files.
3125 # AIX -qlanglvl=ansi
3126 # Ultrix and OSF/1 -std1
3127 # HP-UX 10.20 and later -Ae
3128 # HP-UX older versions -Aa -D_HPUX_SOURCE
3129 # SVR4 -Xc -D__EXTENSIONS__
3130 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3132 CC="$ac_save_CC $ac_arg"
3133 rm -f conftest.$ac_objext
3134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3135 (eval $ac_compile) 2>conftest.er1
3137 grep -v '^ *+' conftest.er1 >conftest.err
3139 cat conftest.err >&5
3140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3141 (exit $ac_status); } &&
3142 { ac_try='test -z "$ac_c_werror_flag"
3143 || test ! -s conftest.err'
3144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3148 (exit $ac_status); }; } &&
3149 { ac_try='test -s conftest.$ac_objext'
3150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3154 (exit $ac_status); }; }; then
3155 ac_cv_prog_cc_stdc=$ac_arg
3158 echo "$as_me: failed program was:" >&5
3159 sed 's/^/| /' conftest.$ac_ext >&5
3162 rm -f conftest.err conftest.$ac_objext
3164 rm -f conftest.$ac_ext conftest.$ac_objext
3169 case "x$ac_cv_prog_cc_stdc" in
3171 echo "$as_me:$LINENO: result: none needed" >&5
3172 echo "${ECHO_T}none needed" >&6 ;;
3174 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3175 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3176 CC="$CC $ac_cv_prog_cc_stdc" ;;
3179 # Some people use a C++ compiler to compile C. Since we use `exit',
3180 # in C++ we need to declare it. In case someone uses the same compiler
3181 # for both compiling C and C++ we need to have the C++ compiler decide
3182 # the declaration of exit, since it's the most demanding environment.
3183 cat >conftest.$ac_ext <<_ACEOF
3188 rm -f conftest.$ac_objext
3189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3190 (eval $ac_compile) 2>conftest.er1
3192 grep -v '^ *+' conftest.er1 >conftest.err
3194 cat conftest.err >&5
3195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3196 (exit $ac_status); } &&
3197 { ac_try='test -z "$ac_c_werror_flag"
3198 || test ! -s conftest.err'
3199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3203 (exit $ac_status); }; } &&
3204 { ac_try='test -s conftest.$ac_objext'
3205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3209 (exit $ac_status); }; }; then
3210 for ac_declaration in \
3212 'extern "C" void std::exit (int) throw (); using std::exit;' \
3213 'extern "C" void std::exit (int); using std::exit;' \
3214 'extern "C" void exit (int) throw ();' \
3215 'extern "C" void exit (int);' \
3218 cat >conftest.$ac_ext <<_ACEOF
3221 cat confdefs.h >>conftest.$ac_ext
3222 cat >>conftest.$ac_ext <<_ACEOF
3223 /* end confdefs.h. */
3234 rm -f conftest.$ac_objext
3235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3236 (eval $ac_compile) 2>conftest.er1
3238 grep -v '^ *+' conftest.er1 >conftest.err
3240 cat conftest.err >&5
3241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3242 (exit $ac_status); } &&
3243 { ac_try='test -z "$ac_c_werror_flag"
3244 || test ! -s conftest.err'
3245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3249 (exit $ac_status); }; } &&
3250 { ac_try='test -s conftest.$ac_objext'
3251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3255 (exit $ac_status); }; }; then
3258 echo "$as_me: failed program was:" >&5
3259 sed 's/^/| /' conftest.$ac_ext >&5
3263 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3264 cat >conftest.$ac_ext <<_ACEOF
3267 cat confdefs.h >>conftest.$ac_ext
3268 cat >>conftest.$ac_ext <<_ACEOF
3269 /* end confdefs.h. */
3279 rm -f conftest.$ac_objext
3280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3281 (eval $ac_compile) 2>conftest.er1
3283 grep -v '^ *+' conftest.er1 >conftest.err
3285 cat conftest.err >&5
3286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3287 (exit $ac_status); } &&
3288 { ac_try='test -z "$ac_c_werror_flag"
3289 || test ! -s conftest.err'
3290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3294 (exit $ac_status); }; } &&
3295 { ac_try='test -s conftest.$ac_objext'
3296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3300 (exit $ac_status); }; }; then
3303 echo "$as_me: failed program was:" >&5
3304 sed 's/^/| /' conftest.$ac_ext >&5
3307 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3310 if test -n "$ac_declaration"; then
3311 echo '#ifdef __cplusplus' >>confdefs.h
3312 echo $ac_declaration >>confdefs.h
3313 echo '#endif' >>confdefs.h
3317 echo "$as_me: failed program was:" >&5
3318 sed 's/^/| /' conftest.$ac_ext >&5
3321 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3323 ac_cpp='$CPP $CPPFLAGS'
3324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3328 depcc="$CC" am_compiler_list=
3330 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3331 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3332 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3333 echo $ECHO_N "(cached) $ECHO_C" >&6
3335 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3336 # We make a subdir and do the tests there. Otherwise we can end up
3337 # making bogus files that we don't know about and never remove. For
3338 # instance it was reported that on HP-UX the gcc test will end up
3339 # making a dummy file named `D' -- because `-MD' means `put the output
3342 # Copy depcomp to subdir because otherwise we won't find it if we're
3343 # using a relative directory.
3344 cp "$am_depcomp" conftest.dir
3346 # We will build objects and dependencies in a subdirectory because
3347 # it helps to detect inapplicable dependency modes. For instance
3348 # both Tru64's cc and ICC support -MD to output dependencies as a
3349 # side effect of compilation, but ICC will put the dependencies in
3350 # the current directory while Tru64 will put them in the object
3354 am_cv_CC_dependencies_compiler_type=none
3355 if test "$am_compiler_list" = ""; then
3356 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3358 for depmode in $am_compiler_list; do
3359 # Setup a source with many dependencies, because some compilers
3360 # like to wrap large dependency lists on column 80 (with \), and
3361 # we should not choose a depcomp mode which is confused by this.
3363 # We need to recreate these files for each test, as the compiler may
3364 # overwrite some of them when testing with obscure command lines.
3365 # This happens at least with the AIX C compiler.
3367 for i in 1 2 3 4 5 6; do
3368 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3369 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3370 # Solaris 8's {/usr,}/bin/sh.
3371 touch sub/conftst$i.h
3373 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3377 # after this tag, mechanisms are not by side-effect, so they'll
3378 # only be used when explicitly requested
3379 if test "x$enable_dependency_tracking" = xyes; then
3387 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3388 # mode. It turns out that the SunPro C++ compiler does not properly
3389 # handle `-M -o', and we need to detect this.
3390 if depmode=$depmode \
3391 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3392 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3393 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3394 >/dev/null 2>conftest.err &&
3395 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3396 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3397 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3398 # icc doesn't choke on unknown options, it will just issue warnings
3399 # or remarks (even with -Werror). So we grep stderr for any message
3400 # that says an option was ignored or not supported.
3401 # When given -MP, icc 7.0 and 7.1 complain thusly:
3402 # icc: Command line warning: ignoring option '-M'; no argument required
3403 # The diagnosis changed in icc 8.0:
3404 # icc: Command line remark: option '-MP' not supported
3405 if (grep 'ignoring option' conftest.err ||
3406 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3407 am_cv_CC_dependencies_compiler_type=$depmode
3416 am_cv_CC_dependencies_compiler_type=none
3420 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3421 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3422 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3427 test "x$enable_dependency_tracking" != xno \
3428 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3430 am__fastdepCC_FALSE='#'
3432 am__fastdepCC_TRUE='#'
3433 am__fastdepCC_FALSE=
3439 ac_cpp='$CPP $CPPFLAGS'
3440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3443 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3444 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3445 # On Suns, sometimes $CPP names a directory.
3446 if test -n "$CPP" && test -d "$CPP"; then
3449 if test -z "$CPP"; then
3450 if test "${ac_cv_prog_CPP+set}" = set; then
3451 echo $ECHO_N "(cached) $ECHO_C" >&6
3453 # Double quotes because CPP needs to be expanded
3454 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3457 for ac_c_preproc_warn_flag in '' yes
3459 # Use a header file that comes with gcc, so configuring glibc
3460 # with a fresh cross-compiler works.
3461 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3462 # <limits.h> exists even on freestanding compilers.
3463 # On the NeXT, cc -E runs the code through the compiler's parser,
3464 # not just through cpp. "Syntax error" is here to catch this case.
3465 cat >conftest.$ac_ext <<_ACEOF
3468 cat confdefs.h >>conftest.$ac_ext
3469 cat >>conftest.$ac_ext <<_ACEOF
3470 /* end confdefs.h. */
3472 # include <limits.h>
3474 # include <assert.h>
3478 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3479 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3481 grep -v '^ *+' conftest.er1 >conftest.err
3483 cat conftest.err >&5
3484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3485 (exit $ac_status); } >/dev/null; then
3486 if test -s conftest.err; then
3487 ac_cpp_err=$ac_c_preproc_warn_flag
3488 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3495 if test -z "$ac_cpp_err"; then
3498 echo "$as_me: failed program was:" >&5
3499 sed 's/^/| /' conftest.$ac_ext >&5
3501 # Broken: fails on valid input.
3504 rm -f conftest.err conftest.$ac_ext
3506 # OK, works on sane cases. Now check whether non-existent headers
3507 # can be detected and how.
3508 cat >conftest.$ac_ext <<_ACEOF
3511 cat confdefs.h >>conftest.$ac_ext
3512 cat >>conftest.$ac_ext <<_ACEOF
3513 /* end confdefs.h. */
3514 #include <ac_nonexistent.h>
3516 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3517 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3519 grep -v '^ *+' conftest.er1 >conftest.err
3521 cat conftest.err >&5
3522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3523 (exit $ac_status); } >/dev/null; then
3524 if test -s conftest.err; then
3525 ac_cpp_err=$ac_c_preproc_warn_flag
3526 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3533 if test -z "$ac_cpp_err"; then
3534 # Broken: success on invalid input.
3537 echo "$as_me: failed program was:" >&5
3538 sed 's/^/| /' conftest.$ac_ext >&5
3540 # Passes both tests.
3544 rm -f conftest.err conftest.$ac_ext
3547 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3548 rm -f conftest.err conftest.$ac_ext
3549 if $ac_preproc_ok; then