Skip to content

Commit

Permalink
[build] Tweak JNI macro to warn instead of error for JNI not found.
Browse files Browse the repository at this point in the history
  • Loading branch information
kallewoof committed Jul 6, 2017
1 parent 5b22977 commit e7daa9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build-aux/m4/ax_jni_include_dir.m4
Original file line number Diff line number Diff line change
Expand Up @@ -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:/[[^/]]*$::'`
Expand Down

0 comments on commit e7daa9b

Please sign in to comment.