diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2005-07-03 16:09:51 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2005-07-03 16:09:51 +0000 |
commit | 95175012ecb180e9f40f57455a600401f854075c (patch) | |
tree | 1a426f49b1c8403ad64b0417083779ec6fd9bee4 /runsuite.c | |
parent | 8fcd2cacd33ebbd6ab578684e1523fa00deb6394 (diff) | |
download | libxml2-95175012ecb180e9f40f57455a600401f854075c.tar.gz |
fixing #307823 and a couple of assorted bugs fixed conditionals in
* testapi.c runsuite.c runtest.c: fixing #307823 and a couple of
assorted bugs
* python/generator.py python/libxml2-python-api.xml: fixed
conditionals in generator too
* doc/apibuild.py doc/libxml2-api.xml doc/* elfgcchack.h: some
cleanups too and rebuilt
Daniel
Diffstat (limited to 'runsuite.c')
-rw-r--r-- | runsuite.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -19,6 +19,7 @@ #include <libxml/parserInternals.h> #include <libxml/tree.h> #include <libxml/uri.h> +#if defined(LIBXML_SCHEMAS_ENABLED) && defined(LIBXML_XPATH_ENABLED) #include <libxml/xmlreader.h> #include <libxml/xpath.h> @@ -1099,3 +1100,9 @@ main(int argc ATTRIBUTE_UNUSED, char **argv ATTRIBUTE_UNUSED) { return(ret); } +#else /* !SCHEMAS */ +int +main(int argc ATTRIBUTE_UNUSED, char **argv ATTRIBUTE_UNUSED) { + fprintf(stderr, "runsuite requires support for schemas and xpath in libxml2\n"); +} +#endif |