mirror of
https://github.com/php/php-src.git
synced 2024-12-24 09:18:17 +08:00
510dd7cca5
Fix dep handling in buildconf
17 lines
409 B
JavaScript
17 lines
409 B
JavaScript
// $Id$
|
|
// vim:ft=javascript
|
|
|
|
ARG_WITH("simplexml", "Simple XML support", "yes");
|
|
|
|
if (PHP_SIMPLEXML == "yes" && PHP_LIBXML == "yes") {
|
|
EXTENSION("simplexml", "simplexml.c");
|
|
AC_DEFINE("HAVE_SIMPLEXML", 1, "Simple XML support");
|
|
if (!PHP_SIMPLEXML_SHARED) {
|
|
ADD_FLAG("CFLAGS_SIMPLEXML", "/D LIBXML_STATIC");
|
|
}
|
|
ADD_EXTENSION_DEP('simplexml', 'libxml');
|
|
ADD_EXTENSION_DEP('simplexml', 'spl', true);
|
|
}
|
|
|
|
|