removing history/readline changed this slightly make element content line

* result/scripts/base*: removing history/readline changed
  this slightly
* include/libxml/parser.h SAX.c parser.c parserInternals.c
  xmllint.c: make element content line number generation
  optionnal to avoid breaking old apps added interface to switch
Daniel
diff --git a/SAX.c b/SAX.c
index 425b374..6789f43 100644
--- a/SAX.c
+++ b/SAX.c
@@ -966,8 +966,10 @@
         parent = ctxt->myDoc->children;
     }
     ctxt->nodemem = -1;
-    if (ctxt->input != NULL)
-	ret->content = (void *) (long) ctxt->input->line;
+    if (ctxt->linenumbers) {
+	if (ctxt->input != NULL)
+	    ret->content = (void *) (long) ctxt->input->line;
+    }
 
     /*
      * We are parsing a new node.