From 1dc44228d50f680d31080c760f8688e9675d6526 Mon Sep 17 00:00:00 2001 From: djcb Date: Sat, 12 May 2012 10:14:57 +0300 Subject: [PATCH] * configure.ac: fix the xapian version-check regexp for macos - interestingly, configure on macos uses zsh, unlike on linux where it's typically bash or dash (even when user has zsh as her shell). zsh's regexp are slightly different from the bash/dash ones. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 2aa11013..b11076e5 100644 --- a/configure.ac +++ b/configure.ac @@ -140,7 +140,7 @@ AS_IF([test "x$XAPIAN_CONFIG" = "xno"],[ *** is in your PATH.])], [xapian_version=$($XAPIAN_CONFIG --version | sed -e 's/.* //')]) AS_CASE([$xapian_version], - [1.[[2-9]].[[0-9]]], [], + [1.[[2-9]].[[0-9]]*], [], [AC_MSG_ERROR([*** xapian version >= 1.2 needed, but version $xapian_version found.])]) XAPIAN_CXXFLAGS="`$XAPIAN_CONFIG --cxxflags`"