Fixed xml-config --version, Daniel.
diff --git a/ChangeLog b/ChangeLog
index e669bfe..1a7806e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Tue Mar 23 11:10:15 CET 1999 Daniel Veillard <Daniel.Veillard@w3.org>
+
+	* xml-config.in : applied patch to make --version work
+
 1999-03-05  Raja R Harinath  <harinath@cs.umn.edu>
 
 	* Makefile.am (check-local): Alias for `tests' target.  This will
diff --git a/parser.c b/parser.c
index 1805118..c83e81d 100644
--- a/parser.c
+++ b/parser.c
@@ -3138,7 +3138,7 @@
 		 * TODO: to be double checked !!!
 		 */
 		ent = xmlGetDocEntity(ctxt->doc, name);
-		if ((ctxt->doc->standalone) ||
+		if ((ctxt->doc->standalone == 1) ||
 		    ((ctxt->doc->intSubset == NULL) &&
 		     (ctxt->doc->extSubset == NULL))) {
 		    if (ent == NULL) {
diff --git a/xml-config.in b/xml-config.in
index eb6375c..8f4cfa3 100644
--- a/xml-config.in
+++ b/xml-config.in
@@ -44,7 +44,7 @@
 	;;
 
     --version)
-	echo @PACKAGE@ @XML_VERSION@
+	echo @PACKAGE@ @VERSION@
 	exit 0
 	;;