added 2 new configure option: --with-reader --with-sax1 to allow removing

* Makefile.am SAX.c SAX2.c configure.in globals.c parser.c
  parserInternals.c testReader.c testSAX.c xmlIO.c xmllint.c
  xmlreader.c example/gjobread.c include/libxml/xmlversion.h.in:
  added 2 new configure option: --with-reader --with-sax1
  to allow removing the reader or non-xmlReadxxx() interfaces.
Daniel
diff --git a/testSAX.c b/testSAX.c
index 0a742a2..edd6d6a 100644
--- a/testSAX.c
+++ b/testSAX.c
@@ -8,6 +8,7 @@
 
 #include "libxml.h"
 
+#ifdef LIBXML_SAX1_ENABLED
 #include <string.h>
 #include <stdarg.h>
 
@@ -973,3 +974,9 @@
 
     return(0);
 }
+#else
+int main(int argc ATTRIBUTE_UNUSED, char **argv ATTRIBUTE_UNUSED) {
+    printf("%s : SAX1 parsing support not compiled in\n", argv[0]);
+    return(0);
+}
+#endif /* LIBXML_SAX1_ENABLED */