IcedTea/PR585
[cacao.git] / m4 / jni.m4
index 903ec44ac3314609b24ceebc4e6dfc9e8c5d4803..e5399555c50e2ad26ad4d499135026bac248f9a0 100644 (file)
--- a/m4/jni.m4
+++ b/m4/jni.m4
@@ -1,9 +1,7 @@
 dnl m4/jni.m4
 dnl
-dnl Copyright (C) 2007 R. Grafl, A. Krall, C. Kruegel,
-dnl C. Oates, R. Obermaisser, M. Platter, M. Probst, S. Ring,
-dnl E. Steiner, C. Thalinger, D. Thuernbeck, P. Tomsich, C. Ullrich,
-dnl J. Wenninger, Institut f. Computersprachen - TU Wien
+dnl Copyright (C) 2007, 2008
+dnl CACAOVM - Verein zur Foerderung der freien virtuellen Maschine CACAO
 dnl 
 dnl This file is part of CACAO.
 dnl 
@@ -21,8 +19,6 @@ dnl You should have received a copy of the GNU General Public License
 dnl along with this program; if not, write to the Free Software
 dnl Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
 dnl 02110-1301, USA.
-dnl 
-dnl $Id: configure.ac 7228 2007-01-19 01:13:48Z edwin $
 
 
 dnl check if JNI should be enabled
@@ -30,7 +26,7 @@ dnl check if JNI should be enabled
 AC_DEFUN([AC_CHECK_ENABLE_JNI],[
 AC_MSG_CHECKING(whether JNI should be enabled)
 AC_ARG_ENABLE([jni],
-              [AS_HELP_STRING(--enable-jni,enable JNI [[default=yes]])],
+              [AS_HELP_STRING(--enable-jni,enable JNI [[default=(cldc1.1:no,javase:yes)]])],
               [case "${enableval}" in
                   yes)
                       ENABLE_JNI=yes
@@ -44,6 +40,7 @@ AC_ARG_ENABLE([jni],
                esac],
               [AC_CHECK_ENABLE_JNI_DEFAULT])
 AC_MSG_RESULT(${ENABLE_JNI})
+AM_CONDITIONAL([ENABLE_JNI], test x"${ENABLE_JNI}" = "xyes")
 
 if test x"${ENABLE_JNI}" = "xyes"; then
     AC_DEFINE([ENABLE_JNI], 1, [enable JNI])