Browse Source

[build] Tweak JNI macro to warn instead of error for JNI not found.

master
Karl-Johan Alm 6 years ago
parent
commit
e7daa9b3c2
No known key found for this signature in database
GPG Key ID: 57AF762DB3353322
  1. 2
      build-aux/m4/ax_jni_include_dir.m4

2
build-aux/m4/ax_jni_include_dir.m4

@ -59,7 +59,7 @@ else @@ -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:/[[^/]]*$::'`

Loading…
Cancel
Save