summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2008-11-06 13:47:39 +0000
committerDaniel Veillard <veillard@src.gnome.org>2008-11-06 13:47:39 +0000
commit6b09901479303d1df1500d70194e39e74e6eb131 (patch)
tree8986028c76b6444e4d3797dd62f0eae616baf477
parentb40744e3e4ce6faafb314625e2bbf64dfdedd334 (diff)
downloadlibxml2-6b09901479303d1df1500d70194e39e74e6eb131.tar.gz
Matthias Kaehlcke reported a build problem when not compiling HTML support
* xmllint.c: Matthias Kaehlcke reported a build problem when not compiling HTML support in. daniel svn path=/trunk/; revision=3802
-rw-r--r--ChangeLog5
-rw-r--r--xmllint.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 70a3d403..9e4c96ae 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Thu Nov 6 14:34:35 CET 2008 Daniel Veillard <daniel@veillard.com>
+
+ * xmllint.c: Matthias Kaehlcke reported a build problem when
+ not compiling HTML support in.
+
Fri Oct 17 15:24:08 CEST 2008 Daniel Veillard <daniel@veillard.com>
* configure.in doc/Makefile.am: patch from Adrian Bunk which
diff --git a/xmllint.c b/xmllint.c
index 6955fde6..77c1e62f 100644
--- a/xmllint.c
+++ b/xmllint.c
@@ -2753,9 +2753,11 @@ static void parseAndPrintFile(char *filename, xmlParserCtxtPtr rectxt) {
#endif
#ifdef LIBXML_DEBUG_ENABLED
+#if defined(LIBXML_HTML_ENABLED) || defined(LIBXML_VALID_ENABLED)
if ((debugent) && (!html))
xmlDebugDumpEntities(stderr, doc);
#endif
+#endif
/*
* free it.