From a5115d977029a8e3f4fd92c16f25208222c73b7e Mon Sep 17 00:00:00 2001
From: Kevin Smith <git@kismith.co.uk>
Date: Thu, 30 Aug 2012 22:36:24 +0100
Subject: Don't compile sqlite history without sqlite


diff --git a/Swiften/History/SConscript b/Swiften/History/SConscript
index bc0d64c..ac3cf3b 100644
--- a/Swiften/History/SConscript
+++ b/Swiften/History/SConscript
@@ -4,7 +4,8 @@ myenv = swiften_env.Clone()
 if myenv["target"] == "native":
    myenv.MergeFlags(swiften_env.get("SQLITE_FLAGS", {}))
 
-objects = myenv.SwiftenObject([
+if myenv["experimental"]:
+	objects = myenv.SwiftenObject([
 			"SQLiteHistoryStorage.cpp",
-		])
-swiften_env.Append(SWIFTEN_OBJECTS = [objects])
+			])
+	swiften_env.Append(SWIFTEN_OBJECTS = [objects])
-- 
cgit v0.10.2-6-g49f6