removed some extern before function code reported by Kjartan Maraas on IRC

* parser.c: removed some extern before function code reported by
  Kjartan Maraas on IRC
* legacy.c: fixed compiling when configuring out the HTML parser
* Makefile.am: added a declaration for CVS_EXTRA_DIST
* HTMLparser.c: beginning of an attempt at cleaning up the construction
  of the HTML parser data structures, current data generate a huge
  amount of ELF relocations at loading time.
Daniel
diff --git a/legacy.c b/legacy.c
index 9ed7413..dad1d83 100644
--- a/legacy.c
+++ b/legacy.c
@@ -27,6 +27,7 @@
  *									*
  ************************************************************************/
 
+#ifdef LIBXML_HTML_ENABLED
 xmlChar *htmlDecodeEntities(htmlParserCtxtPtr ctxt, int len, xmlChar end,
                             xmlChar end2, xmlChar end3);
 
@@ -60,6 +61,7 @@
     }
     return (NULL);
 }
+#endif
 
 /**
  * xmlInitializePredefinedEntities: