trying to fix #77441 Daniel
* configure.in: trying to fix #77441
Daniel
diff --git a/ChangeLog b/ChangeLog
index eae724f..df29047 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Sun Apr 14 14:55:15 CEST 2002 Daniel Veillard <daniel@veillard.com>
+
+ * configure.in: trying to fix #77441
+
Fri Apr 12 23:02:16 CEST 2002 Daniel Veillard <daniel@veillard.com>
* include/libxml/xmlIO.h: Hallski complained it could not be
diff --git a/config.h.in b/config.h.in
index 7840ac1..6387424 100644
--- a/config.h.in
+++ b/config.h.in
@@ -93,6 +93,9 @@
/* Define if you have the <arpa/inet.h> header file. */
#undef HAVE_ARPA_INET_H
+/* Define if you have the <arpa/nameser.h> header file. */
+#undef HAVE_ARPA_NAMESER_H
+
/* Define if you have the <ctype.h> header file. */
#undef HAVE_CTYPE_H
@@ -135,6 +138,9 @@
/* Define if you have the <netinet/in.h> header file. */
#undef HAVE_NETINET_IN_H
+/* Define if you have the <resolv.h> header file. */
+#undef HAVE_RESOLV_H
+
/* Define if you have the <signal.h> header file. */
#undef HAVE_SIGNAL_H
diff --git a/configure.in b/configure.in
index 3404401..a11bcb9 100644
--- a/configure.in
+++ b/configure.in
@@ -205,6 +205,7 @@
then
echo Found python in $with_python/bin/python
PYTHON="$with_python/bin/python"
+ else
if test -x "$with_python"
then
echo Found python in $with_python/bin/python
@@ -556,3 +557,4 @@
AC_OUTPUT(libxml.spec Makefile include/Makefile include/libxml/Makefile doc/Makefile example/Makefile python/Makefile python/tests/Makefile include/libxml/xmlversion.h include/libxml/xmlwin32version.h xml2-config libxml-2.0.pc xml2Conf.sh python/setup.py)
+chmod +x xml2-config xml2Conf.sh python/setup.py
diff --git a/include/libxml/valid.h b/include/libxml/valid.h
index 68a3c85..2aedb83 100644
--- a/include/libxml/valid.h
+++ b/include/libxml/valid.h
@@ -284,6 +284,10 @@
const xmlChar **list,
int *len,
int max);
+int xmlValidateNameValue (const xmlChar *value);
+int xmlValidateNamesValue (const xmlChar *value);
+int xmlValidateNmtokenValue (const xmlChar *value);
+int xmlValidateNmtokensValue(const xmlChar *value);
#ifdef __cplusplus
}
#endif
diff --git a/nanohttp.c b/nanohttp.c
index 0fcf5a1..f3fa51a 100644
--- a/nanohttp.c
+++ b/nanohttp.c
@@ -40,9 +40,9 @@
#include <netdb.h>
#endif
#ifdef HAVE_RESOLV_H
-# ifdef HAVE_ARPA_NAMESER_H
-# include <arpa/nameser.h>
-# endif
+#ifdef HAVE_ARPA_NAMESER_H
+#include <arpa/nameser.h>
+#endif
#include <resolv.h>
#endif
#ifdef HAVE_FCNTL_H
diff --git a/valid.c b/valid.c
index 53b4a92..6b524b2 100644
--- a/valid.c
+++ b/valid.c
@@ -2585,7 +2585,7 @@
* returns 1 if valid or 0 otherwise
*/
-static int
+int
xmlValidateNameValue(const xmlChar *value) {
const xmlChar *cur;
int val, len;
@@ -2624,7 +2624,7 @@
* returns 1 if valid or 0 otherwise
*/
-static int
+int
xmlValidateNamesValue(const xmlChar *value) {
const xmlChar *cur;
int val, len;
@@ -2689,7 +2689,7 @@
* returns 1 if valid or 0 otherwise
*/
-static int
+int
xmlValidateNmtokenValue(const xmlChar *value) {
const xmlChar *cur;
int val, len;
@@ -2731,7 +2731,7 @@
* returns 1 if valid or 0 otherwise
*/
-static int
+int
xmlValidateNmtokensValue(const xmlChar *value) {
const xmlChar *cur;
int val, len;