mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-10-26 00:37:43 +03:00
patch from Robert Schwebel , allows to compile the example if configured
* doc/examples/reader3.c: patch from Robert Schwebel , allows to compile the example if configured without output support fixes #545582 * Makefile.am: add testrecurse to the make check tests * HTMLparser.c: if the parser got a encoding argument it should be used over what the meta specifies, patch fixing #536346 Daniel svn path=/trunk/; revision=3785
This commit is contained in:
@@ -15,7 +15,8 @@
|
||||
#include <stdio.h>
|
||||
#include <libxml/xmlreader.h>
|
||||
|
||||
#if defined(LIBXML_READER_ENABLED) && defined(LIBXML_PATTERN_ENABLED)
|
||||
#if defined(LIBXML_READER_ENABLED) && defined(LIBXML_PATTERN_ENABLED) && defined(LIBXML_OUTPUT_ENABLED)
|
||||
|
||||
|
||||
/**
|
||||
* streamFile:
|
||||
@@ -113,7 +114,7 @@ int main(int argc, char **argv) {
|
||||
|
||||
#else
|
||||
int main(void) {
|
||||
fprintf(stderr, "Reader or Pattern support not compiled in\n");
|
||||
fprintf(stderr, "Reader, Pattern or output support not compiled in\n");
|
||||
exit(1);
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user