Require java for --with-comparison-tool

This commit is contained in:
Jack Grigg 2016-03-25 16:43:28 +13:00
parent 9bab3e89a2
commit 4bc2a390c6
1 changed files with 3 additions and 0 deletions

View File

@ -323,6 +323,9 @@ case $host in
esac
if test x$use_comparison_tool != xno; then
if test x$JAVA = x; then
AC_MSG_ERROR("comparison tool set but java not found")
fi
AC_SUBST(JAVA_COMPARISON_TOOL, $use_comparison_tool)
fi