[tracker/disable-fts: 6/10] FTS: if disabled, don't compile libtracker-fts or libstemmer



commit 0bcf4e62f646bab26c6ec428c1deba2a61848b0c
Author: Aleksander Morgado <aleksander lanedo com>
Date:   Tue Jun 15 12:44:01 2010 +0200

    FTS: if disabled, don't compile libtracker-fts or libstemmer

 src/Makefile.am |   13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)
---
diff --git a/src/Makefile.am b/src/Makefile.am
index cc018d0..6043e11 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -4,12 +4,21 @@ if HAVE_LIBINOTIFY
 libinotify_dir = libinotify
 endif
 
+if HAVE_TRACKER_FTS
+libstemmer_dir = libstemmer
+endif
+
+if HAVE_TRACKER_FTS
+libtrackerfts_dir = libtracker-fts
+endif
+
+
 SUBDIRS = 					\
-	libstemmer				\
+	$(libstemmer_dir)			\
 	$(libinotify_dir)			\
 	libtracker-common 			\
 	libtracker-client			\
-	libtracker-fts				\
+	$(libtrackerfts_dir)			\
 	libtracker-db				\
 	libtracker-data				\
 	libtracker-extract			\



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]