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

--enable-ext-languagetool requires --with-java

üst d5c5800b
......@@ -435,7 +435,7 @@ AC_ARG_ENABLE(ext-hunart,
AC_ARG_ENABLE(ext-languagetool,
AS_HELP_STRING([--enable-ext-languagetool],
[Enable the LanguageTool extension.])
[Enable the LanguageTool extension. Does not work --without-java.])
)
AC_ARG_ENABLE(ext-mysql-connector,
......@@ -9604,6 +9604,9 @@ dnl Test whether to include LanguageTool extension
dnl ===================================================================
AC_MSG_CHECKING([for LanguageTool extension integration])
if test "x$enable_ext_languagetool" = "xyes" -a "x$enable_extension_integration" != "xno"; then
if test -z "$SOLAR_JAVA"; then
AC_MSG_ERROR([--enable_ext_languagetool requires --with-java])
fi
BUILD_TYPE="$BUILD_TYPE LANGUAGETOOL"
SCPDEFS="$SCPDEFS -DWITH_EXTENSION_LANGUAGETOOL"
AC_MSG_RESULT([yes])
......
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