From 88f5d2eafd77fe6ccc4808ea14f049e6d706c296 Mon Sep 17 00:00:00 2001 From: alexhudson Date: Fri, 5 Oct 2007 20:48:48 +0000 Subject: [PATCH] Make autogen/configure fail if we're using plain CLucene on x86_64 --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index 435e565..7d27c7a 100644 --- a/configure.ac +++ b/configure.ac @@ -597,6 +597,9 @@ if test "x$CLUCENE_LIBS" = "x"; then AC_SUBST(CLUCENE_LIBS, "\$(top_srcdir)/import/clucene/src/libclucene.la") AC_SUBST(CLUCENE_CXXFLAGS, "-I\$(top_srcdir)/import/clucene/src") else + if test "x$host_cpu" = "xx86_64"; then + AC_MSG_ERROR([Compiling against CLucene system libraries on x86_64 is known to be buggy. Recommend you use --with-clucene=import/clucene]) + fi AC_MSG_RESULT(Using system CLucene) info_clucene="system" fi