mirror of
https://github.com/php/php-src.git
synced 2024-12-04 15:23:44 +08:00
becfdeb2ff
and bring the configs inline with the current libxml2 build
20 lines
619 B
JavaScript
20 lines
619 B
JavaScript
// $Id$
|
|
// vim:ft=javascript
|
|
|
|
ARG_ENABLE("xmlreader", "XMLReader support", "yes");
|
|
|
|
if (PHP_XMLREADER == "yes" &&
|
|
PHP_LIBXML == "yes" &&
|
|
CHECK_HEADER_ADD_INCLUDE("libxml/parser.h", "CFLAGS_XMLREADER", PHP_PHP_BUILD + "\\include\\libxml2") &&
|
|
CHECK_HEADER_ADD_INCLUDE("libxml/tree.h", "CFLAGS_XMLREADER", PHP_PHP_BUILD + "\\include\\libxml2")
|
|
) {
|
|
EXTENSION("xmlreader", "php_xmlreader.c");
|
|
AC_DEFINE("HAVE_XMLREADER", 1, "XMLReader support");
|
|
if (!PHP_XMLREADER_SHARED) {
|
|
ADD_FLAG("CFLAGS_XMLREADER", "/D LIBXML_STATIC");
|
|
}
|
|
ADD_EXTENSION_DEP('xmlreader', 'libxml');
|
|
ADD_EXTENSION_DEP('xmlreader', 'dom');
|
|
}
|
|
|