[tracker] build: Add --disable-journal configure option
- From: JÃrg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] build: Add --disable-journal configure option
- Date: Wed, 29 Jun 2011 15:35:24 +0000 (UTC)
commit af7bfc6c30356b634da77810117e35f7255f91ae
Author: Philip Van Hoof <philip codeminded be>
Date: Thu Jun 23 14:36:54 2011 +0200
build: Add --disable-journal configure option
configure.ac | 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 174617a..49de2fc 100644
--- a/configure.ac
+++ b/configure.ac
@@ -607,6 +607,20 @@ if test "x$enable_maemo" = "xyes" ; then
fi
####################################################################
+# Check if we should disable the journal
+####################################################################
+
+AC_ARG_ENABLE(journal,
+ AS_HELP_STRING([--enable-journal],
+ [enable journal [[default=yes]]]),
+ [enable_journal="$enableval"],
+ [enable_journal=yes])
+
+if test "x$enable_journal" = "xno" ; then
+ AC_DEFINE(DISABLE_JOURNAL, 1, [Define if we disable the journal])
+fi
+
+####################################################################
# Check for SQLite
####################################################################
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]