changeset 1799:a0a5d904139d

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 7409d7ed0c8b
children 9b2352187669
files ChangeLog configure.ac
diffstat 2 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Wed May 20 20:26:00 2009 +0100
+++ 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-03  Matthias Klose  <doko@ubuntu.com>
 
 	* Makefile.am (ICEDTEA_PATCHES): Apply icedtea-cacao conditionally
--- a/configure.ac	Wed May 20 20:26:00 2009 +0100
+++ b/configure.ac	Tue May 05 16:57:03 2009 +0200
@@ -580,6 +580,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.