summaryrefslogtreecommitdiffstats
path: root/config.tests
diff options
context:
space:
mode:
authorMichal Klocek <michal.klocek@qt.io>2018-04-11 10:05:13 +0200
committerMichal Klocek <michal.klocek@qt.io>2018-04-12 07:14:48 +0000
commit8fac402edefde2bc876d44168aaafb26a420e508 (patch)
treea337c68f802b1827081193f13f2a9718ebf9bf91 /config.tests
parentf610818e381bcd322d7ff84a5258a9e97d74b6c8 (diff)
Simplify libxml2 system compatibility detection
Test for icu also in xml2 compile test. Change-Id: I435f609761cb299f58a9b5f68e31698bb238ab1c Reviewed-by: Kai Koehne <kai.koehne@qt.io>
Diffstat (limited to 'config.tests')
-rw-r--r--config.tests/xml2/xml2.cpp3
1 files changed, 3 insertions, 0 deletions
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)
{