From 5fc26b8a59395e24655d38abd1492523aca08ef1 Mon Sep 17 00:00:00 2001
From: Timothy Pearson <kb9vqf@pearsoncomputing.net>
Date: Wed, 13 Feb 2013 23:36:13 -0600
Subject: Fix FTBFS with older lucene versions

---
 clucene.m4 | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/clucene.m4 b/clucene.m4
index e643e75..312a97a 100644
--- a/clucene.m4
+++ b/clucene.m4
@@ -48,6 +48,8 @@ if test "x$ac_cv_clucene_libdir" = "xNO"; then
   if test "x$ac_cv_clucene2_libdir" = "xNO"; then
     AC_MSG_ERROR(CLucene library not found. Try to use configure with --with-clucene-dir=/path/to/clucene);
   fi
+else
+  ac_cv_clucene2_libdir="NO"
 fi
 
 if test "x$ac_static_clucene" = "xYES"; then
-- 
cgit v1.2.3

