diff --git a/ChangeLog b/ChangeLog index eae724f0..df290475 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Sun Apr 14 14:55:15 CEST 2002 Daniel Veillard + + * configure.in: trying to fix #77441 + Fri Apr 12 23:02:16 CEST 2002 Daniel Veillard * include/libxml/xmlIO.h: Hallski complained it could not be diff --git a/config.h.in b/config.h.in index 7840ac1d..6387424c 100644 --- a/config.h.in +++ b/config.h.in @@ -93,6 +93,9 @@ /* Define if you have the header file. */ #undef HAVE_ARPA_INET_H +/* Define if you have the header file. */ +#undef HAVE_ARPA_NAMESER_H + /* Define if you have the header file. */ #undef HAVE_CTYPE_H @@ -135,6 +138,9 @@ /* Define if you have the header file. */ #undef HAVE_NETINET_IN_H +/* Define if you have the header file. */ +#undef HAVE_RESOLV_H + /* Define if you have the header file. */ #undef HAVE_SIGNAL_H diff --git a/configure.in b/configure.in index 34044014..a11bcb90 100644 --- a/configure.in +++ b/configure.in @@ -205,6 +205,7 @@ if test "$with_python" != "no" ; then 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 @@ ln -s Copyright COPYING 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 68a3c850..2aedb836 100644 --- a/include/libxml/valid.h +++ b/include/libxml/valid.h @@ -284,6 +284,10 @@ int xmlValidGetPotentialChildren(xmlElementContent *ctree, 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 0fcf5a16..f3fa51a8 100644 --- a/nanohttp.c +++ b/nanohttp.c @@ -40,9 +40,9 @@ #include #endif #ifdef HAVE_RESOLV_H -# ifdef HAVE_ARPA_NAMESER_H -# include -# endif +#ifdef HAVE_ARPA_NAMESER_H +#include +#endif #include #endif #ifdef HAVE_FCNTL_H diff --git a/valid.c b/valid.c index 53b4a926..6b524b2d 100644 --- a/valid.c +++ b/valid.c @@ -2585,7 +2585,7 @@ xmlIsMixedElement(xmlDocPtr doc, const xmlChar *name) { * returns 1 if valid or 0 otherwise */ -static int +int xmlValidateNameValue(const xmlChar *value) { const xmlChar *cur; int val, len; @@ -2624,7 +2624,7 @@ xmlValidateNameValue(const xmlChar *value) { * returns 1 if valid or 0 otherwise */ -static int +int xmlValidateNamesValue(const xmlChar *value) { const xmlChar *cur; int val, len; @@ -2689,7 +2689,7 @@ xmlValidateNamesValue(const xmlChar *value) { * returns 1 if valid or 0 otherwise */ -static int +int xmlValidateNmtokenValue(const xmlChar *value) { const xmlChar *cur; int val, len; @@ -2731,7 +2731,7 @@ xmlValidateNmtokenValue(const xmlChar *value) { * returns 1 if valid or 0 otherwise */ -static int +int xmlValidateNmtokensValue(const xmlChar *value) { const xmlChar *cur; int val, len;