serious cleanup of the spec file and associated changes in the Makefiles.

* Makefile.am config.h.in libxml.spec.in doc/Makefile.am:
  serious cleanup of the spec file and associated changes
  in the Makefiles.
* valid.c: try to remove some warnings on x86_64
Daniel
diff --git a/valid.c b/valid.c
index bee2506..4c72bf4 100644
--- a/valid.c
+++ b/valid.c
@@ -323,11 +323,11 @@
        xmlChar *base = xmlNodeGetBase(NULL,node);		\
        if (base != NULL) {					\
 	   ctxt->error(ctxt->userData, "%s:%d: ", base,		\
-		       (int) node->content);			\
+		       (int) (long) node->content);		\
 	   xmlFree(base);					\
        } else							\
 	   ctxt->error(ctxt->userData, ":%d: ", 		\
-		       (int) node->content);			\
+		       (int) (long) node->content);		\
    }
 
 #define VWCTXT(ctxt, node)					\
@@ -336,11 +336,11 @@
        xmlChar *base = xmlNodeGetBase(NULL,node);		\
        if (base != NULL) {					\
 	   ctxt->warning(ctxt->userData, "%s:%d: ", base,	\
-		       (int) node->content);			\
+		       (int) (long) node->content);		\
 	   xmlFree(base);					\
        } else							\
 	   ctxt->warning(ctxt->userData, ":%d: ", 		\
-		       (int) node->content);			\
+		       (int) (long) node->content);		\
    }
 
 #define VERROR							\