mirror of
https://github.com/php/php-src.git
synced 2025-08-18 06:58:55 +02:00
- MFH: disable simplexml when libxml is not enabled
This commit is contained in:
parent
3fb7f05991
commit
68bf21ecad
1 changed files with 4 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
|||
ARG_WITH("simplexml", "Simple XML support", "yes");
|
||||
|
||||
if (PHP_SIMPLEXML == "yes" && PHP_LIBXML == "yes"
|
||||
&& ADD_EXTENSION_DEP('simplexml', 'libxml')) {
|
||||
&& ADD_EXTENSION_DEP('simplexml', 'libxml')) {
|
||||
EXTENSION("simplexml", "simplexml.c sxe.c");
|
||||
AC_DEFINE("HAVE_SIMPLEXML", 1, "Simple XML support");
|
||||
if (!PHP_SIMPLEXML_SHARED) {
|
||||
|
@ -13,6 +13,9 @@ if (PHP_SIMPLEXML == "yes" && PHP_LIBXML == "yes"
|
|||
if (!ADD_EXTENSION_DEP('simplexml', 'spl', true)) {
|
||||
MESSAGE("\tSPL support in simplexml disabled");
|
||||
}
|
||||
} else {
|
||||
PHP_SIMPLEXML == "no";
|
||||
WARNING("simplexml not enabled; libraries and headers not found");
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue