[kaffe] CVS kaffe (dalibor): Improved JVMPI checking and added more verbose messages to configure script
Kaffe CVS
cvs-commits at kaffe.org
Sat May 15 06:14:03 PDT 2004
PatchSet 4729
Date: 2004/05/15 12:55:53
Author: dalibor
Branch: HEAD
Tag: (none)
Log:
Improved JVMPI checking and added more verbose messages to configure script
2004-05-15 Dalibor Topic <robilad at kaffe.org>
* configure.ac: Added 'checking' messages for debugging, bcel and
jvmpi. Improved JVMPI checking to use AC_ARG_ENABLE's features to
handle given and not given arguments.
* configure: Regenerated.
Members:
ChangeLog:1.2303->1.2304
configure:1.317->1.318
configure.ac:1.16->1.17
Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.2303 kaffe/ChangeLog:1.2304
--- kaffe/ChangeLog:1.2303 Fri May 14 18:47:59 2004
+++ kaffe/ChangeLog Sat May 15 12:55:53 2004
@@ -1,3 +1,11 @@
+2004-05-15 Dalibor Topic <robilad at kaffe.org>
+
+ * configure.ac: Added 'checking' messages for debugging, bcel and
+ jvmpi. Improved JVMPI checking to use AC_ARG_ENABLE's features to
+ handle given and not given arguments.
+
+ * configure: Regenerated.
+
2004-05-14 Guilhem Lavaux <guilhem at kaffe.org>
* libraries/javalib/java/text/DecimalFormat.java
Index: kaffe/configure
diff -u kaffe/configure:1.317 kaffe/configure:1.318
--- kaffe/configure:1.317 Fri May 14 18:48:01 2004
+++ kaffe/configure Sat May 15 12:55:54 2004
@@ -26234,6 +26234,7 @@
ENGINE_NAME="$with_engine"
+
engine_frag=$srcdir/kaffe/kaffevm/$with_engine/Makefile.frag
@@ -26243,11 +26244,17 @@
fi;
+echo "$as_me:$LINENO: checking whether to enable run-time debugging machinery" >&5
+echo $ECHO_N "checking whether to enable run-time debugging machinery... $ECHO_C" >&6
+
case "$enable_debug" in
no) CPPFLAGS="$CPPFLAGS -DNDEBUG";;
*) CPPFLAGS="$CPPFLAGS -DKAFFE_VMDEBUG";;
esac
+echo "$as_me:$LINENO: result: $enable_debug" >&5
+echo "${ECHO_T}$enable_debug" >&6
+
# Check whether --with-bcel or --without-bcel was given.
@@ -26258,6 +26265,9 @@
BCEL_JAR=""
fi;
+echo "$as_me:$LINENO: checking whether to use BCEL for additional regression tests" >&5
+echo $ECHO_N "checking whether to use BCEL for additional regression tests... $ECHO_C" >&6
+
@@ -26270,13 +26280,14 @@
fi
+echo "$as_me:$LINENO: result: $with_bcel" >&5
+echo "${ECHO_T}$with_bcel" >&6
+
# Check whether --enable-jvmpi or --disable-jvmpi was given.
if test "${enable_jvmpi+set}" = set; then
enableval="$enable_jvmpi"
-fi;
-
case "$enable_jvmpi" in
no) ;;
*) if test "x$NOSIGCONTEXT" = "xtrue"; then
@@ -26290,6 +26301,13 @@
fi;;
esac
+else
+ enable_jvmpi="no"
+fi;
+
+echo "$as_me:$LINENO: checking whether to enable JVMPI support" >&5
+echo $ECHO_N "checking whether to enable JVMPI support... $ECHO_C" >&6
+
if test x"$enable_jvmpi" != x"no"; then
@@ -26300,6 +26318,9 @@
ENABLE_JVMPI_FALSE=
fi
+
+echo "$as_me:$LINENO: result: $enable_jvmpi" >&5
+echo "${ECHO_T}$enable_jvmpi" >&6
Index: kaffe/configure.ac
diff -u kaffe/configure.ac:1.16 kaffe/configure.ac:1.17
--- kaffe/configure.ac:1.16 Fri May 14 18:48:03 2004
+++ kaffe/configure.ac Sat May 15 12:55:59 2004
@@ -409,7 +409,7 @@
ENGINE_NAME="$with_engine"
AC_SUBST(ENGINE_NAME)
-AC_SUBST_FILE(engine_frag)dnl
+AC_SUBST_FILE(engine_frag)
engine_frag=$srcdir/kaffe/kaffevm/$with_engine/Makefile.frag
dnl =========================================================================
@@ -420,11 +420,15 @@
AS_HELP_STRING([--enable-debug],
[Enable run-time debugging machinery @<:@default=yes@:>@]))
+AC_MSG_CHECKING([whether to enable run-time debugging machinery])
+
case "$enable_debug" in
no) CPPFLAGS="$CPPFLAGS -DNDEBUG";;
*) CPPFLAGS="$CPPFLAGS -DKAFFE_VMDEBUG";;
esac
+AC_MSG_RESULT($enable_debug)
+
dnl =========================================================================
dnl Allow user to specify a bcel.jar file for class file testing.
dnl -------------------------------------------------------------------------
@@ -435,17 +439,21 @@
[ BCEL_JAR="$withval" ],
[ BCEL_JAR="" ])
+AC_MSG_CHECKING([whether to use BCEL for additional regression tests])
+
AC_SUBST(BCEL_JAR)
AM_CONDITIONAL(HAVE_BCEL, test x"$BCEL_JAR" != x"")
+AC_MSG_RESULT($with_bcel)
+
dnl =========================================================================
dnl Allow activation of jvmpi
dnl -------------------------------------------------------------------------
AC_ARG_ENABLE([jvmpi],
AS_HELP_STRING([--enable-jvmpi],
- [Enable JVMPI @<:@default=no@:>@]))
-
+ [Enable JVMPI @<:@default=no@:>@]),
+[
case "$enable_jvmpi" in
no) ;;
*) if test "x$NOSIGCONTEXT" = "xtrue"; then
@@ -454,8 +462,14 @@
AC_DEFINE(ENABLE_JVMPI, 1, [JVM Profiling Interface])
fi;;
esac
+],
+ [enable_jvmpi="no"])
+
+AC_MSG_CHECKING([whether to enable JVMPI support])
AM_CONDITIONAL(ENABLE_JVMPI, test x"$enable_jvmpi" != x"no")
+
+AC_MSG_RESULT($enable_jvmpi)
dnl =========================================================================
dnl Allow user to specify a dnsjava.jar file for class file testing.
More information about the kaffe
mailing list