1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-03-09 04:58:16 +03:00

closing bug #61832 removed a warning Daniel

* configure.in: closing bug #61832
* HTMLparser.c: removed a warning
Daniel
This commit is contained in:
Daniel Veillard 2001-10-06 13:30:33 +00:00
parent 6ab38386cc
commit 3fbe8e30c1
3 changed files with 22 additions and 15 deletions

View File

@ -1,3 +1,8 @@
Sat Oct 6 15:27:12 CEST 2001 Daniel Veillard <daniel@veillard.com>
* configure.in: closing bug #61832
* HTMLparser.c: removed a warning
Sat Oct 6 15:07:14 CEST 2001 Daniel Veillard <daniel@veillard.com>
* xpath.c: fixing #61673 part I, do not loose doc information

View File

@ -3395,7 +3395,7 @@ htmlParseElement(htmlParserCtxtPtr ctxt) {
htmlParserNodeInfo node_info;
xmlChar *oldname;
int depth = ctxt->nameNr;
xmlChar *oldptr;
const xmlChar *oldptr;
/* Capture start position */
if (ctxt->record_info) {

View File

@ -52,22 +52,24 @@ AC_ARG_WITH(zlib,
CPPFLAGS="${CPPFLAGS} -I$withval/include"
LDFLAGS="${LDFLAGS} -L$withval/lib"
fi
if test "$withval" != "no"; then
AC_CHECK_HEADERS(zlib.h,
AC_CHECK_LIB(z, gzread,[
AC_DEFINE(HAVE_LIBZ)
if test "x${Z_DIR}" != "x"; then
Z_CFLAGS="-I${Z_DIR}/include"
Z_LIBS="-L${Z_DIR}/lib -lz"
[case ${host} in
*-*-solaris*)
Z_LIBS="-L${Z_DIR}/lib -R${Z_DIR}/lib -lz"
;;
esac]
else
Z_LIBS="-lz"
fi]))
fi
])
AC_CHECK_HEADERS(zlib.h,
AC_CHECK_LIB(z, gzread,[
AC_DEFINE(HAVE_LIBZ)
if test "x${Z_DIR}" != "x"; then
Z_CFLAGS="-I${Z_DIR}/include"
Z_LIBS="-L${Z_DIR}/lib -lz"
[case ${host} in
*-*-solaris*)
Z_LIBS="-L${Z_DIR}/lib -R${Z_DIR}/lib -lz"
;;
esac]
else
Z_LIBS="-lz"
fi]))
AC_SUBST(Z_CFLAGS)
AC_SUBST(Z_LIBS)