mirror of https://github.com/djcb/mu.git
* 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:
parent
90628d2f38
commit
1dc44228d5
|
@ -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`"
|
||||
|
|
Loading…
Reference in New Issue