blob: f3b93d373b05ed8426bb47ba8f80bc025cdb66d4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
AC_DEFUN([DOVECOT_WANT_STEMMER], [
if test $want_stemmer != no; then
AC_CHECK_LIB(stemmer, sb_stemmer_new, [
have_fts_stemmer=yes
AC_DEFINE(HAVE_FTS_STEMMER,, [Define if you want stemming support for FTS])
], [
if test $want_stemmer = yes; then
AC_ERROR([Can't build with stemmer support: libstemmer not found])
fi
])
fi
AM_CONDITIONAL([BUILD_FTS_STEMMER], [test "$have_fts_stemmer" = "yes"])
])
|