[tracker/disable-fts: 1/10] FTS: New --enable-tracker-fts configure option
- From: Aleksander Morgado <aleksm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/disable-fts: 1/10] FTS: New --enable-tracker-fts configure option
- Date: Tue, 15 Jun 2010 12:42:10 +0000 (UTC)
commit 8956b23c62aea7344b691b2dd2edfc35512c33e0
Author: Aleksander Morgado <aleksander lanedo com>
Date: Thu Jun 3 17:59:02 2010 +0300
FTS: New --enable-tracker-fts configure option
configure.ac | 25 ++++++++++++++++++++++++-
1 files changed, 24 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 4b0f58c..b026fb7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1213,6 +1213,29 @@ fi
AM_CONDITIONAL(HAVE_TRACKER_PREFERENCES, test "$have_tracker_preferences" = "yes")
+##################################################################
+# Checks for tracker-fts
+##################################################################
+
+AC_ARG_ENABLE([tracker-fts],
+ AS_HELP_STRING([--enable-tracker-fts],
+ [enable the tracker FTS [[default=auto]]]),,
+ [enable_tracker_fts=auto])
+
+if test "x$enable_tracker_fts" != "xno" ; then
+ have_tracker_fts="yes"
+else
+ have_tracker_fts="no (disabled)"
+fi
+
+if test "x$have_tracker_fts" = "xyes"; then
+ AC_DEFINE(HAVE_TRACKER_FTS, [1], [Define to 1 if tracker FTS is compiled])
+else
+ AC_DEFINE(HAVE_TRACKER_FTS, [0], [Define to 0 if tracker FTS is not compiled])
+fi
+
+AM_CONDITIONAL(HAVE_TRACKER_FTS, test "$have_tracker_fts" = "yes")
+
####################################################################
# PS extractor option
####################################################################
@@ -1937,7 +1960,7 @@ Build Configuration:
Applications:
- Build with SQLite FTS support: yes
+ Build with SQLite FTS support: $have_tracker_fts
Build tracker-search-tool: $have_tracker_search_tool
Build tracker-preferences: $have_tracker_preferences
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]