mirror of
https://github.com/php/php-src.git
synced 2024-10-08 02:06:14 +00:00
a5cf836260
Disable apache and isapi by default. Add some smarts so that we can really build extensions and SAPI found in php-src/pecl and/or php-src/../pecl. Only include a logo in the resources if we are building an .exe.
18 lines
455 B
JavaScript
18 lines
455 B
JavaScript
// $Id$
|
|
// vim:ft=javascript
|
|
|
|
ARG_WITH("libxml", "LibXML support", "yes");
|
|
|
|
if (PHP_LIBXML == "yes") {
|
|
|
|
if ((CHECK_LIB("libxml2_a.lib", "libxml") || CHECK_LIB("libxml2.lib", "libxml")) &&
|
|
CHECK_LIB("iconv.lib", "libxml") &&
|
|
CHECK_HEADER_ADD_INCLUDE("libxml/parser.h", "CFLAGS")) {
|
|
EXTENSION("libxml", "libxml.c", false /* never shared */);
|
|
AC_DEFINE("HAVE_LIBXML", 1, "LibXML support");
|
|
ADD_FLAG("CFLAGS", "/D LIBXML_THREAD_ENABLED");
|
|
}
|
|
}
|
|
|
|
|