cvs: php4 /ext/domxml config.m4
| From: | Yasuo Ohgaki | Date: | Thu, 17 Jan 2002 01:18:25 +0000 |
| Subject: | cvs: php4 /ext/domxml config.m4 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-9074@lists.php.net to get a copy of this message | ||
yohgaki Wed Jan 16 20:18:25 2002 EDT
Modified files:
/php4/ext/domxml config.m4
Log:
Use libxml2 header if there are older version. Reported by <jwagoner@wlion.com>
Index: php4/ext/domxml/config.m4
diff -u php4/ext/domxml/config.m4:1.31 php4/ext/domxml/config.m4:1.32
--- php4/ext/domxml/config.m4:1.31 Mon Jan 7 19:31:21 2002
+++ php4/ext/domxml/config.m4 Wed Jan 16 20:18:25 2002
@@ -1,5 +1,5 @@
dnl
-dnl $Id: config.m4,v 1.31 2002/01/08 00:31:21 jarkol Exp $
+dnl $Id: config.m4,v 1.32 2002/01/17 01:18:25 yohgaki Exp $
dnl
AC_DEFUN(PHP_DOM_CHECK_VERSION,[
@@ -26,11 +26,11 @@
if test "$PHP_DOM" != "no"; then
DOMXML_DIR_ADD=""
- if test -r $PHP_DOM/include/libxml/tree.h; then
- DOMXML_DIR=$PHP_DOM
- elif test -r $PHP_DOM/include/libxml2/libxml/tree.h; then
+ if test -r $PHP_DOM/include/libxml2/libxml/tree.h; then
DOMXML_DIR=$PHP_DOM
DOMXML_DIR_ADD="/libxml2"
+ elif test -r $PHP_DOM/include/libxml/tree.h; then
+ DOMXML_DIR=$PHP_DOM
else
for i in /usr/local /usr; do
test -r $i/include/libxml/tree.h && DOMXML_DIR=$i