[tracker] build: report in configure output whether support for journal is built



commit 8eb4d436c1575ca0c38e1ff8ecba7eac50695c12
Author: Aleksander Morgado <aleksander lanedo com>
Date:   Tue Jun 28 16:18:38 2011 +0200

    build: report in configure output whether support for journal is built

 configure.ac |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 49de2fc..ec10dd5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -616,6 +616,14 @@ AC_ARG_ENABLE(journal,
              [enable_journal="$enableval"],
              [enable_journal=yes])
 
+if test "x$enable_journal" != "xno" ; then
+   have_tracker_journal="yes"
+else
+   have_tracker_journal="no  (disabled)"
+fi
+
+AM_CONDITIONAL(DISABLE_JOURNAL, test "x$enable_journal" = "xno")
+
 if test "x$enable_journal" = "xno" ; then
    AC_DEFINE(DISABLE_JOURNAL, 1, [Define if we disable the journal])
 fi
@@ -2169,6 +2177,7 @@ Build Configuration:
 
 Applications:
 
+	Build with Journal support:             $have_tracker_journal
 	Build with SQLite FTS support:          $have_tracker_fts
 
 	Build tracker-preferences:              $have_tracker_preferences



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