changeset 1504:3fc3144c4fef

2009-05-05 Matthias Klose <doko@ubuntu.com> * configure.ac: Building --with-additional-vms=zero and srcdir != builddir doesn't work.
author doko@ubuntu.com
date Tue, 05 May 2009 16:57:03 +0200
parents be7c5293ac85
children 50da1d3efe60
files ChangeLog configure.ac
diffstat 2 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Tue May 05 13:30:07 2009 +0200
+++ b/ChangeLog	Tue May 05 16:57:03 2009 +0200
@@ -1,3 +1,8 @@
+2009-05-05  Matthias Klose  <doko@ubuntu.com>
+
+	* configure.ac: Building --with-additional-vms=zero and
+	srcdir != builddir doesn't work.
+
 2009-05-05 Xerxes RĂ„nby <xerxes@zafena.se>
 
 	* ports/hotspot/src/share/vm/shark/sharkCompiler.cpp
--- a/configure.ac	Tue May 05 13:30:07 2009 +0200
+++ b/configure.ac	Tue May 05 16:57:03 2009 +0200
@@ -540,6 +540,9 @@
 if test "x${USE_SYSTEM_CACAO_TRUE}" = x; then
   AC_MSG_ERROR([cannot build with system cacao as additional vm])
 fi
+if test "x${ADD_ZERO_BUILD_TRUE}" = x && test "x${abs_top_builddir}" = "x${abs_top_srcdir}"; then
+  AC_MSG_ERROR([build of additional zero/shark VM requires build with srcdir != builddir])
+fi
 
 if test "x${ZERO_BUILD_TRUE}" = x || test "x${ADD_ZERO_BUILD_TRUE}" = x; then
   dnl Check for libffi headers and libraries.