dovecot-2.2: lib-fts: Fixed some wrong macro name checks.

dovecot at dovecot.org dovecot at dovecot.org
Mon Apr 20 14:47:08 UTC 2015


details:   http://hg.dovecot.org/dovecot-2.2/rev/197c703f32da
changeset: 18422:197c703f32da
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Apr 20 17:43:32 2015 +0300
description:
lib-fts: Fixed some wrong macro name checks.
Forgot to change these ones while renaming them..

diffstat:

 src/lib-fts/fts-filter-normalizer.c       |  2 +-
 src/lib-fts/fts-filter-stemmer-snowball.c |  2 +-
 src/lib-fts/test-fts-filter.c             |  4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

diffs (45 lines):

diff -r 0ad7f8da2471 -r 197c703f32da src/lib-fts/fts-filter-normalizer.c
--- a/src/lib-fts/fts-filter-normalizer.c	Mon Apr 20 17:40:12 2015 +0300
+++ b/src/lib-fts/fts-filter-normalizer.c	Mon Apr 20 17:43:32 2015 +0300
@@ -6,7 +6,7 @@
 #include "fts-filter-private.h"
 #include "fts-language.h"
 
-#ifdef HAVE_LIBFTS_NORMALIZER
+#ifdef HAVE_FTS_NORMALIZER
 
 #include <unicode/utrans.h>
 #include <unicode/uenum.h>
diff -r 0ad7f8da2471 -r 197c703f32da src/lib-fts/fts-filter-stemmer-snowball.c
--- a/src/lib-fts/fts-filter-stemmer-snowball.c	Mon Apr 20 17:40:12 2015 +0300
+++ b/src/lib-fts/fts-filter-stemmer-snowball.c	Mon Apr 20 17:43:32 2015 +0300
@@ -5,7 +5,7 @@
 #include "fts-filter.h"
 #include "fts-filter-private.h"
 
-#ifdef HAVE_LIBFTS_STEMMER
+#ifdef HAVE_FTS_STEMMER
 
 #include <libstemmer.h>
 
diff -r 0ad7f8da2471 -r 197c703f32da src/lib-fts/test-fts-filter.c
--- a/src/lib-fts/test-fts-filter.c	Mon Apr 20 17:40:12 2015 +0300
+++ b/src/lib-fts/test-fts-filter.c	Mon Apr 20 17:43:32 2015 +0300
@@ -294,7 +294,7 @@
 	test_end();
 }
 
-#ifdef HAVE_LIBFTS_NORMALIZER
+#ifdef HAVE_FTS_NORMALIZER
 static void test_fts_filter_normalizer_swedish_short(void)
 {
 	const struct fts_filter *filter_class;
@@ -533,7 +533,7 @@
 		test_fts_filter_stemmer_snowball_stem_english,
 		test_fts_filter_stemmer_snowball_stem_french,
 		test_fts_filter_stopwords_stemmer_eng,
-#ifdef HAVE_LIBFTS_NORMALIZER
+#ifdef HAVE_FTS_NORMALIZER
 		test_fts_filter_normalizer_swedish_short,
 		test_fts_filter_normalizer_swedish_short_default_id,
 		test_fts_filter_normalizer_french,


More information about the dovecot-cvs mailing list