From d365f36331874f94bbd9832fbd19ace90fafefec Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 24 Apr 2019 09:05:09 +0200 Subject: Allow to pass JAVA_SOURCE/TARGET_VER into configure ...for those who pretend they know what they are doing (e.g., to experiment with building against Java 12 which no longer supports Java 1.6 source/target, even though that results in a build that is not baseline compatible). Change-Id: I6e8617bc5b90212473652bdfac40bb48e9623a08 Reviewed-on: https://gerrit.libreoffice.org/71218 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 567746177490..9d010de28280 100644 --- a/configure.ac +++ b/configure.ac @@ -7203,8 +7203,8 @@ dnl Checks for javac dnl =================================================================== if test "$ENABLE_JAVA" != ""; then javacompiler="javac" - JAVA_SOURCE_VER="1.6" - JAVA_TARGET_VER="1.6" + : ${JAVA_SOURCE_VER=1.6} + : ${JAVA_TARGET_VER=1.6} if test -z "$with_jdk_home"; then AC_PATH_PROG(JAVACOMPILER, $javacompiler) else -- cgit