2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for GNU Classpath 0.97.2.
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 # Check that we are running under the correct shell.
248 SHELL=${CONFIG_SHELL-/bin/sh}
252 # Remove one level of quotation (which was required for Make).
253 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
258 if test "X$1" = X--no-reexec; then
259 # Discard the --no-reexec flag, and continue.
261 elif test "X$1" = X--fallback-echo; then
262 # Avoid inline document here, it may be left over
264 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
265 # Yippee, $ECHO works!
268 # Restart under the correct shell.
269 exec $SHELL "$0" --no-reexec ${1+"$@"}
272 if test "X$1" = X--fallback-echo; then
273 # used as fallback echo
281 # The HP-UX ksh and POSIX shell print the target directory to stdout
283 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
285 if test -z "$lt_ECHO"; then
286 if test "X${echo_test_string+set}" != Xset; then
287 # find a string as large as possible, as long as the shell can cope with it
288 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
289 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
290 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
291 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
298 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
299 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
300 test "X$echo_testing_string" = "X$echo_test_string"; then
303 # The Solaris, AIX, and Digital Unix default echo programs unquote
304 # backslashes. This makes it impossible to quote backslashes using
305 # echo "$something" | sed 's/\\/\\\\/g'
307 # So, first we look for a working echo in the user's PATH.
309 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
310 for dir in $PATH /usr/ucb; do
312 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
313 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
314 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
315 test "X$echo_testing_string" = "X$echo_test_string"; then
322 if test "X$ECHO" = Xecho; then
323 # We didn't find a better echo, so look for alternatives.
324 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
325 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
326 test "X$echo_testing_string" = "X$echo_test_string"; then
327 # This shell has a builtin print -r that does the trick.
329 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
330 test "X$CONFIG_SHELL" != X/bin/ksh; then
331 # If we have ksh, try running configure again with it.
332 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
333 export ORIGINAL_CONFIG_SHELL
334 CONFIG_SHELL=/bin/ksh
336 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
340 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
341 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
342 test "X$echo_testing_string" = "X$echo_test_string"; then
345 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
346 test "X$echo_testing_string" = 'X\t' &&
347 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
348 test "X$echo_testing_string" = "X$echo_test_string"; then
349 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
351 SHELL="$CONFIG_SHELL"
353 ECHO="$CONFIG_SHELL $0 --fallback-echo"
354 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
355 test "X$echo_testing_string" = 'X\t' &&
356 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
357 test "X$echo_testing_string" = "X$echo_test_string"; then
358 ECHO="$CONFIG_SHELL $0 --fallback-echo"
360 # maybe with a smaller string...
363 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
364 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
371 if test "$prev" != 'sed 50q "$0"'; then
372 echo_test_string=`eval $prev`
373 export echo_test_string
374 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
376 # Oops. We lost completely, so just stick with echo.
385 # Copy echo and quote the copy suitably for passing to libtool from
386 # the Makefile, instead of quoting the original, which is used later.
388 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
389 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
396 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
397 # so uname gets run too.
398 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
405 ac_default_prefix=/usr/local
406 ac_config_libobj_dir=.
411 SHELL=${CONFIG_SHELL-/bin/sh}
413 # Maximum number of lines to put in a shell here document.
414 # This variable seems obsolete. It should probably be removed, and
415 # only ac_max_sed_lines should be used.
416 : ${ac_max_here_lines=38}
418 # Identity of this package.
419 PACKAGE_NAME='GNU Classpath'
420 PACKAGE_TARNAME='classpath'
421 PACKAGE_VERSION='0.97.2'
422 PACKAGE_STRING='GNU Classpath 0.97.2'
423 PACKAGE_BUGREPORT='classpath@gnu.org'
425 ac_unique_file="java/lang/System.java"
426 ac_default_prefix=/usr/local/classpath
427 # Factoring default headers for most tests.
428 ac_includes_default="\
431 # include <sys/types.h>
434 # include <sys/stat.h>
445 # if !STDC_HEADERS && HAVE_MEMORY_H
451 # include <strings.h>
454 # include <inttypes.h>
464 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 CREATE_GSTREAMER_PEER_LIBRARIES_TRUE CREATE_GSTREAMER_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 CREATE_JNI_HEADERS_TRUE CREATE_JNI_HEADERS_FALSE CREATE_WRAPPERS_TRUE CREATE_WRAPPERS_FALSE LN_S LIBTOOL SED FGREP GREP LD DUMPBIN ac_ct_DUMPBIN NM AR ac_ct_AR RANLIB ac_ct_RANLIB lt_ECHO CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP PERL COLLECTIONS_PREFIX LIBMAGIC LIBICONV LTLIBICONV WARNING_CFLAGS EXTRA_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 CAIRO_CFLAGS CAIRO_LIBS XTEST_LIBS GCONF_CFLAGS GCONF_LIBS GDK_CFLAGS GDK_LIBS GSTREAMER_CFLAGS GSTREAMER_LIBS GSTREAMER_BASE_CFLAGS GSTREAMER_BASE_LIBS GSTREAMER_PLUGINS_BASE_CFLAGS GSTREAMER_PLUGINS_BASE_LIBS GST_PLUGIN_LDFLAGS GSTREAMER_FILE_READER GSTREAMER_MIXER_PROVIDER QT_CFLAGS QT_LIBS MOC MOZILLA_CFLAGS MOZILLA_LIBS GLIB_CFLAGS GLIB_LIBS PLUGIN_DIR USER_JAVAH CLASSPATH_INCLUDES 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 TOOLSDIR 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 JAVAC JAVAC_MEM_OPT USE_ESCHER_TRUE USE_ESCHER_FALSE PATH_TO_ESCHER ENABLE_LOCAL_SOCKETS_TRUE ENABLE_LOCAL_SOCKETS_FALSE DEFAULT_PREFS_PEER LIBOBJS LTLIBOBJS'
468 # Initialize some variables set by options.
470 ac_init_version=false
471 # The variables have the same names as the options, with
472 # dashes changed to underlines.
480 program_transform_name=s,x,x,
488 # Installation directory options.
489 # These are left unexpanded so users can "make install exec_prefix=/foo"
490 # and all the variables that are supposed to be based on exec_prefix
491 # by default will actually change.
492 # Use braces instead of parens because sh, perl, etc. also accept them.
493 bindir='${exec_prefix}/bin'
494 sbindir='${exec_prefix}/sbin'
495 libexecdir='${exec_prefix}/libexec'
496 datadir='${prefix}/share'
497 sysconfdir='${prefix}/etc'
498 sharedstatedir='${prefix}/com'
499 localstatedir='${prefix}/var'
500 libdir='${exec_prefix}/lib'
501 includedir='${prefix}/include'
502 oldincludedir='/usr/include'
503 infodir='${prefix}/info'
504 mandir='${prefix}/man'
509 # If the previous option needs an argument, assign it.
510 if test -n "$ac_prev"; then
511 eval "$ac_prev=\$ac_option"
516 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
518 # Accept the important Cygnus configure options, so we can diagnose typos.
522 -bindir | --bindir | --bindi | --bind | --bin | --bi)
524 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
527 -build | --build | --buil | --bui | --bu)
528 ac_prev=build_alias ;;
529 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
530 build_alias=$ac_optarg ;;
532 -cache-file | --cache-file | --cache-fil | --cache-fi \
533 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
534 ac_prev=cache_file ;;
535 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
536 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
537 cache_file=$ac_optarg ;;
540 cache_file=config.cache ;;
542 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
544 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
546 datadir=$ac_optarg ;;
548 -disable-* | --disable-*)
549 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
550 # Reject names that are not valid shell variable names.
551 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
552 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
553 { (exit 1); exit 1; }; }
554 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
555 eval "enable_$ac_feature=no" ;;
557 -enable-* | --enable-*)
558 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
559 # Reject names that are not valid shell variable names.
560 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
561 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
562 { (exit 1); exit 1; }; }
563 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
565 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
568 eval "enable_$ac_feature='$ac_optarg'" ;;
570 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
571 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
572 | --exec | --exe | --ex)
573 ac_prev=exec_prefix ;;
574 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
575 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
576 | --exec=* | --exe=* | --ex=*)
577 exec_prefix=$ac_optarg ;;
579 -gas | --gas | --ga | --g)
580 # Obsolete; use --with-gas.
583 -help | --help | --hel | --he | -h)
585 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
586 ac_init_help=recursive ;;
587 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
588 ac_init_help=short ;;
590 -host | --host | --hos | --ho)
591 ac_prev=host_alias ;;
592 -host=* | --host=* | --hos=* | --ho=*)
593 host_alias=$ac_optarg ;;
595 -includedir | --includedir | --includedi | --included | --include \
596 | --includ | --inclu | --incl | --inc)
597 ac_prev=includedir ;;
598 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
599 | --includ=* | --inclu=* | --incl=* | --inc=*)
600 includedir=$ac_optarg ;;
602 -infodir | --infodir | --infodi | --infod | --info | --inf)
604 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
605 infodir=$ac_optarg ;;
607 -libdir | --libdir | --libdi | --libd)
609 -libdir=* | --libdir=* | --libdi=* | --libd=*)
612 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
613 | --libexe | --libex | --libe)
614 ac_prev=libexecdir ;;
615 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
616 | --libexe=* | --libex=* | --libe=*)
617 libexecdir=$ac_optarg ;;
619 -localstatedir | --localstatedir | --localstatedi | --localstated \
620 | --localstate | --localstat | --localsta | --localst \
621 | --locals | --local | --loca | --loc | --lo)
622 ac_prev=localstatedir ;;
623 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
624 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
625 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
626 localstatedir=$ac_optarg ;;
628 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
630 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
634 # Obsolete; use --without-fp.
637 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
638 | --no-cr | --no-c | -n)
641 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
642 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
645 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
646 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
647 | --oldin | --oldi | --old | --ol | --o)
648 ac_prev=oldincludedir ;;
649 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
650 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
651 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
652 oldincludedir=$ac_optarg ;;
654 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
656 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
659 -program-prefix | --program-prefix | --program-prefi | --program-pref \
660 | --program-pre | --program-pr | --program-p)
661 ac_prev=program_prefix ;;
662 -program-prefix=* | --program-prefix=* | --program-prefi=* \
663 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
664 program_prefix=$ac_optarg ;;
666 -program-suffix | --program-suffix | --program-suffi | --program-suff \
667 | --program-suf | --program-su | --program-s)
668 ac_prev=program_suffix ;;
669 -program-suffix=* | --program-suffix=* | --program-suffi=* \
670 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
671 program_suffix=$ac_optarg ;;
673 -program-transform-name | --program-transform-name \
674 | --program-transform-nam | --program-transform-na \
675 | --program-transform-n | --program-transform- \
676 | --program-transform | --program-transfor \
677 | --program-transfo | --program-transf \
678 | --program-trans | --program-tran \
679 | --progr-tra | --program-tr | --program-t)
680 ac_prev=program_transform_name ;;
681 -program-transform-name=* | --program-transform-name=* \
682 | --program-transform-nam=* | --program-transform-na=* \
683 | --program-transform-n=* | --program-transform-=* \
684 | --program-transform=* | --program-transfor=* \
685 | --program-transfo=* | --program-transf=* \
686 | --program-trans=* | --program-tran=* \
687 | --progr-tra=* | --program-tr=* | --program-t=*)
688 program_transform_name=$ac_optarg ;;
690 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
691 | -silent | --silent | --silen | --sile | --sil)
694 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
696 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
698 sbindir=$ac_optarg ;;
700 -sharedstatedir | --sharedstatedir | --sharedstatedi \
701 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
702 | --sharedst | --shareds | --shared | --share | --shar \
704 ac_prev=sharedstatedir ;;
705 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
706 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
707 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
709 sharedstatedir=$ac_optarg ;;
711 -site | --site | --sit)
713 -site=* | --site=* | --sit=*)
716 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
718 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
721 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
722 | --syscon | --sysco | --sysc | --sys | --sy)
723 ac_prev=sysconfdir ;;
724 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
725 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
726 sysconfdir=$ac_optarg ;;
728 -target | --target | --targe | --targ | --tar | --ta | --t)
729 ac_prev=target_alias ;;
730 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
731 target_alias=$ac_optarg ;;
733 -v | -verbose | --verbose | --verbos | --verbo | --verb)
736 -version | --version | --versio | --versi | --vers | -V)
740 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
741 # Reject names that are not valid shell variable names.
742 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
743 { echo "$as_me: error: invalid package name: $ac_package" >&2
744 { (exit 1); exit 1; }; }
745 ac_package=`echo $ac_package| sed 's/-/_/g'`
747 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
750 eval "with_$ac_package='$ac_optarg'" ;;
752 -without-* | --without-*)
753 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
754 # Reject names that are not valid shell variable names.
755 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
756 { echo "$as_me: error: invalid package name: $ac_package" >&2
757 { (exit 1); exit 1; }; }
758 ac_package=`echo $ac_package | sed 's/-/_/g'`
759 eval "with_$ac_package=no" ;;
762 # Obsolete; use --with-x.
765 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
766 | --x-incl | --x-inc | --x-in | --x-i)
767 ac_prev=x_includes ;;
768 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
769 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
770 x_includes=$ac_optarg ;;
772 -x-libraries | --x-libraries | --x-librarie | --x-librari \
773 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
774 ac_prev=x_libraries ;;
775 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
776 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
777 x_libraries=$ac_optarg ;;
779 -*) { echo "$as_me: error: unrecognized option: $ac_option
780 Try \`$0 --help' for more information." >&2
781 { (exit 1); exit 1; }; }
785 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
786 # Reject names that are not valid shell variable names.
787 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
788 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
789 { (exit 1); exit 1; }; }
790 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
791 eval "$ac_envvar='$ac_optarg'"
795 # FIXME: should be removed in autoconf 3.0.
796 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
797 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
798 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
799 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
805 if test -n "$ac_prev"; then
806 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
807 { echo "$as_me: error: missing argument to $ac_option" >&2
808 { (exit 1); exit 1; }; }
811 # Be sure to have absolute paths.
812 for ac_var in exec_prefix prefix
814 eval ac_val=$`echo $ac_var`
816 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
817 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
818 { (exit 1); exit 1; }; };;
822 # Be sure to have absolute paths.
823 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
824 localstatedir libdir includedir oldincludedir infodir mandir
826 eval ac_val=$`echo $ac_var`
828 [\\/$]* | ?:[\\/]* ) ;;
829 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
830 { (exit 1); exit 1; }; };;
834 # There might be people who depend on the old broken behavior: `$host'
835 # used to hold the argument of --host etc.
836 # FIXME: To remove some day.
841 # FIXME: To remove some day.
842 if test "x$host_alias" != x; then
843 if test "x$build_alias" = x; then
844 cross_compiling=maybe
845 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
846 If a cross compiler is detected then cross compile mode will be used." >&2
847 elif test "x$build_alias" != "x$host_alias"; then
853 test -n "$host_alias" && ac_tool_prefix=$host_alias-
855 test "$silent" = yes && exec 6>/dev/null
858 # Find the source files, if location was not specified.
859 if test -z "$srcdir"; then
860 ac_srcdir_defaulted=yes
861 # Try the directory containing this script, then its parent.
862 ac_confdir=`(dirname "$0") 2>/dev/null ||
863 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
864 X"$0" : 'X\(//\)[^/]' \| \
865 X"$0" : 'X\(//\)$' \| \
866 X"$0" : 'X\(/\)' \| \
867 . : '\(.\)' 2>/dev/null ||
869 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
870 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
871 /^X\(\/\/\)$/{ s//\1/; q; }
872 /^X\(\/\).*/{ s//\1/; q; }
875 if test ! -r $srcdir/$ac_unique_file; then
879 ac_srcdir_defaulted=no
881 if test ! -r $srcdir/$ac_unique_file; then
882 if test "$ac_srcdir_defaulted" = yes; then
883 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
884 { (exit 1); exit 1; }; }
886 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
887 { (exit 1); exit 1; }; }
890 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
891 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
892 { (exit 1); exit 1; }; }
893 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
894 ac_env_build_alias_set=${build_alias+set}
895 ac_env_build_alias_value=$build_alias
896 ac_cv_env_build_alias_set=${build_alias+set}
897 ac_cv_env_build_alias_value=$build_alias
898 ac_env_host_alias_set=${host_alias+set}
899 ac_env_host_alias_value=$host_alias
900 ac_cv_env_host_alias_set=${host_alias+set}
901 ac_cv_env_host_alias_value=$host_alias
902 ac_env_target_alias_set=${target_alias+set}
903 ac_env_target_alias_value=$target_alias
904 ac_cv_env_target_alias_set=${target_alias+set}
905 ac_cv_env_target_alias_value=$target_alias
906 ac_env_CC_set=${CC+set}
908 ac_cv_env_CC_set=${CC+set}
909 ac_cv_env_CC_value=$CC
910 ac_env_CFLAGS_set=${CFLAGS+set}
911 ac_env_CFLAGS_value=$CFLAGS
912 ac_cv_env_CFLAGS_set=${CFLAGS+set}
913 ac_cv_env_CFLAGS_value=$CFLAGS
914 ac_env_LDFLAGS_set=${LDFLAGS+set}
915 ac_env_LDFLAGS_value=$LDFLAGS
916 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
917 ac_cv_env_LDFLAGS_value=$LDFLAGS
918 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
919 ac_env_CPPFLAGS_value=$CPPFLAGS
920 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
921 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
922 ac_env_CPP_set=${CPP+set}
923 ac_env_CPP_value=$CPP
924 ac_cv_env_CPP_set=${CPP+set}
925 ac_cv_env_CPP_value=$CPP
926 ac_env_CXX_set=${CXX+set}
927 ac_env_CXX_value=$CXX
928 ac_cv_env_CXX_set=${CXX+set}
929 ac_cv_env_CXX_value=$CXX
930 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
931 ac_env_CXXFLAGS_value=$CXXFLAGS
932 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
933 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
934 ac_env_CXXCPP_set=${CXXCPP+set}
935 ac_env_CXXCPP_value=$CXXCPP
936 ac_cv_env_CXXCPP_set=${CXXCPP+set}
937 ac_cv_env_CXXCPP_value=$CXXCPP
940 # Report the --help message.
942 if test "$ac_init_help" = "long"; then
943 # Omit some internal or obsolete options to make the list less imposing.
944 # This message is too long to be a string in the A/UX 3.1 sh.
946 \`configure' configures GNU Classpath 0.97.2 to adapt to many kinds of systems.
948 Usage: $0 [OPTION]... [VAR=VALUE]...
950 To assign environment variables (e.g., CC, CFLAGS...), specify them as
951 VAR=VALUE. See below for descriptions of some of the useful variables.
953 Defaults for the options are specified in brackets.
956 -h, --help display this help and exit
957 --help=short display options specific to this package
958 --help=recursive display the short help of all the included packages
959 -V, --version display version information and exit
960 -q, --quiet, --silent do not print \`checking...' messages
961 --cache-file=FILE cache test results in FILE [disabled]
962 -C, --config-cache alias for \`--cache-file=config.cache'
963 -n, --no-create do not create output files
964 --srcdir=DIR find the sources in DIR [configure dir or \`..']
969 Installation directories:
970 --prefix=PREFIX install architecture-independent files in PREFIX
972 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
975 By default, \`make install' will install all the files in
976 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
977 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
978 for instance \`--prefix=\$HOME'.
980 For better control, use the options below.
982 Fine tuning of the installation directories:
983 --bindir=DIR user executables [EPREFIX/bin]
984 --sbindir=DIR system admin executables [EPREFIX/sbin]
985 --libexecdir=DIR program executables [EPREFIX/libexec]
986 --datadir=DIR read-only architecture-independent data [PREFIX/share]
987 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
988 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
989 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
990 --libdir=DIR object code libraries [EPREFIX/lib]
991 --includedir=DIR C header files [PREFIX/include]
992 --oldincludedir=DIR C header files for non-gcc [/usr/include]
993 --infodir=DIR info documentation [PREFIX/info]
994 --mandir=DIR man documentation [PREFIX/man]
1000 --program-prefix=PREFIX prepend PREFIX to installed program names
1001 --program-suffix=SUFFIX append SUFFIX to installed program names
1002 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1005 --x-includes=DIR X include files are in DIR
1006 --x-libraries=DIR X library files are in DIR
1009 --build=BUILD configure for building on BUILD [guessed]
1010 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1011 --target=TARGET configure for building compilers for TARGET [HOST]
1015 if test -n "$ac_init_help"; then
1016 case $ac_init_help in
1017 short | recursive ) echo "Configuration of GNU Classpath 0.97.2:";;
1022 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1023 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1024 --enable-java-maintainer-mode
1025 allow rebuilding of .class and .h files
1026 --enable-generated-files-in-srcdir
1027 put copies of generated files in source dir
1028 intended for creating source tarballs for users
1029 without texinfo, perl, bison or flex.
1030 --enable-multilib build many library versions (default)
1031 --enable-collections create collections.jar default=no
1032 --enable-jni compile JNI source default=yes
1033 --enable-core-jni compile JNI sources for core default=yes
1034 --enable-default-preferences-peer[=peer type or class name]
1035 specify one of: "gconf" [default] for a GConf based
1036 backend, "file" for a file based one, "memory" for a
1037 transient one, or a fully qualified class name
1038 implementing java.util.prefs.PreferencesFactory
1039 --disable-gconf-peer compile GConf native peers (disabled by
1040 --disable-jni) default=yes
1042 --enable-gstreamer-peer compile GStreamer native peers (disabled by
1043 --disable-jni) default=no
1044 --enable-Werror whether to compile C code with -Werror which turns
1045 any compiler warning into a compilation failure
1047 --enable-default-toolkit
1048 fully qualified class name of default AWT toolkit
1049 --enable-xmlj compile native libxml/xslt library default=no
1050 --disable-alsa compile ALSA providers (enable by --enable-alsa)
1052 --disable-dependency-tracking speeds up one-time build
1053 --enable-dependency-tracking do not reject slow dependency extractors
1054 --disable-dssi compile DSSI providers (enable by --enable-dssi)
1056 --disable-gtk-peer compile GTK native peers (disabled by --disable-jni)
1058 --enable-qt-peer compile Qt4 native peers (disabled by --disable-jni)
1060 --disable-plugin compile gcjwebplugin (disabled by --disable-plugin)
1062 --enable-regen-headers automatically regenerate JNI headers default=yes if
1064 --enable-tool-wrappers create tool wrapper binaries default=no
1065 --enable-static[=PKGS]
1066 build static libraries [default=no]
1067 --enable-shared[=PKGS]
1068 build shared libraries [default=yes]
1069 --enable-fast-install[=PKGS]
1070 optimize for fast installation [default=yes]
1071 --disable-libtool-lock avoid locking (might break parallel builds)
1072 --disable-rpath do not hardcode runtime library paths
1073 --enable-maintainer-mode enable make rules and dependencies not useful
1074 (and sometimes confusing) to the casual installer
1075 --enable-debug enable runtime debugging code
1076 --enable-load-library enable to use JNI native methods default=yes
1077 --enable-java-lang-system-explicit-initialization
1078 will the VM explicitly invoke java.lang.System's
1079 static initialization methods default=no
1080 --enable-examples enable build of the examples default=yes
1081 --enable-tools enable build of the tools default=yes
1082 --enable-portable-native-sync
1083 synchronize VM threads portably
1084 --enable-local-sockets enables local (AF_LOCAL) socket API default: no
1087 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1088 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1089 --with-native-libdir sets the installation directory for native libraries
1090 default='${libdir}/${PACKAGE}'
1091 --with-glibj-dir sets the installation directory for glibj.zip
1092 default='${libdir}/${PACKAGE}'
1093 --with-vm sets the VM binary name
1094 default='${prefix}/bin/jamvm'
1095 --with-pic try to use only PIC/non-PIC objects [default=use
1097 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1098 --with-gnu-ld assume the C compiler uses GNU ld default=no
1099 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1100 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1101 --with-x use the X Window System
1102 --with-qt4dir=DIR Qt4 installation directory used for OS-X. For other
1103 systems use pkg-config.
1104 --with-javah specify path or name of a javah-like program
1105 --with-vm-classes specify path to VM override source files
1106 --with-ecj-jar=ABS.PATH specify jar file containing the Eclipse Java
1108 --with-fastjar=PATH define to use a fastjar style tool
1109 --with-glibj define what to install (zip|flat|both|none|build)
1111 --with-gjdoc generate documentation using gjdoc (default is NO)
1112 --with-jay=DIR|PATH Regenerate the parsers with jay
1113 --with-glibj-zip=ABS.PATH
1114 use prebuilt glibj.zip class library
1115 --with-escher=ABS.PATH specify path to escher dir or JAR for X peers
1117 Some influential environment variables:
1118 CC C compiler command
1119 CFLAGS C compiler flags
1120 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1121 nonstandard directory <lib dir>
1122 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1123 headers in a nonstandard directory <include dir>
1125 CXX C++ compiler command
1126 CXXFLAGS C++ compiler flags
1127 CXXCPP C++ preprocessor
1129 Use these variables to override the choices made by `configure' or to help
1130 it to find libraries and programs with nonstandard names/locations.
1132 Report bugs to <classpath@gnu.org>.
1136 if test "$ac_init_help" = "recursive"; then
1137 # If there are subdirs, report their specific --help.
1139 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1140 test -d $ac_dir || continue
1143 if test "$ac_dir" != .; then
1144 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1145 # A "../" for each directory in $ac_dir_suffix.
1146 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1148 ac_dir_suffix= ac_top_builddir=
1152 .) # No --srcdir option. We are building in place.
1154 if test -z "$ac_top_builddir"; then
1157 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1159 [\\/]* | ?:[\\/]* ) # Absolute path.
1160 ac_srcdir=$srcdir$ac_dir_suffix;
1161 ac_top_srcdir=$srcdir ;;
1163 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1164 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1167 # Do not use `cd foo && pwd` to compute absolute paths, because
1168 # the directories may not exist.
1170 .) ac_abs_builddir="$ac_dir";;
1173 .) ac_abs_builddir=`pwd`;;
1174 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1175 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1178 case $ac_abs_builddir in
1179 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1181 case ${ac_top_builddir}. in
1182 .) ac_abs_top_builddir=$ac_abs_builddir;;
1183 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1184 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1187 case $ac_abs_builddir in
1188 .) ac_abs_srcdir=$ac_srcdir;;
1191 .) ac_abs_srcdir=$ac_abs_builddir;;
1192 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1193 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1196 case $ac_abs_builddir in
1197 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1199 case $ac_top_srcdir in
1200 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1201 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1202 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1207 # Check for guested configure; otherwise get Cygnus style configure.
1208 if test -f $ac_srcdir/configure.gnu; then
1210 $SHELL $ac_srcdir/configure.gnu --help=recursive
1211 elif test -f $ac_srcdir/configure; then
1213 $SHELL $ac_srcdir/configure --help=recursive
1214 elif test -f $ac_srcdir/configure.ac ||
1215 test -f $ac_srcdir/configure.in; then
1217 $ac_configure --help
1219 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1225 test -n "$ac_init_help" && exit 0
1226 if $ac_init_version; then
1228 GNU Classpath configure 0.97.2
1229 generated by GNU Autoconf 2.59
1231 Copyright (C) 2003 Free Software Foundation, Inc.
1232 This configure script is free software; the Free Software Foundation
1233 gives unlimited permission to copy, distribute and modify it.
1239 This file contains any messages produced by compilers while
1240 running configure, to aid debugging if configure makes a mistake.
1242 It was created by GNU Classpath $as_me 0.97.2, which was
1243 generated by GNU Autoconf 2.59. Invocation command line was
1254 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1255 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1256 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1257 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1258 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1260 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1261 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1263 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1264 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1265 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1266 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1267 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1268 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1269 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1277 test -z "$as_dir" && as_dir=.
1278 echo "PATH: $as_dir"
1293 # Keep a trace of the command line.
1294 # Strip out --no-create and --no-recursion so they do not pile up.
1295 # Strip out --silent because we don't want to record it for future runs.
1296 # Also quote any args containing shell meta-characters.
1297 # Make two passes to allow for proper duplicate-argument suppression.
1302 ac_must_keep_next=false
1308 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1309 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1310 | -silent | --silent | --silen | --sile | --sil)
1312 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1313 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1316 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1318 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1319 if test $ac_must_keep_next = true; then
1320 ac_must_keep_next=false # Got value, back to normal.
1323 *=* | --config-cache | -C | -disable-* | --disable-* \
1324 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1325 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1326 | -with-* | --with-* | -without-* | --without-* | --x)
1327 case "$ac_configure_args0 " in
1328 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1331 -* ) ac_must_keep_next=true ;;
1334 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1335 # Get rid of the leading space.
1341 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1342 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1344 # When interrupted or exit'd, cleanup temporary files, and complete
1345 # config.log. We remove comments because anyway the quotes in there
1346 # would cause problems or look ugly.
1347 # WARNING: Be sure not to use single quotes in there, as some shells,
1348 # such as our DU 5.0 friend, will then `close' the trap.
1349 trap 'exit_status=$?
1350 # Save into config.log some information that might help in debugging.
1355 ## ---------------- ##
1356 ## Cache variables. ##
1357 ## ---------------- ##
1360 # The following way of writing the cache mishandles newlines in values,
1363 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1366 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1367 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1371 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1378 ## ----------------- ##
1379 ## Output variables. ##
1380 ## ----------------- ##
1383 for ac_var in $ac_subst_vars
1385 eval ac_val=$`echo $ac_var`
1386 echo "$ac_var='"'"'$ac_val'"'"'"
1390 if test -n "$ac_subst_files"; then
1397 for ac_var in $ac_subst_files
1399 eval ac_val=$`echo $ac_var`
1400 echo "$ac_var='"'"'$ac_val'"'"'"
1405 if test -s confdefs.h; then
1412 sed "/^$/d" confdefs.h | sort
1415 test "$ac_signal" != 0 &&
1416 echo "$as_me: caught signal $ac_signal"
1417 echo "$as_me: exit $exit_status"
1419 rm -f core *.core &&
1420 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1423 for ac_signal in 1 2 13 15; do
1424 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1428 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1429 rm -rf conftest* confdefs.h
1430 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1433 # Predefined preprocessor variables.
1435 cat >>confdefs.h <<_ACEOF
1436 #define PACKAGE_NAME "$PACKAGE_NAME"
1440 cat >>confdefs.h <<_ACEOF
1441 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1445 cat >>confdefs.h <<_ACEOF
1446 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1450 cat >>confdefs.h <<_ACEOF
1451 #define PACKAGE_STRING "$PACKAGE_STRING"
1455 cat >>confdefs.h <<_ACEOF
1456 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1460 # Let the site file select an alternate cache file if it wants to.
1461 # Prefer explicitly selected file to automatically selected ones.
1462 if test -z "$CONFIG_SITE"; then
1463 if test "x$prefix" != xNONE; then
1464 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1466 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1469 for ac_site_file in $CONFIG_SITE; do
1470 if test -r "$ac_site_file"; then
1471 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1472 echo "$as_me: loading site script $ac_site_file" >&6;}
1473 sed 's/^/| /' "$ac_site_file" >&5
1478 if test -r "$cache_file"; then
1479 # Some versions of bash will fail to source /dev/null (special
1480 # files actually), so we avoid doing that.
1481 if test -f "$cache_file"; then
1482 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1483 echo "$as_me: loading cache $cache_file" >&6;}
1485 [\\/]* | ?:[\\/]* ) . $cache_file;;
1486 *) . ./$cache_file;;
1490 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1491 echo "$as_me: creating cache $cache_file" >&6;}
1495 # Check that the precious variables saved in the cache have kept the same
1497 ac_cache_corrupted=false
1498 for ac_var in `(set) 2>&1 |
1499 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1500 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1501 eval ac_new_set=\$ac_env_${ac_var}_set
1502 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1503 eval ac_new_val="\$ac_env_${ac_var}_value"
1504 case $ac_old_set,$ac_new_set in
1506 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1507 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1508 ac_cache_corrupted=: ;;
1510 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1511 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1512 ac_cache_corrupted=: ;;
1515 if test "x$ac_old_val" != "x$ac_new_val"; then
1516 # differences in whitespace do not lead to failure.
1517 ac_old_val_w=`echo x $ac_old_val`
1518 ac_new_val_w=`echo x $ac_new_val`
1519 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1520 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1521 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1522 ac_cache_corrupted=:
1524 { echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1525 echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1526 eval $ac_var=\$ac_old_val
1528 { echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1529 echo "$as_me: former value: \`$ac_old_val'" >&2;}
1530 { echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1531 echo "$as_me: current value: \`$ac_new_val'" >&2;}
1534 # Pass precious variables to config.status.
1535 if test "$ac_new_set" = set; then
1537 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1538 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1539 *) ac_arg=$ac_var=$ac_new_val ;;
1541 case " $ac_configure_args " in
1542 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1543 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1547 if $ac_cache_corrupted; then
1548 { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1549 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1550 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1551 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1552 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1553 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1554 { (exit 1); exit 1; }; }
1558 ac_cpp='$CPP $CPPFLAGS'
1559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1595 for ac_dir in ../.. $srcdir/../..; do
1596 if test -f $ac_dir/install-sh; then
1598 ac_install_sh="$ac_aux_dir/install-sh -c"
1600 elif test -f $ac_dir/install.sh; then
1602 ac_install_sh="$ac_aux_dir/install.sh -c"
1604 elif test -f $ac_dir/shtool; then
1606 ac_install_sh="$ac_aux_dir/shtool install -c"
1610 if test -z "$ac_aux_dir"; then
1611 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ../.. $srcdir/../.." >&5
1612 echo "$as_me: error: cannot find install-sh or install.sh in ../.. $srcdir/../.." >&2;}
1613 { (exit 1); exit 1; }; }
1615 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1616 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1617 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1620 # Make sure we can run config.sub.
1621 $ac_config_sub sun4 >/dev/null 2>&1 ||
1622 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1623 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1624 { (exit 1); exit 1; }; }
1626 echo "$as_me:$LINENO: checking build system type" >&5
1627 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1628 if test "${ac_cv_build+set}" = set; then
1629 echo $ECHO_N "(cached) $ECHO_C" >&6
1631 ac_cv_build_alias=$build_alias
1632 test -z "$ac_cv_build_alias" &&
1633 ac_cv_build_alias=`$ac_config_guess`
1634 test -z "$ac_cv_build_alias" &&
1635 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1636 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1637 { (exit 1); exit 1; }; }
1638 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1639 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1640 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1641 { (exit 1); exit 1; }; }
1644 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1645 echo "${ECHO_T}$ac_cv_build" >&6
1647 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1648 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1649 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1652 echo "$as_me:$LINENO: checking host system type" >&5
1653 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1654 if test "${ac_cv_host+set}" = set; then
1655 echo $ECHO_N "(cached) $ECHO_C" >&6
1657 ac_cv_host_alias=$host_alias
1658 test -z "$ac_cv_host_alias" &&
1659 ac_cv_host_alias=$ac_cv_build_alias
1660 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1661 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1662 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1663 { (exit 1); exit 1; }; }
1666 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1667 echo "${ECHO_T}$ac_cv_host" >&6
1669 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1670 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1671 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1674 echo "$as_me:$LINENO: checking target system type" >&5
1675 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1676 if test "${ac_cv_target+set}" = set; then
1677 echo $ECHO_N "(cached) $ECHO_C" >&6
1679 ac_cv_target_alias=$target_alias
1680 test "x$ac_cv_target_alias" = "x" &&
1681 ac_cv_target_alias=$ac_cv_host_alias
1682 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1683 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1684 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1685 { (exit 1); exit 1; }; }
1688 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1689 echo "${ECHO_T}$ac_cv_target" >&6
1690 target=$ac_cv_target
1691 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1692 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1693 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1696 # The aliases save the names the user supplied, while $host etc.
1697 # will get canonicalized.
1698 test -n "$target_alias" &&
1699 test "$program_prefix$program_suffix$program_transform_name" = \
1701 program_prefix=${target_alias}-
1703 # Check whether --enable-java-maintainer-mode or --disable-java-maintainer-mode was given.
1704 if test "${enable_java_maintainer_mode+set}" = set; then
1705 enableval="$enable_java_maintainer_mode"
1710 if test "$enable_java_maintainer_mode" = yes; then
1711 JAVA_MAINTAINER_MODE_TRUE=
1712 JAVA_MAINTAINER_MODE_FALSE='#'
1714 JAVA_MAINTAINER_MODE_TRUE='#'
1715 JAVA_MAINTAINER_MODE_FALSE=
1719 # We would like to our source tree to be readonly. However when releases or
1720 # pre-releases are generated, the man pages need to be included as they are
1721 # converted from the texi files via perl which we don't require end users to
1723 # Therefore we have --enable-generated-files-in-srcdir to do just that.
1725 echo "$as_me:$LINENO: checking whether to place generated files in the source directory" >&5
1726 echo $ECHO_N "checking whether to place generated files in the source directory... $ECHO_C" >&6
1727 # Check whether --enable-generated-files-in-srcdir or --disable-generated-files-in-srcdir was given.
1728 if test "${enable_generated_files_in_srcdir+set}" = set; then
1729 enableval="$enable_generated_files_in_srcdir"
1730 generated_files_in_srcdir=$enableval
1732 generated_files_in_srcdir=no
1735 echo "$as_me:$LINENO: result: $generated_files_in_srcdir" >&5
1736 echo "${ECHO_T}$generated_files_in_srcdir" >&6
1739 if test x$generated_files_in_srcdir = xyes; then
1748 # Find the rest of the source tree framework.
1749 # Default to --enable-multilib
1750 # Check whether --enable-multilib or --disable-multilib was given.
1751 if test "${enable_multilib+set}" = set; then
1752 enableval="$enable_multilib"
1753 case "$enableval" in
1754 yes) multilib=yes ;;
1756 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1757 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1758 { (exit 1); exit 1; }; } ;;
1764 # We may get other options which we leave undocumented:
1765 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1766 # See config-ml.in if you want the gory details.
1768 if test "$srcdir" = "."; then
1769 if test "$with_target_subdir" != "."; then
1770 multi_basedir="$srcdir/$with_multisrctop../../.."
1772 multi_basedir="$srcdir/$with_multisrctop../.."
1775 multi_basedir="$srcdir/../.."
1779 # Even if the default multilib is not a cross compilation,
1780 # it may be that some of the other multilibs are.
1781 if test $cross_compiling = no && test $multilib = yes \
1782 && test "x${with_multisubdir}" != x ; then
1783 cross_compiling=maybe
1786 ac_config_commands="$ac_config_commands default-1"
1789 if expr ${target_cpu} : '.*86' > /dev/null; then target_cpu=x86; fi
1802 CLASSPATH_MODULE="${cp_module} -version-info ${LIBVERSION} -no-undefined"
1805 CLASSPATH_CONVENIENCE="-no-undefined"
1809 am__api_version="1.9"
1810 # Find a good install program. We prefer a C program (faster),
1811 # so one script is as good as another. But avoid the broken or
1812 # incompatible versions:
1813 # SysV /etc/install, /usr/sbin/install
1814 # SunOS /usr/etc/install
1815 # IRIX /sbin/install
1817 # AmigaOS /C/install, which installs bootblocks on floppy discs
1818 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1819 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1820 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1821 # OS/2's system install, which has a completely different semantic
1822 # ./install, which can be erroneously created by make from ./install.sh.
1823 # Reject install programs that cannot install multiple files.
1824 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1825 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1826 if test -z "$INSTALL"; then
1827 if test "${ac_cv_path_install+set}" = set; then
1828 echo $ECHO_N "(cached) $ECHO_C" >&6
1830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1834 test -z "$as_dir" && as_dir=.
1835 # Account for people who put trailing slashes in PATH elements.
1837 ./ | .// | /cC/* | \
1838 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1839 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1842 # OSF1 and SCO ODT 3.0 have their own names for install.
1843 # Don't use installbsd from OSF since it installs stuff as root
1845 for ac_prog in ginstall scoinst install; do
1846 for ac_exec_ext in '' $ac_executable_extensions; do
1847 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1848 if test $ac_prog = install &&
1849 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1850 # AIX install. It has an incompatible calling convention.
1852 elif test $ac_prog = install &&
1853 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1854 # program-specific install script used by HP pwplus--don't use.
1857 rm -rf conftest.one conftest.two conftest.dir
1858 echo one > conftest.one
1859 echo two > conftest.two
1861 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1862 test -s conftest.one && test -s conftest.two &&
1863 test -s conftest.dir/conftest.one &&
1864 test -s conftest.dir/conftest.two
1866 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1877 rm -rf conftest.one conftest.two conftest.dir
1880 if test "${ac_cv_path_install+set}" = set; then
1881 INSTALL=$ac_cv_path_install
1883 # As a last resort, use the slow shell script. Don't cache a
1884 # value for INSTALL within a source directory, because that will
1885 # break other packages using the cache if that directory is
1886 # removed, or if the value is a relative name.
1887 INSTALL=$ac_install_sh
1890 echo "$as_me:$LINENO: result: $INSTALL" >&5
1891 echo "${ECHO_T}$INSTALL" >&6
1893 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1894 # It thinks the first close brace ends the variable substitution.
1895 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1897 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1899 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1901 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1902 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1905 echo timestamp > conftest.file
1906 # Do `set' in a subshell so we don't clobber the current shell's
1907 # arguments. Must try -L first in case configure is actually a
1908 # symlink; some systems play weird games with the mod time of symlinks
1909 # (eg FreeBSD returns the mod time of the symlink's containing
1912 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1913 if test "$*" = "X"; then
1915 set X `ls -t $srcdir/configure conftest.file`
1918 if test "$*" != "X $srcdir/configure conftest.file" \
1919 && test "$*" != "X conftest.file $srcdir/configure"; then
1921 # If neither matched, then we have a broken ls. This can happen
1922 # if, for instance, CONFIG_SHELL is bash and it inherits a
1923 # broken ls alias from the environment. This has actually
1924 # happened. Such a system could not be considered "sane".
1925 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1926 alias in your environment" >&5
1927 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1928 alias in your environment" >&2;}
1929 { (exit 1); exit 1; }; }
1932 test "$2" = conftest.file
1938 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1939 Check your system clock" >&5
1940 echo "$as_me: error: newly created file is older than distributed files!
1941 Check your system clock" >&2;}
1942 { (exit 1); exit 1; }; }
1944 echo "$as_me:$LINENO: result: yes" >&5
1945 echo "${ECHO_T}yes" >&6
1946 test "$program_prefix" != NONE &&
1947 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1948 # Use a double $ so make ignores it.
1949 test "$program_suffix" != NONE &&
1950 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1951 # Double any \ or $. echo might interpret backslashes.
1952 # By default was `s,x,x', remove it if useless.
1953 cat <<\_ACEOF >conftest.sed
1954 s/[\\$]/&&/g;s/;s,x,x,$//
1956 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1959 # expand $ac_aux_dir to an absolute path
1960 am_aux_dir=`cd $ac_aux_dir && pwd`
1962 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1963 # Use eval to expand $SHELL
1964 if eval "$MISSING --run true"; then
1965 am_missing_run="$MISSING --run "
1968 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1969 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1972 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1973 # We used to keeping the `.' as first argument, in order to
1974 # allow $(mkdir_p) to be used without argument. As in
1975 # $(mkdir_p) $(somedir)
1976 # where $(somedir) is conditionally defined. However this is wrong
1978 # 1. if the package is installed by a user who cannot write `.'
1979 # make install will fail,
1980 # 2. the above comment should most certainly read
1981 # $(mkdir_p) $(DESTDIR)$(somedir)
1982 # so it does not work when $(somedir) is undefined and
1983 # $(DESTDIR) is not.
1984 # To support the latter case, we have to write
1985 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1986 # so the `.' trick is pointless.
1987 mkdir_p='mkdir -p --'
1989 # On NextStep and OpenStep, the `mkdir' command does not
1990 # recognize any option. It will interpret all options as
1991 # directories to create, and then abort because `.' already
1993 for d in ./-p ./--version;
1995 test -d $d && rmdir $d
1997 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1998 if test -f "$ac_aux_dir/mkinstalldirs"; then
1999 mkdir_p='$(mkinstalldirs)'
2001 mkdir_p='$(install_sh) -d'
2005 for ac_prog in gawk mawk nawk awk
2007 # Extract the first word of "$ac_prog", so it can be a program name with args.
2008 set dummy $ac_prog; ac_word=$2
2009 echo "$as_me:$LINENO: checking for $ac_word" >&5
2010 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2011 if test "${ac_cv_prog_AWK+set}" = set; then
2012 echo $ECHO_N "(cached) $ECHO_C" >&6
2014 if test -n "$AWK"; then
2015 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2021 test -z "$as_dir" && as_dir=.
2022 for ac_exec_ext in '' $ac_executable_extensions; do
2023 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2024 ac_cv_prog_AWK="$ac_prog"
2025 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2034 if test -n "$AWK"; then
2035 echo "$as_me:$LINENO: result: $AWK" >&5
2036 echo "${ECHO_T}$AWK" >&6
2038 echo "$as_me:$LINENO: result: no" >&5
2039 echo "${ECHO_T}no" >&6
2042 test -n "$AWK" && break
2045 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2046 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2047 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
2048 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2049 echo $ECHO_N "(cached) $ECHO_C" >&6
2051 cat >conftest.make <<\_ACEOF
2053 @echo 'ac_maketemp="$(MAKE)"'
2055 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2056 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2057 if test -n "$ac_maketemp"; then
2058 eval ac_cv_prog_make_${ac_make}_set=yes
2060 eval ac_cv_prog_make_${ac_make}_set=no
2064 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2065 echo "$as_me:$LINENO: result: yes" >&5
2066 echo "${ECHO_T}yes" >&6
2069 echo "$as_me:$LINENO: result: no" >&5
2070 echo "${ECHO_T}no" >&6
2071 SET_MAKE="MAKE=${MAKE-make}"
2074 rm -rf .tst 2>/dev/null
2075 mkdir .tst 2>/dev/null
2076 if test -d .tst; then
2081 rmdir .tst 2>/dev/null
2083 # test to see if srcdir already configured
2084 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2085 test -f $srcdir/config.status; then
2086 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2087 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2088 { (exit 1); exit 1; }; }
2091 # test whether we have cygpath
2092 if test -z "$CYGPATH_W"; then
2093 if (cygpath --version) >/dev/null 2>/dev/null; then
2094 CYGPATH_W='cygpath -w'
2101 # Define the identity of the package.
2106 cat >>confdefs.h <<_ACEOF
2107 #define PACKAGE "$PACKAGE"
2111 cat >>confdefs.h <<_ACEOF
2112 #define VERSION "$VERSION"
2115 # Some tools Automake needs.
2117 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2120 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2123 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2126 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2129 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2131 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2133 # Installed binaries are usually stripped using `strip' when the user
2134 # run `make install-strip'. However `strip' might not be the right
2135 # tool to use in cross-compilation environments, therefore Automake
2136 # will honor the `STRIP' environment variable to overrule this program.
2137 if test "$cross_compiling" != no; then
2138 if test -n "$ac_tool_prefix"; then
2139 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2140 set dummy ${ac_tool_prefix}strip; ac_word=$2
2141 echo "$as_me:$LINENO: checking for $ac_word" >&5
2142 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2143 if test "${ac_cv_prog_STRIP+set}" = set; then
2144 echo $ECHO_N "(cached) $ECHO_C" >&6
2146 if test -n "$STRIP"; then
2147 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2153 test -z "$as_dir" && as_dir=.
2154 for ac_exec_ext in '' $ac_executable_extensions; do
2155 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2156 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2157 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2165 STRIP=$ac_cv_prog_STRIP
2166 if test -n "$STRIP"; then
2167 echo "$as_me:$LINENO: result: $STRIP" >&5
2168 echo "${ECHO_T}$STRIP" >&6
2170 echo "$as_me:$LINENO: result: no" >&5
2171 echo "${ECHO_T}no" >&6
2175 if test -z "$ac_cv_prog_STRIP"; then
2177 # Extract the first word of "strip", so it can be a program name with args.
2178 set dummy strip; ac_word=$2
2179 echo "$as_me:$LINENO: checking for $ac_word" >&5
2180 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2181 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2182 echo $ECHO_N "(cached) $ECHO_C" >&6
2184 if test -n "$ac_ct_STRIP"; then
2185 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2191 test -z "$as_dir" && as_dir=.
2192 for ac_exec_ext in '' $ac_executable_extensions; do
2193 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2194 ac_cv_prog_ac_ct_STRIP="strip"
2195 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2201 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
2204 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2205 if test -n "$ac_ct_STRIP"; then
2206 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2207 echo "${ECHO_T}$ac_ct_STRIP" >&6
2209 echo "$as_me:$LINENO: result: no" >&5
2210 echo "${ECHO_T}no" >&6
2215 STRIP="$ac_cv_prog_STRIP"
2219 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2221 # We need awk for the "check" target. The system "awk" is bad on
2223 # Always define AMTAR for backward compatibility.
2225 AMTAR=${AMTAR-"${am_missing_run}tar"}
2228 echo "$as_me:$LINENO: checking how to create a ustar tar archive" >&5
2229 echo $ECHO_N "checking how to create a ustar tar archive... $ECHO_C" >&6
2230 # Loop over all known methods to create a tar archive until one works.
2231 _am_tools='gnutar plaintar pax cpio none'
2232 _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
2233 # Do not fold the above two line into one, because Tru64 sh and
2234 # Solaris sh will not grok spaces in the rhs of `-'.
2235 for _am_tool in $_am_tools
2239 for _am_tar in tar gnutar gtar;
2241 { echo "$as_me:$LINENO: $_am_tar --version" >&5
2242 ($_am_tar --version) >&5 2>&5
2244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2245 (exit $ac_status); } && break
2247 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
2248 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
2249 am__untar="$_am_tar -xf -"
2252 # Must skip GNU tar: if it does not support --format= it doesn't create
2253 # ustar tarball either.
2254 (tar --version) >/dev/null 2>&1 && continue
2255 am__tar='tar chf - "$$tardir"'
2256 am__tar_='tar chf - "$tardir"'
2257 am__untar='tar xf -'
2260 am__tar='pax -L -x ustar -w "$$tardir"'
2261 am__tar_='pax -L -x ustar -w "$tardir"'
2265 am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
2266 am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
2267 am__untar='cpio -i -H ustar -d'
2276 # If the value was cached, stop now. We just wanted to have am__tar
2277 # and am__untar set.
2278 test -n "${am_cv_prog_tar_ustar}" && break
2280 # tar/untar a dummy directory, and stop if the command works
2283 echo GrepMe > conftest.dir/file
2284 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2285 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2288 (exit $ac_status); }
2290 if test -s conftest.tar; then
2291 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2292 ($am__untar <conftest.tar) >&5 2>&5
2294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2295 (exit $ac_status); }
2296 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2301 if test "${am_cv_prog_tar_ustar+set}" = set; then
2302 echo $ECHO_N "(cached) $ECHO_C" >&6
2304 am_cv_prog_tar_ustar=$_am_tool
2307 echo "$as_me:$LINENO: result: $am_cv_prog_tar_ustar" >&5
2308 echo "${ECHO_T}$am_cv_prog_tar_ustar" >&6
2314 ac_config_headers="$ac_config_headers include/config.h"
2320 # Check whether --enable-collections or --disable-collections was given.
2321 if test "${enable_collections+set}" = set; then
2322 enableval="$enable_collections"
2323 case x"${enableval}" in
2324 xyes) COMPILE_COLLECTIONS=yes; COLLECTIONS_PREFIX="\"gnu/java/util/collections\"" ;;
2325 xno) COMPILE_COLLECTIONS=no ;;
2326 x) COMPILE_COLLECTIONS=yes; COLLECTIONS_PREFIX="\"gnu/java/util/collections\"" ;;
2327 *) COMPILE_COLLECTIONS=yes; COLLECTIONS_PREFIX="\"${enableval}\"" ;;
2330 COMPILE_COLLECTIONS=no
2334 if test "x${COMPILE_COLLECTIONS}" = xyes; then
2335 CREATE_COLLECTIONS_TRUE=
2336 CREATE_COLLECTIONS_FALSE='#'
2338 CREATE_COLLECTIONS_TRUE='#'
2339 CREATE_COLLECTIONS_FALSE=
2343 # Check whether --enable-jni or --disable-jni was given.
2344 if test "${enable_jni+set}" = set; then
2345 enableval="$enable_jni"
2346 case "${enableval}" in
2347 yes) COMPILE_JNI=yes; COMPILE_JAVA=yes ;;
2348 no) COMPILE_JNI=no ;;
2349 *) COMPILE_JNI=yes; COMPILE_JAVA=yes ;;
2356 if test "x${COMPILE_JNI}" = xyes; then
2357 CREATE_JNI_LIBRARIES_TRUE=
2358 CREATE_JNI_LIBRARIES_FALSE='#'
2360 CREATE_JNI_LIBRARIES_TRUE='#'
2361 CREATE_JNI_LIBRARIES_FALSE=
2365 # Check whether --enable-core-jni or --disable-core-jni was given.
2366 if test "${enable_core_jni+set}" = set; then
2367 enableval="$enable_core_jni"
2368 case "${enableval}" in
2369 yes) COMPILE_CORE_JNI=yes; COMPILE_JAVA=yes ;;
2370 no) COMPILE_CORE_JNI=no ;;
2371 *) COMPILE_CORE_JNI=yes; COMPILE_JAVA=yes ;;
2374 COMPILE_CORE_JNI=yes
2378 if test "x${COMPILE_CORE_JNI}" = xyes; then
2379 CREATE_CORE_JNI_LIBRARIES_TRUE=
2380 CREATE_CORE_JNI_LIBRARIES_FALSE='#'
2382 CREATE_CORE_JNI_LIBRARIES_TRUE='#'
2383 CREATE_CORE_JNI_LIBRARIES_FALSE=
2387 # Check whether --enable-default-preferences-peer or --disable-default-preferences-peer was given.
2388 if test "${enable_default_preferences_peer+set}" = set; then
2389 enableval="$enable_default_preferences_peer"
2390 case "${enableval}" in
2391 file) DEFAULT_PREFS_PEER=gnu.java.util.prefs.FileBasedFactory ;;
2392 gconf|yes|true) DEFAULT_PREFS_PEER=gnu.java.util.prefs.GConfBasedFactory ;;
2393 memory) DEFAULT_PREFS_PEER=gnu.java.util.prefs.MemoryBasedFactory ;;
2394 no|false) { { echo "$as_me:$LINENO: error: bad value '${enableval}' for --enable-default-preferences-peer" >&5
2395 echo "$as_me: error: bad value '${enableval}' for --enable-default-preferences-peer" >&2;}
2396 { (exit 1); exit 1; }; } ;;
2397 *) DEFAULT_PREFS_PEER=${enableval} ;;
2400 DEFAULT_PREFS_PEER=gnu.java.util.prefs.GConfBasedFactory
2403 # Check whether --enable-gconf-peer or --disable-gconf-peer was given.
2404 if test "${enable_gconf_peer+set}" = set; then
2405 enableval="$enable_gconf_peer"
2406 case "${enableval}" in
2407 yes) COMPILE_GCONF_PEER=yes ;;
2408 no) COMPILE_GCONF_PEER=no ;;
2409 *) COMPILE_GCONF_PEER=yes ;;
2412 COMPILE_GCONF_PEER=yes
2416 if test "x${COMPILE_GCONF_PEER}" = xyes; then
2417 CREATE_GCONF_PEER_LIBRARIES_TRUE=
2418 CREATE_GCONF_PEER_LIBRARIES_FALSE='#'
2420 CREATE_GCONF_PEER_LIBRARIES_TRUE='#'
2421 CREATE_GCONF_PEER_LIBRARIES_FALSE=
2425 # Check whether --enable-gconf-peers or --disable-gconf-peers was given.
2426 if test "${enable_gconf_peers+set}" = set; then
2427 enableval="$enable_gconf_peers"
2428 { { echo "$as_me:$LINENO: error: No --enable-gconf-peers (or --disable-gconf-peers) option; you want --enable-gconf-peer" >&5
2429 echo "$as_me: error: No --enable-gconf-peers (or --disable-gconf-peers) option; you want --enable-gconf-peer" >&2;}
2430 { (exit 1); exit 1; }; }
2433 # Check whether --enable-gstreamer-peer or --disable-gstreamer-peer was given.
2434 if test "${enable_gstreamer_peer+set}" = set; then
2435 enableval="$enable_gstreamer_peer"
2436 case "${enableval}" in
2437 yes) COMPILE_GSTREAMER_PEER=yes ;;
2438 no) COMPILE_GSTREAMER_PEER=no ;;
2439 *) COMPILE_GSTREAMER_PEER=default ;;
2442 COMPILE_GSTREAMER_PEER=default
2446 if test "x${COMPILE_GSTREAMER_PEER}" = xyes; then
2447 CREATE_GSTREAMER_PEER_LIBRARIES_TRUE=
2448 CREATE_GSTREAMER_PEER_LIBRARIES_FALSE='#'
2450 CREATE_GSTREAMER_PEER_LIBRARIES_TRUE='#'
2451 CREATE_GSTREAMER_PEER_LIBRARIES_FALSE=
2455 # Check whether --enable-gstreamer-peers or --disable-gstreamer-peers was given.
2456 if test "${enable_gstreamer_peers+set}" = set; then
2457 enableval="$enable_gstreamer_peers"
2458 { { echo "$as_me:$LINENO: error: No --enable-gstreamer-peers (or --disable-gstreamer-peers) option; you want --enable-gstreamer-peer" >&5
2459 echo "$as_me: error: No --enable-gstreamer-peers (or --disable-gstreamer-peers) option; you want --enable-gstreamer-peer" >&2;}
2460 { (exit 1); exit 1; }; }
2463 # Check whether --enable-Werror or --disable-Werror was given.
2464 if test "${enable_Werror+set}" = set; then
2465 enableval="$enable_Werror"
2466 case "${enableval}" in
2467 yes) ENABLE_WERROR=yes ;;
2468 no) ENABLE_WERROR=no ;;
2469 *) ENABLE_WERROR=default ;;
2472 ENABLE_WERROR=default
2475 # Check whether --enable-default-toolkit or --disable-default-toolkit was given.
2476 if test "${enable_default_toolkit+set}" = set; then
2477 enableval="$enable_default_toolkit"
2480 default_toolkit=$enable_default_toolkit
2481 if test "$default_toolkit" = ""; then
2482 default_toolkit=gnu.java.awt.peer.gtk.GtkToolkit
2486 # Check whether --enable-xmlj or --disable-xmlj was given.
2487 if test "${enable_xmlj+set}" = set; then
2488 enableval="$enable_xmlj"
2489 case "${enableval}" in
2490 yes) COMPILE_XMLJ=yes ;;
2491 no) COMPILE_XMLJ=no ;;
2492 *) COMPILE_XMLJ=no ;;
2499 if test "x${COMPILE_XMLJ}" = xyes; then
2500 CREATE_XMLJ_LIBRARY_TRUE=
2501 CREATE_XMLJ_LIBRARY_FALSE='#'
2503 CREATE_XMLJ_LIBRARY_TRUE='#'
2504 CREATE_XMLJ_LIBRARY_FALSE=
2508 DEPDIR="${am__leading_dot}deps"
2510 ac_config_commands="$ac_config_commands depfiles"
2513 am_make=${MAKE-make}
2514 cat > confinc << 'END'
2519 # If we don't find an include directive, just comment out the code.
2520 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2521 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2525 # First try GNU make style include.
2526 echo "include confinc" > confmf
2527 # We grep out `Entering directory' and `Leaving directory'
2528 # messages which can occur if `w' ends up in MAKEFLAGS.
2529 # In particular we don't look at `^make:' because GNU make might
2530 # be invoked under some other name (usually "gmake"), in which
2531 # case it prints its new name instead of `make'.
2532 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2537 # Now try BSD make style include.
2538 if test "$am__include" = "#"; then
2539 echo '.include "confinc"' > confmf
2540 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2541 am__include=.include
2548 echo "$as_me:$LINENO: result: $_am_result" >&5
2549 echo "${ECHO_T}$_am_result" >&6
2550 rm -f confinc confmf
2552 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2553 if test "${enable_dependency_tracking+set}" = set; then
2554 enableval="$enable_dependency_tracking"
2557 if test "x$enable_dependency_tracking" != xno; then
2558 am_depcomp="$ac_aux_dir/depcomp"
2563 if test "x$enable_dependency_tracking" != xno; then
2574 ac_cpp='$CPP $CPPFLAGS'
2575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2578 if test -n "$ac_tool_prefix"; then
2579 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2580 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2581 echo "$as_me:$LINENO: checking for $ac_word" >&5
2582 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2583 if test "${ac_cv_prog_CC+set}" = set; then
2584 echo $ECHO_N "(cached) $ECHO_C" >&6
2586 if test -n "$CC"; then
2587 ac_cv_prog_CC="$CC" # Let the user override the test.
2589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2593 test -z "$as_dir" && as_dir=.
2594 for ac_exec_ext in '' $ac_executable_extensions; do
2595 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2596 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2597 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2606 if test -n "$CC"; then
2607 echo "$as_me:$LINENO: result: $CC" >&5
2608 echo "${ECHO_T}$CC" >&6
2610 echo "$as_me:$LINENO: result: no" >&5
2611 echo "${ECHO_T}no" >&6
2615 if test -z "$ac_cv_prog_CC"; then
2617 # Extract the first word of "gcc", so it can be a program name with args.
2618 set dummy gcc; ac_word=$2
2619 echo "$as_me:$LINENO: checking for $ac_word" >&5
2620 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2621 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2622 echo $ECHO_N "(cached) $ECHO_C" >&6
2624 if test -n "$ac_ct_CC"; then
2625 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2631 test -z "$as_dir" && as_dir=.
2632 for ac_exec_ext in '' $ac_executable_extensions; do
2633 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2634 ac_cv_prog_ac_ct_CC="gcc"
2635 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2643 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2644 if test -n "$ac_ct_CC"; then
2645 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2646 echo "${ECHO_T}$ac_ct_CC" >&6
2648 echo "$as_me:$LINENO: result: no" >&5
2649 echo "${ECHO_T}no" >&6
2657 if test -z "$CC"; then
2658 if test -n "$ac_tool_prefix"; then
2659 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2660 set dummy ${ac_tool_prefix}cc; ac_word=$2
2661 echo "$as_me:$LINENO: checking for $ac_word" >&5
2662 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2663 if test "${ac_cv_prog_CC+set}" = set; then
2664 echo $ECHO_N "(cached) $ECHO_C" >&6
2666 if test -n "$CC"; then
2667 ac_cv_prog_CC="$CC" # Let the user override the test.
2669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2673 test -z "$as_dir" && as_dir=.
2674 for ac_exec_ext in '' $ac_executable_extensions; do
2675 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2676 ac_cv_prog_CC="${ac_tool_prefix}cc"
2677 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2686 if test -n "$CC"; then
2687 echo "$as_me:$LINENO: result: $CC" >&5
2688 echo "${ECHO_T}$CC" >&6
2690 echo "$as_me:$LINENO: result: no" >&5
2691 echo "${ECHO_T}no" >&6
2695 if test -z "$ac_cv_prog_CC"; then
2697 # Extract the first word of "cc", so it can be a program name with args.
2698 set dummy cc; ac_word=$2
2699 echo "$as_me:$LINENO: checking for $ac_word" >&5
2700 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2701 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2702 echo $ECHO_N "(cached) $ECHO_C" >&6
2704 if test -n "$ac_ct_CC"; then
2705 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2711 test -z "$as_dir" && as_dir=.
2712 for ac_exec_ext in '' $ac_executable_extensions; do
2713 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2714 ac_cv_prog_ac_ct_CC="cc"
2715 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2723 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2724 if test -n "$ac_ct_CC"; then
2725 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2726 echo "${ECHO_T}$ac_ct_CC" >&6
2728 echo "$as_me:$LINENO: result: no" >&5
2729 echo "${ECHO_T}no" >&6
2738 if test -z "$CC"; then
2739 # Extract the first word of "cc", so it can be a program name with args.
2740 set dummy cc; ac_word=$2
2741 echo "$as_me:$LINENO: checking for $ac_word" >&5
2742 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2743 if test "${ac_cv_prog_CC+set}" = set; then
2744 echo $ECHO_N "(cached) $ECHO_C" >&6
2746 if test -n "$CC"; then
2747 ac_cv_prog_CC="$CC" # Let the user override the test.
2750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2754 test -z "$as_dir" && as_dir=.
2755 for ac_exec_ext in '' $ac_executable_extensions; do
2756 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2757 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2758 ac_prog_rejected=yes
2762 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2768 if test $ac_prog_rejected = yes; then
2769 # We found a bogon in the path, so make sure we never use it.
2770 set dummy $ac_cv_prog_CC
2772 if test $# != 0; then
2773 # We chose a different compiler from the bogus one.
2774 # However, it has the same basename, so the bogon will be chosen
2775 # first if we set CC to just the basename; use the full file name.
2777 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2783 if test -n "$CC"; then
2784 echo "$as_me:$LINENO: result: $CC" >&5
2785 echo "${ECHO_T}$CC" >&6
2787 echo "$as_me:$LINENO: result: no" >&5
2788 echo "${ECHO_T}no" >&6
2792 if test -z "$CC"; then
2793 if test -n "$ac_tool_prefix"; then
2796 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2797 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2798 echo "$as_me:$LINENO: checking for $ac_word" >&5
2799 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2800 if test "${ac_cv_prog_CC+set}" = set; then
2801 echo $ECHO_N "(cached) $ECHO_C" >&6
2803 if test -n "$CC"; then
2804 ac_cv_prog_CC="$CC" # Let the user override the test.
2806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2810 test -z "$as_dir" && as_dir=.
2811 for ac_exec_ext in '' $ac_executable_extensions; do
2812 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2813 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2814 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2823 if test -n "$CC"; then
2824 echo "$as_me:$LINENO: result: $CC" >&5
2825 echo "${ECHO_T}$CC" >&6
2827 echo "$as_me:$LINENO: result: no" >&5
2828 echo "${ECHO_T}no" >&6
2831 test -n "$CC" && break
2834 if test -z "$CC"; then
2838 # Extract the first word of "$ac_prog", so it can be a program name with args.
2839 set dummy $ac_prog; ac_word=$2
2840 echo "$as_me:$LINENO: checking for $ac_word" >&5
2841 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2842 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2843 echo $ECHO_N "(cached) $ECHO_C" >&6
2845 if test -n "$ac_ct_CC"; then
2846 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2852 test -z "$as_dir" && as_dir=.
2853 for ac_exec_ext in '' $ac_executable_extensions; do
2854 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2855 ac_cv_prog_ac_ct_CC="$ac_prog"
2856 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2864 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2865 if test -n "$ac_ct_CC"; then
2866 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2867 echo "${ECHO_T}$ac_ct_CC" >&6
2869 echo "$as_me:$LINENO: result: no" >&5
2870 echo "${ECHO_T}no" >&6
2873 test -n "$ac_ct_CC" && break
2882 test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2883 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2884 { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2885 See \`config.log' for more details." >&5
2886 echo "$as_me: error: no acceptable C compiler found in \$PATH
2887 See \`config.log' for more details." >&2;}
2888 { (exit 1); exit 1; }; }; }
2890 # Provide some information about the compiler.
2891 echo "$as_me:$LINENO:" \
2892 "checking for C compiler version" >&5
2893 ac_compiler=`set X $ac_compile; echo $2`
2894 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2895 (eval $ac_compiler --version </dev/null >&5) 2>&5
2897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2898 (exit $ac_status); }
2899 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2900 (eval $ac_compiler -v </dev/null >&5) 2>&5
2902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2903 (exit $ac_status); }
2904 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2905 (eval $ac_compiler -V </dev/null >&5) 2>&5
2907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2908 (exit $ac_status); }
2910 cat >conftest.$ac_ext <<_ACEOF
2913 cat confdefs.h >>conftest.$ac_ext
2914 cat >>conftest.$ac_ext <<_ACEOF
2915 /* end confdefs.h. */
2926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2927 (eval $ac_link) 2>&5
2929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2930 (exit $ac_status); }; then
2936 if test x$gcc_no_link = xyes; then
2937 # Setting cross_compile will disable run tests; it will
2938 # also disable AC_CHECK_FILE but that's generally
2939 # correct if we can't link.
2943 cat >conftest.$ac_ext <<_ACEOF
2946 cat confdefs.h >>conftest.$ac_ext
2947 cat >>conftest.$ac_ext <<_ACEOF
2948 /* end confdefs.h. */
2958 ac_clean_files_save=$ac_clean_files
2959 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2960 # Try to create an executable without -o first, disregard a.out.
2961 # It will help us diagnose broken compilers, and finding out an intuition
2963 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2964 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2965 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2966 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2967 (eval $ac_link_default) 2>&5
2969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2970 (exit $ac_status); }; then
2971 # Find the output, starting from the most likely. This scheme is
2972 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2975 # Be careful to initialize this variable, since it used to be cached.
2976 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2978 # b.out is created by i960 compilers.
2979 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2981 test -f "$ac_file" || continue
2983 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2986 # This is the source file.
2989 # We found the default executable, but exeext='' is most
2993 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2994 # FIXME: I believe we export ac_cv_exeext for Libtool,
2995 # but it would be cool to find out if it's true. Does anybody
2996 # maintain Libtool? --akim.
3004 echo "$as_me: failed program was:" >&5
3005 sed 's/^/| /' conftest.$ac_ext >&5
3007 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3008 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3009 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3010 See \`config.log' for more details." >&5
3011 echo "$as_me: error: C compiler cannot create executables
3012 See \`config.log' for more details." >&2;}
3013 { (exit 77); exit 77; }; }; }
3016 ac_exeext=$ac_cv_exeext
3017 echo "$as_me:$LINENO: result: $ac_file" >&5
3018 echo "${ECHO_T}$ac_file" >&6
3020 # Check the compiler produces executables we can run. If not, either
3021 # the compiler is broken, or we cross compile.
3022 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3023 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
3024 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3025 # If not cross compiling, check that we can run a simple program.
3026 if test "$cross_compiling" != yes; then
3027 if { ac_try='./$ac_file'
3028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3032 (exit $ac_status); }; }; then
3035 if test "$cross_compiling" = maybe; then
3038 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3039 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3040 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3041 If you meant to cross compile, use \`--host'.
3042 See \`config.log' for more details." >&5
3043 echo "$as_me: error: cannot run C compiled programs.
3044 If you meant to cross compile, use \`--host'.
3045 See \`config.log' for more details." >&2;}
3046 { (exit 1); exit 1; }; }; }
3050 echo "$as_me:$LINENO: result: yes" >&5
3051 echo "${ECHO_T}yes" >&6
3053 rm -f a.out a.exe conftest$ac_cv_exeext b.out
3054 ac_clean_files=$ac_clean_files_save
3055 # Check the compiler produces executables we can run. If not, either
3056 # the compiler is broken, or we cross compile.
3057 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3058 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
3059 echo "$as_me:$LINENO: result: $cross_compiling" >&5
3060 echo "${ECHO_T}$cross_compiling" >&6
3062 echo "$as_me:$LINENO: checking for suffix of executables" >&5
3063 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
3064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3065 (eval $ac_link) 2>&5
3067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3068 (exit $ac_status); }; then
3069 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3070 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3071 # work properly (i.e., refer to `conftest.exe'), while it won't with
3073 for ac_file in conftest.exe conftest conftest.*; do
3074 test -f "$ac_file" || continue
3076 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
3077 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3084 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3085 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3086 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3087 See \`config.log' for more details." >&5
3088 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3089 See \`config.log' for more details." >&2;}
3090 { (exit 1); exit 1; }; }; }
3093 rm -f conftest$ac_cv_exeext
3094 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3095 echo "${ECHO_T}$ac_cv_exeext" >&6
3097 rm -f conftest.$ac_ext
3098 EXEEXT=$ac_cv_exeext
3101 echo "$as_me:$LINENO: checking for suffix of object files" >&5
3102 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
3103 if test "${ac_cv_objext+set}" = set; then
3104 echo $ECHO_N "(cached) $ECHO_C" >&6
3106 cat >conftest.$ac_ext <<_ACEOF
3109 cat confdefs.h >>conftest.$ac_ext
3110 cat >>conftest.$ac_ext <<_ACEOF
3111 /* end confdefs.h. */
3121 rm -f conftest.o conftest.obj
3122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3123 (eval $ac_compile) 2>&5
3125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3126 (exit $ac_status); }; then
3127 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
3129 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
3130 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3135 echo "$as_me: failed program was:" >&5
3136 sed 's/^/| /' conftest.$ac_ext >&5
3138 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3139 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3140 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3141 See \`config.log' for more details." >&5
3142 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3143 See \`config.log' for more details." >&2;}
3144 { (exit 1); exit 1; }; }; }
3147 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3149 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3150 echo "${ECHO_T}$ac_cv_objext" >&6
3151 OBJEXT=$ac_cv_objext
3153 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3154 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3155 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3156 echo $ECHO_N "(cached) $ECHO_C" >&6
3158 cat >conftest.$ac_ext <<_ACEOF
3161 cat confdefs.h >>conftest.$ac_ext
3162 cat >>conftest.$ac_ext <<_ACEOF
3163 /* end confdefs.h. */
3176 rm -f conftest.$ac_objext
3177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3178 (eval $ac_compile) 2>conftest.er1
3180 grep -v '^ *+' conftest.er1 >conftest.err
3182 cat conftest.err >&5
3183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3184 (exit $ac_status); } &&
3185 { ac_try='test -z "$ac_c_werror_flag"
3186 || test ! -s conftest.err'
3187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3191 (exit $ac_status); }; } &&
3192 { ac_try='test -s conftest.$ac_objext'
3193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3197 (exit $ac_status); }; }; then
3200 echo "$as_me: failed program was:" >&5
3201 sed 's/^/| /' conftest.$ac_ext >&5
3205 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3206 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3209 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3210 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3211 GCC=`test $ac_compiler_gnu = yes && echo yes`
3212 ac_test_CFLAGS=${CFLAGS+set}
3213 ac_save_CFLAGS=$CFLAGS
3215 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3216 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3217 if test "${ac_cv_prog_cc_g+set}" = set; then
3218 echo $ECHO_N "(cached) $ECHO_C" >&6
3220 cat >conftest.$ac_ext <<_ACEOF
3223 cat confdefs.h >>conftest.$ac_ext
3224 cat >>conftest.$ac_ext <<_ACEOF
3225 /* end confdefs.h. */
3235 rm -f conftest.$ac_objext
3236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3237 (eval $ac_compile) 2>conftest.er1
3239 grep -v '^ *+' conftest.er1 >conftest.err
3241 cat conftest.err >&5
3242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3243 (exit $ac_status); } &&
3244 { ac_try='test -z "$ac_c_werror_flag"
3245 || test ! -s conftest.err'
3246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3250 (exit $ac_status); }; } &&
3251 { ac_try='test -s conftest.$ac_objext'
3252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3256 (exit $ac_status); }; }; then
3259 echo "$as_me: failed program was:" >&5
3260 sed 's/^/| /' conftest.$ac_ext >&5
3264 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3266 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3267 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3268 if test "$ac_test_CFLAGS" = set; then
3269 CFLAGS=$ac_save_CFLAGS
3270 elif test $ac_cv_prog_cc_g = yes; then
3271 if test "$GCC" = yes; then
3277 if test "$GCC" = yes; then
3283 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3284 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3285 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3286 echo $ECHO_N "(cached) $ECHO_C" >&6
3288 ac_cv_prog_cc_stdc=no
3290 cat >conftest.$ac_ext <<_ACEOF
3293 cat confdefs.h >>conftest.$ac_ext
3294 cat >>conftest.$ac_ext <<_ACEOF
3295 /* end confdefs.h. */
3298 #include <sys/types.h>
3299 #include <sys/stat.h>
3300 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3301 struct buf { int x; };
3302 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3303 static char *e (p, i)
3309 static char *f (char * (*g) (char **, int), char **p, ...)
3314 s = g (p, va_arg (v,int));
3319 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3320 function prototypes and stuff, but not '\xHH' hex character constants.
3321 These don't provoke an error unfortunately, instead are silently treated
3322 as 'x'. The following induces an error, until -std1 is added to get
3323 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3324 array size at least. It's necessary to write '\x00'==0 to get something
3325 that's true only with -std1. */
3326 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3328 int test (int i, double x);
3329 struct s1 {int (*f) (int a);};
3330 struct s2 {int (*f) (double a);};
3331 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3337 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3342 # Don't try gcc -ansi; that turns off useful extensions and
3343 # breaks some systems' header files.
3344 # AIX -qlanglvl=ansi
3345 # Ultrix and OSF/1 -std1
3346 # HP-UX 10.20 and later -Ae
3347 # HP-UX older versions -Aa -D_HPUX_SOURCE
3348 # SVR4 -Xc -D__EXTENSIONS__
3349 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3351 CC="$ac_save_CC $ac_arg"
3352 rm -f conftest.$ac_objext
3353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3354 (eval $ac_compile) 2>conftest.er1
3356 grep -v '^ *+' conftest.er1 >conftest.err
3358 cat conftest.err >&5
3359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3360 (exit $ac_status); } &&
3361 { ac_try='test -z "$ac_c_werror_flag"
3362 || test ! -s conftest.err'
3363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3367 (exit $ac_status); }; } &&
3368 { ac_try='test -s conftest.$ac_objext'
3369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3373 (exit $ac_status); }; }; then
3374 ac_cv_prog_cc_stdc=$ac_arg
3377 echo "$as_me: failed program was:" >&5
3378 sed 's/^/| /' conftest.$ac_ext >&5
3381 rm -f conftest.err conftest.$ac_objext
3383 rm -f conftest.$ac_ext conftest.$ac_objext
3388 case "x$ac_cv_prog_cc_stdc" in
3390 echo "$as_me:$LINENO: result: none needed" >&5
3391 echo "${ECHO_T}none needed" >&6 ;;
3393 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3394 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3395 CC="$CC $ac_cv_prog_cc_stdc" ;;
3398 # Some people use a C++ compiler to compile C. Since we use `exit',
3399 # in C++ we need to declare it. In case someone uses the same compiler
3400 # for both compiling C and C++ we need to have the C++ compiler decide
3401 # the declaration of exit, since it's the most demanding environment.
3402 cat >conftest.$ac_ext <<_ACEOF
3407 rm -f conftest.$ac_objext
3408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3409 (eval $ac_compile) 2>conftest.er1
3411 grep -v '^ *+' conftest.er1 >conftest.err
3413 cat conftest.err >&5
3414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3415 (exit $ac_status); } &&
3416 { ac_try='test -z "$ac_c_werror_flag"
3417 || test ! -s conftest.err'
3418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3422 (exit $ac_status); }; } &&
3423 { ac_try='test -s conftest.$ac_objext'
3424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3428 (exit $ac_status); }; }; then
3429 for ac_declaration in \
3431 'extern "C" void std::exit (int) throw (); using std::exit;' \
3432 'extern "C" void std::exit (int); using std::exit;' \
3433 'extern "C" void exit (int) throw ();' \
3434 'extern "C" void exit (int);' \
3437 cat >conftest.$ac_ext <<_ACEOF
3440 cat confdefs.h >>conftest.$ac_ext
3441 cat >>conftest.$ac_ext <<_ACEOF
3442 /* end confdefs.h. */
3453 rm -f conftest.$ac_objext
3454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3455 (eval $ac_compile) 2>conftest.er1
3457 grep -v '^ *+' conftest.er1 >conftest.err
3459 cat conftest.err >&5
3460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3461 (exit $ac_status); } &&
3462 { ac_try='test -z "$ac_c_werror_flag"
3463 || test ! -s conftest.err'
3464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3468 (exit $ac_status); }; } &&
3469 { ac_try='test -s conftest.$ac_objext'
3470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3474 (exit $ac_status); }; }; then
3477 echo "$as_me: failed program was:" >&5
3478 sed 's/^/| /' conftest.$ac_ext >&5
3482 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3483 cat >conftest.$ac_ext <<_ACEOF
3486 cat confdefs.h >>conftest.$ac_ext
3487 cat >>conftest.$ac_ext <<_ACEOF
3488 /* end confdefs.h. */
3498 rm -f conftest.$ac_objext
3499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3500 (eval $ac_compile) 2>conftest.er1
3502 grep -v '^ *+' conftest.er1 >conftest.err
3504 cat conftest.err >&5
3505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3506 (exit $ac_status); } &&
3507 { ac_try='test -z "$ac_c_werror_flag"
3508 || test ! -s conftest.err'
3509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3513 (exit $ac_status); }; } &&
3514 { ac_try='test -s conftest.$ac_objext'
3515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3519 (exit $ac_status); }; }; then
3522 echo "$as_me: failed program was:" >&5
3523 sed 's/^/| /' conftest.$ac_ext >&5
3526 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3529 if test -n "$ac_declaration"; then
3530 echo '#ifdef __cplusplus' >>confdefs.h
3531 echo $ac_declaration >>confdefs.h
3532 echo '#endif' >>confdefs.h
3536 echo "$as_me: failed program was:" >&5