From e7daa9b3c24cff39b02f767124ae027eee233070 Mon Sep 17 00:00:00 2001 From: Karl-Johan Alm Date: Thu, 6 Jul 2017 18:06:51 +0900 Subject: [PATCH] [build] Tweak JNI macro to warn instead of error for JNI not found. --- build-aux/m4/ax_jni_include_dir.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-aux/m4/ax_jni_include_dir.m4 b/build-aux/m4/ax_jni_include_dir.m4 index 007b3a1a0bd65..cdc78d87d48b0 100644 --- a/build-aux/m4/ax_jni_include_dir.m4 +++ b/build-aux/m4/ax_jni_include_dir.m4 @@ -59,7 +59,7 @@ else fi AC_PATH_PROG([_ACJNI_JAVAC], [$JAVAC], [no]) if test "x$_ACJNI_JAVAC" = xno; then - AC_MSG_ERROR([cannot find JDK; try setting \$JAVAC or \$JAVA_HOME]) + AC_MSG_WARN([cannot find JDK; try setting \$JAVAC or \$JAVA_HOME]) fi _ACJNI_FOLLOW_SYMLINKS("$_ACJNI_JAVAC") _JTOPDIR=`echo "$_ACJNI_FOLLOWED" | sed -e 's://*:/:g' -e 's:/[[^/]]*$::'`