From: Debian LibreOffice Maintainers Date: Mon, 7 May 2018 13:47:22 +0000 (+0100) Subject: disable-java-in-odk-build-examples-on-zero-vm X-Git-Tag: archive/raspbian/1%6.0.4-1+rpi1^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=9475fb9140deee3387fa5cd80a03d5c2d2dbc21b;p=libreoffice.git disable-java-in-odk-build-examples-on-zero-vm Gbp-Pq: Name disable-java-in-odk-build-examples-on-zero-vm.diff --- diff --git a/config_host.mk.in b/config_host.mk.in index bc21158c23e..4502165881f 100644 --- a/config_host.mk.in +++ b/config_host.mk.in @@ -284,6 +284,7 @@ export JAVAFLAGS=@JAVAFLAGS@ export JAVAIFLAGS=@JAVAIFLAGS@ export JAVA_CLASSPATH_NOT_SET=@JAVA_CLASSPATH_NOT_SET@ export JAVAINTERPRETER=@JAVAINTERPRETER@ +export JAVA_HAS_ZERO_VM=@JAVA_HAS_ZERO_VM@ export JAVA_HOME=@JAVA_HOME@ export JAVA_SOURCE_VER=@JAVA_SOURCE_VER@ export JAVA_TARGET_VER=@JAVA_TARGET_VER@ diff --git a/configure.ac b/configure.ac index 90a6dea9d55..054c8a522bb 100644 Binary files a/configure.ac and b/configure.ac differ diff --git a/odk/CustomTarget_build-examples.mk b/odk/CustomTarget_build-examples.mk index f7dc1db1e30..338a3bd02c9 100644 --- a/odk/CustomTarget_build-examples.mk +++ b/odk/CustomTarget_build-examples.mk @@ -32,6 +32,7 @@ my_example_dirs = \ ifeq ($(ENABLE_JAVA),TRUE) +ifneq ($(JAVA_HAS_ZERO_VM),y) my_example_dirs += \ DevelopersGuide/BasicAndDialogs/CreatingDialogs \ DevelopersGuide/Charts \ @@ -77,6 +78,7 @@ my_example_dirs += \ java/ToDo \ endif +endif # java/ConverterServlet \ # java/EmbedDocument/Container1 \