cvs: php4 /ext/xml config.m4
| From: | Sascha Schumann | Date: | Mon, 11 Mar 2002 13:32:45 +0000 |
| Subject: | cvs: php4 /ext/xml config.m4 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-9899@lists.php.net to get a copy of this message | ||
sas Mon Mar 11 08:32:45 2002 EDT
Modified files:
/php4/ext/xml config.m4
Log:
Add global include path, so that other extensions can access
the expat header.
Index: php4/ext/xml/config.m4
diff -u php4/ext/xml/config.m4:1.34 php4/ext/xml/config.m4:1.35
--- php4/ext/xml/config.m4:1.34 Thu Mar 7 09:19:42 2002
+++ php4/ext/xml/config.m4 Mon Mar 11 08:32:44 2002
@@ -1,5 +1,5 @@
dnl
-dnl $Id: config.m4,v 1.34 2002/03/07 14:19:42 sas Exp $
+dnl $Id: config.m4,v 1.35 2002/03/11 13:32:44 sas Exp $
dnl
dnl Fallback for --with-xml[=DIR]
@@ -24,7 +24,8 @@
if test "$PHP_EXPAT_DIR" = "no"; then
AC_DEFINE(HAVE_LIBEXPAT_BUNDLED, 1, [ ])
- PHP_NEW_EXTENSION(xml, xml.c expat/xmlparse.c expat/xmlrole.c expat/xmltok.c, $ext_shared,,
-I@ext_srcdir@/expat -DXML_BYTE_ORDER=$order)
+ PHP_NEW_EXTENSION(xml, xml.c expat/xmlparse.c expat/xmlrole.c expat/xmltok.c,
$ext_shared,,-DXML_BYTE_ORDER=$order)
+ PHP_ADD_INCLUDE($ext_srcdir/expat)
PHP_ADD_BUILD_DIR($ext_builddir/expat)
else