* 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.
This commit is contained in:
djcb 2012-05-12 10:14:57 +03:00
parent 90628d2f38
commit 1dc44228d5
1 changed files with 1 additions and 1 deletions

View File

@ -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`"