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/SAX.c b/SAX.c
index b4a1aac..0ff2017 100644
--- a/SAX.c
+++ b/SAX.c
@@ -28,6 +28,7 @@
 #include <libxml/globals.h>
 #include <libxml/SAX2.h>
 
+#ifdef LIBXML_SAX1_ENABLED
 /**
  * initxmlDefaultSAXHandler:
  * @hdlr:  the SAX handler
@@ -75,6 +76,7 @@
 
     hdlr->initialized = 1;
 }
+#endif /* LIBXML_SAX1_ENABLED */
 
 #ifdef LIBXML_HTML_ENABLED