Make autogen/configure fail if we're using plain CLucene on x86_64

This commit is contained in:
alexhudson
2007-10-05 20:48:48 +00:00
parent 1c9d457e50
commit 88f5d2eafd
+3
View File
@@ -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