From 8fac402edefde2bc876d44168aaafb26a420e508 Mon Sep 17 00:00:00 2001 From: Michal Klocek Date: Wed, 11 Apr 2018 10:05:13 +0200 Subject: Simplify libxml2 system compatibility detection Test for icu also in xml2 compile test. Change-Id: I435f609761cb299f58a9b5f68e31698bb238ab1c Reviewed-by: Kai Koehne --- config.tests/xml2/xml2.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'config.tests') diff --git a/config.tests/xml2/xml2.cpp b/config.tests/xml2/xml2.cpp index 17c3e3ca0..93bc80c97 100644 --- a/config.tests/xml2/xml2.cpp +++ b/config.tests/xml2/xml2.cpp @@ -30,6 +30,9 @@ #if defined(LIBXML_CATALOG_ENABLED) #error "libxml catalog enabled" #endif +#if !defined(LIBXML_ICU_ENABLED) +#error "libxml icu not enabled" +#endif int main(int argc, char **argv) { -- cgit v1.2.1