cvs: php-src(PHP_5_3) /ext/simplexml config.w32
| From: | Pierre-Alain Joye | Date: | Thu, 25 Dec 2008 00:47:32 +0000 |
| Subject: | cvs: php-src(PHP_5_3) /ext/simplexml config.w32 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-55106@lists.php.net to get a copy of this message | ||
pajoye Thu Dec 25 00:47:32 2008 UTC
Modified files: (Branch: PHP_5_3)
/php-src/ext/simplexml config.w32
Log:
- work around missing libxml include path (will be replaced by a PHP_SETUP_LIBXML macro)
http://cvs.php.net/viewvc.cgi/php-src/ext/simplexml/config.w32?r1=1.4.8.3&r2=1.4.8.4&diff_format=u
Index: php-src/ext/simplexml/config.w32
diff -u php-src/ext/simplexml/config.w32:1.4.8.3 php-src/ext/simplexml/config.w32:1.4.8.4
--- php-src/ext/simplexml/config.w32:1.4.8.3 Thu Dec 25 00:01:10 2008
+++ php-src/ext/simplexml/config.w32 Thu Dec 25 00:47:32 2008
@@ -1,4 +1,4 @@
-// $Id: config.w32,v 1.4.8.3 2008/12/25 00:01:10 pajoye Exp $
+// $Id: config.w32,v 1.4.8.4 2008/12/25 00:47:32 pajoye Exp $
// vim:ft=javascript
ARG_WITH("simplexml", "Simple XML support", "yes");
@@ -9,6 +9,8 @@
AC_DEFINE("HAVE_SIMPLEXML", 1, "Simple XML support");
if (!PHP_SIMPLEXML_SHARED) {
ADD_FLAG("CFLAGS_SIMPLEXML", "/D LIBXML_STATIC");
+// be tricky for now, we actually need a macro like the one in m4 (PHP_SETUP_LIBXML)
+ ADD_FLAG("CFLAGS_SIMPLEXML", "$(CFLAGS_LIBXML)");
}
if (!ADD_EXTENSION_DEP('simplexml', 'spl', true)) {
MESSAGE("\tSPL support in simplexml disabled");
@@ -17,5 +19,3 @@
PHP_SIMPLEXML == "no";
WARNING("simplexml not enabled; libraries and headers not found");
}
-
-