applied DSO support patch 2 from Joel Reed Daniel

* Makefile.am config.h.in configure.in error.c libxml-2.0.pc.in
  testModule.c testdso.c xml2-config.in xmllint.c xmlmodule.c
  include/libxml/Makefile.am include/libxml/xmlerror.h
  include/libxml/xmlmodule.h include/libxml/xmlversion.h.in
  include/libxml/xmlwin32version.h.in: applied DSO support
  patch 2 from Joel Reed
Daniel
diff --git a/xml2-config.in b/xml2-config.in
index cddd1a8..304df6c 100644
--- a/xml2-config.in
+++ b/xml2-config.in
@@ -17,6 +17,7 @@
   --libs		print library linking information
   --libtool-libs        print linking information for use with libtool
   --cflags		print pre-processor and compiler flags
+  --modules		module support enabled
   --help		display this help and exit
   --version		output version information
 EOF
@@ -74,6 +75,10 @@
 	echo ${libdir}/@XML_LIBTOOLLIBS@
         ;;
 
+    --modules)
+       	echo @WITH_MODULES@
+       	;;
+
     --libs)
         if [ "`uname`" = "Linux" ]
 	then