Kaydet (Commit) d365f363 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

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: 's avatarStephan Bergmann <sbergman@redhat.com>
üst 57de1a3c
...@@ -7203,8 +7203,8 @@ dnl Checks for javac ...@@ -7203,8 +7203,8 @@ dnl Checks for javac
dnl =================================================================== dnl ===================================================================
if test "$ENABLE_JAVA" != ""; then if test "$ENABLE_JAVA" != ""; then
javacompiler="javac" javacompiler="javac"
JAVA_SOURCE_VER="1.6" : ${JAVA_SOURCE_VER=1.6}
JAVA_TARGET_VER="1.6" : ${JAVA_TARGET_VER=1.6}
if test -z "$with_jdk_home"; then if test -z "$with_jdk_home"; then
AC_PATH_PROG(JAVACOMPILER, $javacompiler) AC_PATH_PROG(JAVACOMPILER, $javacompiler)
else else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment