diff options
| author | Anatol Belski <ab@php.net> | 2015-05-10 21:28:20 +0200 |
|---|---|---|
| committer | Anatol Belski <ab@php.net> | 2015-05-10 22:22:03 +0200 |
| commit | becfdeb2ffe0927a74952e026158d33a6c0ac83d (patch) | |
| tree | 8c771fccbfc2b89354688dde3b31db2c8b17f4d1 /ext/simplexml/config.w32 | |
| parent | e570bb430d83c93e5e06505349222996c6072003 (diff) | |
| download | php-git-becfdeb2ffe0927a74952e026158d33a6c0ac83d.tar.gz | |
improve searchability for libxml2 headers
and bring the configs inline with the current libxml2 build
Diffstat (limited to 'ext/simplexml/config.w32')
| -rw-r--r-- | ext/simplexml/config.w32 | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ext/simplexml/config.w32 b/ext/simplexml/config.w32 index d581fc8e40..7873decb4e 100644 --- a/ext/simplexml/config.w32 +++ b/ext/simplexml/config.w32 @@ -4,8 +4,10 @@ ARG_WITH("simplexml", "Simple XML support", "yes"); if (PHP_SIMPLEXML == "yes") { - if(PHP_LIBXML == "yes" - && ADD_EXTENSION_DEP('simplexml', 'libxml')) { + if(PHP_LIBXML == "yes" && + ADD_EXTENSION_DEP('simplexml', 'libxml') && + CHECK_HEADER_ADD_INCLUDE("libxml/tree.h", "CFLAGS_SIMPLEXML", PHP_PHP_BUILD + "\\include\\libxml2") + ) { EXTENSION("simplexml", "simplexml.c sxe.c"); AC_DEFINE("HAVE_SIMPLEXML", 1, "Simple XML support"); if (!PHP_SIMPLEXML_SHARED) { |
