From 8c46ec68792635e698d8f6e83de83b9da37eebed Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Fri, 27 May 2011 12:50:07 +0200 Subject: [PATCH] test_xml_include: no test wo Libxml2 --- test/test_xml_include.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/test_xml_include.c b/test/test_xml_include.c index 7934b5e..a61455c 100644 --- a/test/test_xml_include.c +++ b/test/test_xml_include.c @@ -15,6 +15,7 @@ static void tst_xml_include(void) { +#if YAZ_HAVE_XML2 const char *srcdir = getenv("srcdir"); xmlDocPtr doc; xmlNodePtr node; @@ -59,6 +60,7 @@ static void tst_xml_include(void) } } xmlFreeDoc(doc); +#endif } -- 1.7.10.4