changeset in /hg/icedtea: * Merged cacao branch.

Christian Thalinger twisti at complang.tuwien.ac.at
Thu May 29 14:12:36 PDT 2008


changeset 162a0882c704 in /hg/icedtea
details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=162a0882c704
description:
	* Merged cacao branch.

diffstat:

8 files changed, 236 insertions(+), 103 deletions(-)
Makefile.am                 |   38 +++++++++-
Makefile.in                 |  149 +++++++++++++++++++++----------------------
README                      |    8 ++
acinclude.m4                |   26 +++++++
aclocal.m4                  |   48 +++++++------
configure                   |   56 +++++++++++++++-
configure.ac                |    1 
patches/icedtea-cacao.patch |   13 +++

diffs (truncated from 708 to 500 lines):

diff -r d7f8439ac6db -r 162a0882c704 Makefile.am
--- a/Makefile.am	Mon Mar 17 08:48:42 2008 -0400
+++ b/Makefile.am	Mon Mar 17 16:06:17 2008 +0100
@@ -40,7 +40,8 @@ install:
 
 EXTRA_DIST = rt generated $(ICEDTEA_PATCHES) $(ICEDTEA_ECJ_PATCH) \
 	gcjwebplugin.cc patches/icedtea-speed.patch tools-copy contrib ports \
-	patches/icedtea-gcc-4.3.patch extra $(ZERO_PATCHES)
+	patches/icedtea-gcc-4.3.patch extra $(ZERO_PATCHES) \
+	patches/icedtea-cacao.patch
 
 # The Binary plugs directory is called jdk1.7.0 for historical reasons. The
 # name is completely irrelevant; only contains the plugs to build IcedTea.
@@ -97,6 +98,11 @@ ICEDTEA_ENV = \
 	"LIBFFI_LIBS=$(LIBFFI_LIBS)" \
 	"FREETYPE2_HEADERS=$(FREETYPE2_CFLAGS)" \
 	"FT2_LIB=$(FREETYPE2_LIBS)"
+
+if WITH_CACAO
+ICEDTEA_ENV += \
+	"ALT_HOTSPOT_IMPORT_PATH=$(CACAO)"
+endif
 
 env:
 	@echo 'unset JAVA_HOME'
@@ -142,6 +148,11 @@ ICEDTEA_ENV_ECJ = \
 	"LIBFFI_LIBS=$(LIBFFI_LIBS)" \
 	"FREETYPE2_HEADERS=$(FREETYPE2_CFLAGS)" \
 	"FT2_LIB=$(FREETYPE2_LIBS)"
+
+if WITH_CACAO
+ICEDTEA_ENV_ECJ += \
+	"ALT_HOTSPOT_IMPORT_PATH=$(CACAO)"
+endif
 
 env-ecj:
 	@echo 'unset JAVA_HOME'
@@ -266,6 +277,11 @@ ICEDTEA_PATCHES = \
 	$(FAST_BUILD_PATCH) \
 	$(DISTRIBUTION_PATCHES)
 
+if WITH_CACAO
+ICEDTEA_PATCHES += \
+	patches/icedtea-cacao.patch
+endif
+
 stamps/extract.stamp: stamps/download.stamp
 	if ! test -d openjdk ; \
 	then \
@@ -490,9 +506,21 @@ clean-bootstrap-directory-symlink-ecj:
 # ===============
 
 if WITH_ICEDTEA
+if WITH_CACAO
+  MEMORY_LIMIT = -J-Xmx1024m
+else
   MEMORY_LIMIT = -J-Xmx512m
+endif
 else
   MEMORY_LIMIT =
+endif
+
+if WITH_CACAO
+  ICEDTEA_BUILD_TARGET=j2se_only
+  ICEDTEA_DEBUG_BUILD_TARGET=j2se_fastdebug_only
+else
+  ICEDTEA_BUILD_TARGET=
+  ICEDTEA_DEBUG_BUILD_TARGET=debug_build
 endif
 
 # If you change anything here in the icedtea target, please make sure
@@ -503,7 +531,8 @@ icedtea: stamps/bootstrap-directory-syml
 	extra-lib/about.jar
 	$(MAKE) \
 	  $(ICEDTEA_ENV) \
-	  -C openjdk/control/make/
+	  -C openjdk/control/make/ \
+	  $(ICEDTEA_BUILD_TARGET)
 	if test "$(ENABLE_PLUGIN)" == "yes" ; \
 	  then \
 	  cp -pPRf gcjwebplugin.so \
@@ -526,7 +555,7 @@ icedtea-debug: stamps/bootstrap-director
 	$(MAKE) \
 	  $(ICEDTEA_ENV) \
 	  -C openjdk/control/make \
-	  debug_build
+	  $(ICEDTEA_DEBUG_BUILD_TARGET)
 	if test "$(ENABLE_PLUGIN)" == "yes" ; \
 	  then \
 	  cp -pPRf gcjwebplugin.so \
@@ -559,7 +588,8 @@ stamps/icedtea-ecj.stamp: stamps/hotspot
 	stamps/ports-ecj.stamp stamps/patch-ecj.stamp
 	$(MAKE) \
 	  $(ICEDTEA_ENV_ECJ) \
-	  -C openjdk-ecj/control/make
+	  -C openjdk-ecj/control/make \
+	  $(ICEDTEA_BUILD_TARGET)
 	@echo "ecj-poured IcedTea is served:" \
 	  openjdk-ecj/control/build/$(LINUX_DIR)
 	mkdir -p stamps
diff -r d7f8439ac6db -r 162a0882c704 Makefile.in
--- a/Makefile.in	Mon Mar 17 08:48:42 2008 -0400
+++ b/Makefile.in	Mon Mar 17 16:06:17 2008 +0100
@@ -1,8 +1,8 @@
-# Makefile.in generated by automake 1.10 from Makefile.am.
+# Makefile.in generated by automake 1.10.1 from Makefile.am.
 # @configure_input@
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
+# 2003, 2004, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
 # This Makefile.in is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
@@ -31,6 +31,15 @@ POST_UNINSTALL = :
 POST_UNINSTALL = :
 build_triplet = @build@
 host_triplet = @host@
+ at WITH_CACAO_TRUE@am__append_1 = \
+ at WITH_CACAO_TRUE@	"ALT_HOTSPOT_IMPORT_PATH=$(CACAO)"
+
+ at WITH_CACAO_TRUE@am__append_2 = \
+ at WITH_CACAO_TRUE@	"ALT_HOTSPOT_IMPORT_PATH=$(CACAO)"
+
+ at WITH_CACAO_TRUE@am__append_3 = \
+ at WITH_CACAO_TRUE@	patches/icedtea-cacao.patch
+
 subdir = .
 DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
 	$(srcdir)/Makefile.in $(srcdir)/javac.in $(srcdir)/javap.in \
@@ -69,6 +78,7 @@ AUTOMAKE = @AUTOMAKE@
 AUTOMAKE = @AUTOMAKE@
 AWK = @AWK@
 BUILD_ARCH_DIR = @BUILD_ARCH_DIR@
+CACAO = @CACAO@
 CC = @CC@
 CCDEPMODE = @CCDEPMODE@
 CFLAGS = @CFLAGS@
@@ -225,7 +235,8 @@ OPENJDK_VERSION = b06
 @NETX_PLUGIN_TRUE at NETX_PATCH = patches/icedtea-netx-plugin.patch
 EXTRA_DIST = rt generated $(ICEDTEA_PATCHES) $(ICEDTEA_ECJ_PATCH) \
 	gcjwebplugin.cc patches/icedtea-speed.patch tools-copy contrib ports \
-	patches/icedtea-gcc-4.3.patch extra $(ZERO_PATCHES)
+	patches/icedtea-gcc-4.3.patch extra $(ZERO_PATCHES) \
+	patches/icedtea-cacao.patch
 
 
 # The Binary plugs directory is called jdk1.7.0 for historical reasons. The
@@ -253,24 +264,19 @@ ICEDTEA_ENDORSED_DIR = \
 @CORE_BUILD_TRUE at ICEDTEA_CORE_BUILD = yes
 @ZERO_BUILD_FALSE at ICEDTEA_ZERO_BUILD = 
 @ZERO_BUILD_TRUE at ICEDTEA_ZERO_BUILD = yes
-ICEDTEA_ENV = \
-	"ALT_JDK_IMPORT_PATH=$(ICEDTEA_BOOT_DIR)" \
-	"ANT_HOME=$(SYSTEM_ANT_DIR)" \
-        "BUILD_NUMBER=$(OPENJDK_VERSION)" \
-        "JRE_RELEASE_VERSION=1.6.0-$(OPENJDK_VERSION)" \
-        "HOTSPOT_RELEASE_VERSION=1.6.0-$(OPENJDK_VERSION)" \
-	"LANG=C" \
+ICEDTEA_ENV = "ALT_JDK_IMPORT_PATH=$(ICEDTEA_BOOT_DIR)" \
+	"ANT_HOME=$(SYSTEM_ANT_DIR)" "BUILD_NUMBER=$(OPENJDK_VERSION)" \
+	"JRE_RELEASE_VERSION=1.6.0-$(OPENJDK_VERSION)" \
+	"HOTSPOT_RELEASE_VERSION=1.6.0-$(OPENJDK_VERSION)" "LANG=C" \
 	"PATH=/usr/bin:/bin:/usr/sbin:/sbin" \
 	"ALT_BOOTDIR=$(ICEDTEA_BOOT_DIR)" \
 	"ALT_BINARY_PLUGS_PATH=$(abs_top_srcdir)/bootstrap/jdk1.7.0" \
-	"BUILD_ARCH_DIR=$(BUILD_ARCH_DIR)" \
-	"ICEDTEA_RT=$(ICEDTEA_RT)" \
+	"BUILD_ARCH_DIR=$(BUILD_ARCH_DIR)" "ICEDTEA_RT=$(ICEDTEA_RT)" \
 	"ICEDTEA_BUILD_DIR=$(ICEDTEA_BUILD_DIR)" \
 	"ICEDTEA_CLS_DIR=$(ICEDTEA_CLS_DIR)" \
 	"ICEDTEA_ENDORSED_DIR=$(ICEDTEA_ENDORSED_DIR)" \
 	"ENDORSED=-Djava.endorsed.dirs=$(ICEDTEA_ENDORSED_DIR)" \
-	"CLASSPATH=" \
-	"LD_LIBRARY_PATH=" \
+	"CLASSPATH=" "LD_LIBRARY_PATH=" \
 	"ICEDTEA_CORE_BUILD=$(ICEDTEA_CORE_BUILD)" \
 	"ICEDTEA_ZERO_BUILD=$(ICEDTEA_ZERO_BUILD)" \
 	"ZERO_LIBARCH=$(ZERO_LIBARCH)" \
@@ -278,11 +284,9 @@ ICEDTEA_ENV = \
 	"ZERO_ENDIANNESS=$(ZERO_ENDIANNESS)" \
 	"ZERO_ARCHDEF=$(ZERO_ARCHDEF)" \
 	"ZERO_ARCHFLAG=$(ZERO_ARCHFLAG)" \
-	"LIBFFI_CFLAGS=$(LIBFFI_CFLAGS)" \
-	"LIBFFI_LIBS=$(LIBFFI_LIBS)" \
+	"LIBFFI_CFLAGS=$(LIBFFI_CFLAGS)" "LIBFFI_LIBS=$(LIBFFI_LIBS)" \
 	"FREETYPE2_HEADERS=$(FREETYPE2_CFLAGS)" \
-	"FT2_LIB=$(FREETYPE2_LIBS)"
-
+	"FT2_LIB=$(FREETYPE2_LIBS)" $(am__append_1)
 
 # OpenJDK ecj build environment.
 ICEDTEA_BUILD_DIR_ECJ = \
@@ -291,29 +295,24 @@ ICEDTEA_CLS_DIR_ECJ = \
 ICEDTEA_CLS_DIR_ECJ = \
 	$(abs_top_srcdir)/openjdk-ecj/control/build/$(LINUX_DIR)/classes
 
-ICEDTEA_ENV_ECJ = \
-	"ALT_JDK_IMPORT_PATH=$(ICEDTEA_BOOT_DIR)" \
-	"ANT_HOME=$(SYSTEM_ANT_DIR)" \
-	"BUILD_NUMBER=$(OPENJDK_VERSION)" \
-        "JRE_RELEASE_VERSION=1.6.0-$(OPENJDK_VERSION)" \
-        "HOTSPOT_RELEASE_VERSION=1.6.0-$(OPENJDK_VERSION)" \
-	"LANG=C" \
+ICEDTEA_ENV_ECJ = "ALT_JDK_IMPORT_PATH=$(ICEDTEA_BOOT_DIR)" \
+	"ANT_HOME=$(SYSTEM_ANT_DIR)" "BUILD_NUMBER=$(OPENJDK_VERSION)" \
+	"JRE_RELEASE_VERSION=1.6.0-$(OPENJDK_VERSION)" \
+	"HOTSPOT_RELEASE_VERSION=1.6.0-$(OPENJDK_VERSION)" "LANG=C" \
 	"PATH=/usr/bin:/bin:/usr/sbin:/sbin" \
 	"ALT_BOOTDIR=$(ICEDTEA_BOOT_DIR)" \
 	"ALT_BINARY_PLUGS_PATH=$(abs_top_srcdir)/bootstrap/jdk1.7.0" \
-	"BUILD_ARCH_DIR=$(BUILD_ARCH_DIR)" \
-	"LIBGCJ_JAR=$(LIBGCJ_JAR)" \
+	"BUILD_ARCH_DIR=$(BUILD_ARCH_DIR)" "LIBGCJ_JAR=$(LIBGCJ_JAR)" \
 	"ICEDTEA_RT=$(ICEDTEA_RT)" \
 	"ICEDTEA_BUILD_DIR=$(ICEDTEA_BUILD_DIR_ECJ)" \
 	"ICEDTEA_CLS_DIR=$(ICEDTEA_CLS_DIR_ECJ)" \
 	"ICEDTEA_ENDORSED_DIR=$(ICEDTEA_ENDORSED_DIR)" \
 	"ENDORSED=-Djava.endorsed.dirs=$(ICEDTEA_ENDORSED_DIR)" \
 	"BOOTCLASSPATH_CLS_RT=-bootclasspath \
-	  $(ICEDTEA_CLS_DIR_ECJ):$(ICEDTEA_RT)" \
+	$(ICEDTEA_CLS_DIR_ECJ):$(ICEDTEA_RT)" \
 	"BOOTCLASSPATH_CLS=-bootclasspath $(ICEDTEA_CLS_DIR_ECJ)" \
-	"BOOTCLASSPATH_RT_LIBGCJ=-bootclasspath $(ICEDTEA_RT):$(LIBGCJ_JAR)" \
-	"CLASSPATH=" \
-	"LD_LIBRARY_PATH=" \
+	"BOOTCLASSPATH_RT_LIBGCJ=-bootclasspath \
+	$(ICEDTEA_RT):$(LIBGCJ_JAR)" "CLASSPATH=" "LD_LIBRARY_PATH=" \
 	"GENSRCDIR=$(abs_top_srcdir)/generated" \
 	"ICEDTEA_CORE_BUILD=$(ICEDTEA_CORE_BUILD)" \
 	"ICEDTEA_ZERO_BUILD=$(ICEDTEA_ZERO_BUILD)" \
@@ -322,11 +321,9 @@ ICEDTEA_ENV_ECJ = \
 	"ZERO_ENDIANNESS=$(ZERO_ENDIANNESS)" \
 	"ZERO_ARCHDEF=$(ZERO_ARCHDEF)" \
 	"ZERO_ARCHFLAG=$(ZERO_ARCHFLAG)" \
-	"LIBFFI_CFLAGS=$(LIBFFI_CFLAGS)" \
-	"LIBFFI_LIBS=$(LIBFFI_LIBS)" \
+	"LIBFFI_CFLAGS=$(LIBFFI_CFLAGS)" "LIBFFI_LIBS=$(LIBFFI_LIBS)" \
 	"FREETYPE2_HEADERS=$(FREETYPE2_CFLAGS)" \
-	"FT2_LIB=$(FREETYPE2_LIBS)"
-
+	"FT2_LIB=$(FREETYPE2_LIBS)" $(am__append_2)
 
 # OpenJDK Source Preparation Targets
 # ==================================
@@ -358,33 +355,24 @@ ZERO_PATCHES = \
 
 @ZERO_BUILD_FALSE at ZERO_PATCHES_COND = 
 @ZERO_BUILD_TRUE at ZERO_PATCHES_COND = $(ZERO_PATCHES)
-ICEDTEA_PATCHES = \
-	$(ZERO_PATCHES_COND) \
-	patches/icedtea-copy-plugs.patch \
-	patches/icedtea-version.patch \
+ICEDTEA_PATCHES = $(ZERO_PATCHES_COND) \
+	patches/icedtea-copy-plugs.patch patches/icedtea-version.patch \
 	patches/icedtea-text-relocations.patch \
-	patches/icedtea-graphics.patch \
-	patches/icedtea-debuginfo.patch \
+	patches/icedtea-graphics.patch patches/icedtea-debuginfo.patch \
 	patches/icedtea-ssl.patch \
 	patches/icedtea-license-headers.patch \
-	patches/icedtea-webservices.patch \
-	$(NETX_PATCH) \
-	patches/icedtea-rmi_amd64.patch \
-	patches/icedtea-tools.patch \
-	patches/icedtea-certbundle.patch \
-	patches/icedtea-demos.patch \
+	patches/icedtea-webservices.patch $(NETX_PATCH) \
+	patches/icedtea-rmi_amd64.patch patches/icedtea-tools.patch \
+	patches/icedtea-certbundle.patch patches/icedtea-demos.patch \
 	patches/icedtea-use-system-tzdata.patch \
-	patches/icedtea-headers.patch \
-	patches/icedtea-ant.patch \
+	patches/icedtea-headers.patch patches/icedtea-ant.patch \
 	patches/icedtea-gcc-suffix.patch \
 	patches/icedtea-bytebuffer-compact.patch \
 	patches/icedtea-float-double-trailing-zeros.patch \
 	patches/icedtea-gtkplaf.patch \
 	patches/icedtea-memory-limits.patch \
-	patches/icedtea-sunsrc.patch \
-	patches/icedtea-libraries.patch \
-	patches/icedtea-javafiles.patch \
-	patches/icedtea-corba.patch \
+	patches/icedtea-sunsrc.patch patches/icedtea-libraries.patch \
+	patches/icedtea-javafiles.patch patches/icedtea-corba.patch \
 	patches/icedtea-core-build.patch \
 	patches/icedtea-linker-options.patch \
 	patches/icedtea-ports.patch \
@@ -392,14 +380,10 @@ ICEDTEA_PATCHES = \
 	patches/icedtea-lcms-leak.patch \
 	patches/icedtea-timerqueue.patch \
 	patches/icedtea-lesstif-64.patch \
-	patches/icedtea-generated.patch \
-	patches/icedtea-lib64.patch \
+	patches/icedtea-generated.patch patches/icedtea-lib64.patch \
 	patches/icedtea-zero-build.patch \
-	patches/icedtea-print-lsb-release.patch \
-	$(GCC_PATCH) \
-	$(FAST_BUILD_PATCH) \
-	$(DISTRIBUTION_PATCHES)
-
+	patches/icedtea-print-lsb-release.patch $(GCC_PATCH) \
+	$(FAST_BUILD_PATCH) $(DISTRIBUTION_PATCHES) $(am__append_3)
 
 # Patch OpenJDK for plug replacements and ecj.
 ICEDTEA_ECJ_PATCH = patches/icedtea-ecj.patch
@@ -409,11 +393,16 @@ ICEDTEA_ECJ_PATCH = patches/icedtea-ecj.
 @WITH_ICEDTEA_FALSE@@WITH_OPENJDK_FALSE at ICEDTEA_HOME = icedtea
 @WITH_ICEDTEA_TRUE@@WITH_OPENJDK_FALSE at ICEDTEA_HOME = $(SYSTEM_ICEDTEA_DIR)
 @WITH_OPENJDK_TRUE at ICEDTEA_HOME = $(SYSTEM_OPENJDK_DIR)
- at WITH_ICEDTEA_FALSE@MEMORY_LIMIT = 
+ at WITH_CACAO_FALSE@@WITH_ICEDTEA_TRUE at MEMORY_LIMIT = -J-Xmx512m
 
 # OpenJDK Targets
 # ===============
- at WITH_ICEDTEA_TRUE@MEMORY_LIMIT = -J-Xmx512m
+ at WITH_CACAO_TRUE@@WITH_ICEDTEA_TRUE at MEMORY_LIMIT = -J-Xmx1024m
+ at WITH_ICEDTEA_FALSE@MEMORY_LIMIT = 
+ at WITH_CACAO_FALSE@ICEDTEA_BUILD_TARGET = 
+ at WITH_CACAO_TRUE@ICEDTEA_BUILD_TARGET = j2se_only
+ at WITH_CACAO_FALSE@ICEDTEA_DEBUG_BUILD_TARGET = debug_build
+ at WITH_CACAO_TRUE@ICEDTEA_DEBUG_BUILD_TARGET = j2se_fastdebug_only
 
 # Shared objects.
 SHARED_OBJECT_FILES = \
@@ -535,6 +524,10 @@ dist-bzip2: distdir
 	tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
 	$(am__remove_distdir)
 
+dist-lzma: distdir
+	tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
+	$(am__remove_distdir)
+
 dist-tarZ: distdir
 	tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
 	$(am__remove_distdir)
@@ -561,6 +554,8 @@ distcheck: dist
 	  GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
 	*.tar.bz2*) \
 	  bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
+	*.tar.lzma*) \
+	  unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\
 	*.tar.Z*) \
 	  uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
 	*.shar.gz*) \
@@ -704,17 +699,17 @@ uninstall-am:
 .MAKE: install-am install-strip
 
 .PHONY: all all-am all-local am--refresh check check-am clean \
-	clean-generic dist dist-all dist-bzip2 dist-gzip dist-shar \
-	dist-tarZ dist-zip distcheck distclean distclean-generic \
-	distclean-local distcleancheck distdir distuninstallcheck dvi \
-	dvi-am html html-am info info-am install install-am \
-	install-data install-data-am install-dvi install-dvi-am \
-	install-exec install-exec-am install-html install-html-am \
-	install-info install-info-am install-man install-pdf \
-	install-pdf-am install-ps install-ps-am install-strip \
-	installcheck installcheck-am installdirs maintainer-clean \
-	maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
-	pdf-am ps ps-am uninstall uninstall-am
+	clean-generic dist dist-all dist-bzip2 dist-gzip dist-lzma \
+	dist-shar dist-tarZ dist-zip distcheck distclean \
+	distclean-generic distclean-local distcleancheck distdir \
+	distuninstallcheck dvi dvi-am html html-am info info-am \
+	install install-am install-data install-data-am install-dvi \
+	install-dvi-am install-exec install-exec-am install-html \
+	install-html-am install-info install-info-am install-man \
+	install-pdf install-pdf-am install-ps install-ps-am \
+	install-strip installcheck installcheck-am installdirs \
+	maintainer-clean maintainer-clean-generic mostlyclean \
+	mostlyclean-generic pdf pdf-am ps ps-am uninstall uninstall-am
 
 
 # Top-Level Targets
@@ -998,7 +993,8 @@ icedtea: stamps/bootstrap-directory-syml
 	extra-lib/about.jar
 	$(MAKE) \
 	  $(ICEDTEA_ENV) \
-	  -C openjdk/control/make/
+	  -C openjdk/control/make/ \
+	  $(ICEDTEA_BUILD_TARGET)
 	if test "$(ENABLE_PLUGIN)" == "yes" ; \
 	  then \
 	  cp -pPRf gcjwebplugin.so \
@@ -1021,7 +1017,7 @@ icedtea-debug: stamps/bootstrap-director
 	$(MAKE) \
 	  $(ICEDTEA_ENV) \
 	  -C openjdk/control/make \
-	  debug_build
+	  $(ICEDTEA_DEBUG_BUILD_TARGET)
 	if test "$(ENABLE_PLUGIN)" == "yes" ; \
 	  then \
 	  cp -pPRf gcjwebplugin.so \
@@ -1054,7 +1050,8 @@ stamps/icedtea-ecj.stamp: stamps/hotspot
 	stamps/ports-ecj.stamp stamps/patch-ecj.stamp
 	$(MAKE) \
 	  $(ICEDTEA_ENV_ECJ) \
-	  -C openjdk-ecj/control/make
+	  -C openjdk-ecj/control/make \
+	  $(ICEDTEA_BUILD_TARGET)
 	@echo "ecj-poured IcedTea is served:" \
 	  openjdk-ecj/control/build/$(LINUX_DIR)
 	mkdir -p stamps
diff -r d7f8439ac6db -r 162a0882c704 README
--- a/README	Mon Mar 17 08:48:42 2008 -0400
+++ b/README	Mon Mar 17 16:06:17 2008 +0100
@@ -124,3 +124,11 @@ certificate storing, system certificate 
 certificate storing, system certificate store checking, and provides
 some services specified by the jnlp API.
 
+CACAO as VM
+===========
+
+The --with-cacao configure option replaces the libjvm.so from Sun's
+HotSpot with the one from the CACAO VM.  This enables the usage of
+IcedTea on architectures which are not supported by the HotSpot VM,
+besides the HotSpot zero port.  In contrast to the HotSpot zero port,
+CACAO provides a Just-In-Time compiler for various architectures.
diff -r d7f8439ac6db -r 162a0882c704 acinclude.m4
--- a/acinclude.m4	Mon Mar 17 08:48:42 2008 -0400
+++ b/acinclude.m4	Mon Mar 17 16:06:17 2008 +0100
@@ -607,3 +607,29 @@ AC_DEFUN([ENABLE_NETX_PLUGIN],
   ])
 ])
 
+AC_DEFUN([AC_CHECK_WITH_CACAO],
+[
+  AC_MSG_CHECKING(whether to use CACAO as VM)
+  AC_ARG_WITH([cacao],
+	      [AS_HELP_STRING(--with-cacao,use CACAO as VM)],
+  [
+    case "${withval}" in
+      yes)
+        CACAO=/usr/local/cacao
+        ;;
+      no)
+        CACAO=no
+        ;;
+      *)
+      CACAO=${withval}
+        ;;
+    esac
+  ],
+  [
+    CACAO=no
+  ])
+
+  AC_MSG_RESULT(${CACAO})
+  AM_CONDITIONAL(WITH_CACAO, test x"${CACAO}" != "xno")
+  AC_SUBST(CACAO)
+])
diff -r d7f8439ac6db -r 162a0882c704 aclocal.m4
--- a/aclocal.m4	Mon Mar 17 08:48:42 2008 -0400
+++ b/aclocal.m4	Mon Mar 17 16:06:17 2008 +0100
@@ -1,7 +1,7 @@
-# generated automatically by aclocal 1.10 -*- Autoconf -*-
+# generated automatically by aclocal 1.10.1 -*- Autoconf -*-
 
 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
-# 2005, 2006  Free Software Foundation, Inc.
+# 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
@@ -11,10 +11,13 @@
 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
 # PARTICULAR PURPOSE.
 
-m4_if(m4_PACKAGE_VERSION, [2.61],,
-[m4_fatal([this file was generated for autoconf 2.61.
-You have another version of autoconf.  If you want to use that,
-you should regenerate the build system entirely.], [63])])
+m4_ifndef([AC_AUTOCONF_VERSION],
+  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
+m4_if(AC_AUTOCONF_VERSION, [2.61],,
+[m4_warning([this file was generated for autoconf 2.61.
+You have another version of autoconf.  It may work, but is not guaranteed to.
+If you have problems, you may need to regenerate the build system entirely.
+To do so, use the procedure documented by the package, typically `autoreconf'.])])
 
 # pkg.m4 - Macros to locate and utilise pkg-config.            -*- Autoconf -*-
 # 
@@ -174,7 +177,7 @@ fi[]dnl
 fi[]dnl
 ])# PKG_CHECK_MODULES
 
-# Copyright (C) 2002, 2003, 2005, 2006  Free Software Foundation, Inc.
+# Copyright (C) 2002, 2003, 2005, 2006, 2007  Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
@@ -189,7 +192,7 @@ AC_DEFUN([AM_AUTOMAKE_VERSION],
 [am__api_version='1.10'
 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
 dnl require some minimum version.  Point them to the right macro.
-m4_if([$1], [1.10], [],
+m4_if([$1], [1.10.1], [],
       [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
 ])
 



More information about the distro-pkg-dev mailing list