cvs: php4 /ext/domxml config.m4
| From: | Jani Taskinen | Date: | Thu, 05 Oct 2000 00:51:46 +0000 |
| Subject: | cvs: php4 /ext/domxml config.m4 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-1936@lists.php.net to get a copy of this message | ||
sniper Wed Oct 4 17:51:46 2000 EDT
Modified files:
/php4/ext/domxml config.m4
Log:
Now it really checks that libxml version is >= 2.0
Index: php4/ext/domxml/config.m4
diff -u php4/ext/domxml/config.m4:1.11 php4/ext/domxml/config.m4:1.12
--- php4/ext/domxml/config.m4:1.11 Mon Jun 5 22:13:07 2000
+++ php4/ext/domxml/config.m4 Wed Oct 4 17:51:46 2000
@@ -1,4 +1,4 @@
-dnl $Id: config.m4,v 1.11 2000/06/06 05:13:07 joey Exp $
+dnl $Id: config.m4,v 1.12 2000/10/05 00:51:46 sniper Exp $
AC_MSG_CHECKING(whether to include DOM support)
AC_ARG_WITH(dom,
@@ -14,7 +14,7 @@
PHP_EXTENSION(domxml)
old_LIBS=$LIBS
LIBS="$LIBS -lz"
- AC_CHECK_LIB(xml, xmlNewDoc, [AC_DEFINE(HAVE_DOMXML,1,[ ])],
+ AC_CHECK_LIB(xml, xmlFreeURI, [AC_DEFINE(HAVE_DOMXML,1,[ ])],
[AC_MSG_ERROR(DOM module requires libxml >= 2.0)])
LIBS=$old_LIBS
AC_ADD_LIBRARY(z)
@@ -33,7 +33,7 @@
old_withval=$withval
AC_MSG_CHECKING([for zlib (needed by DOM support)])
AC_ARG_WITH(zlib-dir,
- [ --with-zlib-dir[=DIR] zlib dir for pdflib 3.0 or include zlib support],[
+ [ --with-zlib-dir[=DIR] zlib dir for libxml or include zlib support],[
AC_MSG_RESULT( )
if test -z $withval; then
withval="/usr/local"
@@ -51,7 +51,7 @@
LIBS="$LIBS -L$withval/lib -lz"
fi
- AC_CHECK_LIB(xml, xmlNewDoc, [AC_DEFINE(HAVE_DOMXML,1,[ ])],
+ AC_CHECK_LIB(xml, xmlFreeURI, [AC_DEFINE(HAVE_DOMXML,1,[ ])],
[AC_MSG_ERROR(DOM module requires libxml >= 2.0.)])
LIBS=$old_LIBS
AC_ADD_LIBRARY_WITH_PATH(xml, $withval/lib)