mirror of
https://github.com/php/php-src.git
synced 2025-08-18 06:58:55 +02:00
Add xsl config for new win build
This commit is contained in:
parent
c561f2f722
commit
d5e9e09515
1 changed files with 18 additions and 0 deletions
18
ext/xsl/config.w32
Normal file
18
ext/xsl/config.w32
Normal file
|
@ -0,0 +1,18 @@
|
|||
// $Id$
|
||||
// vim: ft=javascript
|
||||
|
||||
ARG_WITH("xsl", "xsl support", "no");
|
||||
|
||||
if (PHP_XSL == "yes") {
|
||||
if (CHECK_LIB("libxslt.lib", "xsl", PHP_XSL) &&
|
||||
CHECK_LIB("libxml2.lib", "xsl") &&
|
||||
CHECK_HEADER_ADD_INCLUDE("libxslt\\xslt.h", "CFLAGS_XSL")) {
|
||||
EXTENSION("xsl", "php_xsl.c xsltprocessor.c", PHP_XSL_SHARED);
|
||||
AC_DEFINE("HAVE_XSL", 1, "Define if xsl extension is enabled");
|
||||
if (! PHP_XSL_SHARED) {
|
||||
ADD_FLAG("CFLAGS_XSL", "/D DOM_EXPORTS ");
|
||||
}
|
||||
} else {
|
||||
WARNING("xsl not enabled; libraries and headers not found");
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue