[Libreoffice-commits] .: configure.in

Stephan Bergmann sbergmann at kemper.freedesktop.org
Mon Apr 2 23:58:29 PDT 2012


 configure.in |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

New commits:
commit 844b4520a9f0879d7b756654cef8fdbaa03a9000
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Apr 3 08:58:05 2012 +0200

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

diff --git a/configure.in b/configure.in
index 067fa4f..2158d03 100644
--- a/configure.in
+++ b/configure.in
@@ -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])


More information about the Libreoffice-commits mailing list