make OP_WILDCARD non-conditional

Since we require Xapian 1.4 anyway, there's no need to make OP_WILDCARD
conditional.
This commit is contained in:
Dirk-Jan C. Binnema
2020-03-02 23:02:17 +02:00
parent 2fd8058443
commit a76720af42
2 changed files with 1 additions and 5 deletions

View File

@ -174,7 +174,7 @@ PKG_CHECK_MODULES(XAPIAN,xapian-core >= 1.4,[
AS_CASE([$xapian_version],
[1.[[4-9]].[[0-9]]*],
[AC_DEFINE([XAPIAN_HAVE_OP_WILDCARD],[1],[Xapian::Query::OP_WILDCARD?])],
[AC_MSG_NOTICE([xapian $xapian_version found.])],
[AC_MSG_ERROR([*** xapian version >= 1.4 needed, but version $xapian_version found.])])
XAPIAN_CXXFLAGS="$($XAPIAN_CONFIG --cxxflags)"