* src/native/jni.cpp: [OPENJDK] Implemented jni_GetDirectBufferCapacity.
[cacao.git] / m4 / jre-layout.m4
index 7895e5239b0f4e34d87059e176d6f66d007d0bfe..29184d56140d06cbc2f939e2005dbc9291860cb7 100644 (file)
@@ -1,9 +1,7 @@
 dnl m4/jre-layout.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,25 +19,23 @@ 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: classpath.m4 8248 2007-07-31 12:47:11Z twisti $
 
 
 dnl if we compile for a JRE-style directory layout
 
-AC_DEFUN([AC_CHECK_WITH_JRE_LAYOUT],[
+AC_DEFUN([AC_CHECK_ENABLE_JRE_LAYOUT],[
 AC_MSG_CHECKING(if we compile for a JRE-style directory layout)
-AC_ARG_WITH([jre-layout],
-            [AS_HELP_STRING(--with-jre-layout,compile for JRE-style directory layout [[default=no]])],
-            [case "${enableval}" in
-                yes)
-                    WITH_JRE_LAYOUT=yes
-                    AC_DEFINE([WITH_JRE_LAYOUT], 1, [with JRE layout])
-                    ;;
-                *)
-                    WITH_JRE_LAYOUT=no
-                    ;;
-             esac],
-            [WITH_JRE_LAYOUT=no])
-AC_MSG_RESULT(${WITH_JRE_LAYOUT})
+AC_ARG_ENABLE([jre-layout],
+              [AS_HELP_STRING(--enable-jre-layout,compile for JRE-style directory layout [[default=disabled]])],
+              [case "${enableval}" in
+                  yes)
+                      ENABLE_JRE_LAYOUT=yes
+                      AC_DEFINE([ENABLE_JRE_LAYOUT], 1, [enable JRE layout])
+                      ;;
+                  *)
+                      ENABLE_JRE_LAYOUT=no
+                      ;;
+               esac],
+              [ENABLE_JRE_LAYOUT=no])
+AC_MSG_RESULT(${ENABLE_JRE_LAYOUT})
 ])