summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2016-06-28 10:46:43 +0100
committerRichard Hughes <richard@hughsie.com>2016-06-28 10:46:43 +0100
commitba752ee03c2a73d00762798f989406644f22579f (patch)
tree2afa6b752c4f7ae0d96cf196d9e1cee28f79de36
parente82925cff0c9489353740c335e8ae91f760ce6d8 (diff)
downloadappstream-glib-ba752ee03c2a73d00762798f989406644f22579f.tar.gz
trivial: Disable libstemmer by default
Sorry jhbuild people...
-rw-r--r--configure.ac2
-rw-r--r--contrib/libappstream-glib.spec.in1
2 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 0024dfc..a7904dd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -249,7 +249,7 @@ dnl ---------------------------------------------------------------------------
dnl - Use libstemmer for search stemming
dnl ---------------------------------------------------------------------------
AC_ARG_ENABLE(stemmer, AS_HELP_STRING([--enable-stemmer],[enable search stemmer]),
- enable_stemmer=$enableval,enable_stemmer=yes)
+ enable_stemmer=$enableval,enable_stemmer=no)
AM_CONDITIONAL(HAVE_LIBSTEMMER, test x$enable_stemmer = xyes)
if test x$enable_stemmer = xyes; then
AC_CHECK_HEADER(libstemmer.h, [], [AC_MSG_ERROR([No libstemmer.h])])
diff --git a/contrib/libappstream-glib.spec.in b/contrib/libappstream-glib.spec.in
index 31ec41f..a0ea108 100644
--- a/contrib/libappstream-glib.spec.in
+++ b/contrib/libappstream-glib.spec.in
@@ -78,6 +78,7 @@ GLib headers and libraries for appstream-builder.
%build
%configure \
--enable-gtk-doc \
+ --enable-stemmer \
--disable-dep11 \
--disable-static \
--disable-silent-rules \