[Libreoffice-commits] .: configure.in

Lubos Lunak llunak at kemper.freedesktop.org
Mon Apr 23 13:31:01 PDT 2012


 configure.in |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 4645790b7312bae05a73f0e039feecbede5ff5da
Author: Luboš Luňák <l.lunak at suse.cz>
Date:   Mon Apr 23 22:30:27 2012 +0200

    fix CLucene configure check
    
    CLucene apparently does not bother with self-contained headers

diff --git a/configure.in b/configure.in
index 50e15a3..eb300c9 100644
--- a/configure.in
+++ b/configure.in
@@ -5973,7 +5973,7 @@ if test "$with_system_clucene" = "yes"; then
     dnl http://sourceforge.net/tracker/index.php?func=detail&aid=3392466&group_id=80013&atid=558446
     dnl https://bugzilla.redhat.com/show_bug.cgi?id=794795
     AC_CHECK_HEADER([CLucene/analysis/cjk/CJKAnalyzer.h], [],
-                 [AC_MSG_ERROR([Your version of libclucene has contribs-lib missing.])], [])
+                 [AC_MSG_ERROR([Your version of libclucene has contribs-lib missing.])], [#include <CLucene.h>])
     CXXFLAGS=$save_CXXFLAGS
     CPPFLAGS=$save_CPPFLAGS
     AC_LANG_POP([C++])


More information about the Libreoffice-commits mailing list