From: Rob Richards Date: Thu, 4 Dec 2003 12:37:04 +0000 (+0000) Subject: Add xsl config for new win build X-Git-Tag: php-5.0.0b3RC1~337 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d5e9e09515408b1de3ca70b5ae14b799be1631cf;p=php Add xsl config for new win build --- diff --git a/ext/xsl/config.w32 b/ext/xsl/config.w32 new file mode 100644 index 0000000000..4aed6e630e --- /dev/null +++ b/ext/xsl/config.w32 @@ -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"); + } +}