From eec0a68b1a23feba9e54cbc47df62042208f91a1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Remko=20Tron=C3=A7on?= <git@el-tramo.be>
Date: Sun, 16 Aug 2009 21:09:07 +0200
Subject: Enable XML parser tests again.


diff --git a/QA/UnitTest/SConscript b/QA/UnitTest/SConscript
index 095ef68..4e82443 100644
--- a/QA/UnitTest/SConscript
+++ b/QA/UnitTest/SConscript
@@ -14,6 +14,10 @@ if "check" in COMMAND_LINE_TARGETS or env.GetOption("clean") :
 	myenv.MergeFlags(env.get("LIBXML_FLAGS", ""))
 	myenv.MergeFlags(env.get("EXPAT_FLAGS", ""))
 	myenv.MergeFlags(env["ZLIB_FLAGS"])
+	if env.get("HAVE_LIBXML") :
+		myenv.Append(CPPDEFINES = ["HAVE_LIBXML"])
+	if env.get("HAVE_EXPAT") :
+		myenv.Append(CPPDEFINES = ["HAVE_EXPAT"])
 	checker = myenv.Program("checker", ["checker.cpp"] + env["UNITTEST_SOURCES"])
 	for i in ["HOME", "USERPROFILE", "APPDATA"]:
 		if os.environ.get(i, "") :
-- 
cgit v0.10.2-6-g49f6