test for dom extension

This commit is contained in:
Rob Richards 2003-12-04 13:32:22 +00:00
parent 2fb978a773
commit c09003a910

View file

@ -4,6 +4,7 @@
ARG_WITH("xsl", "xsl support", "no");
if (PHP_XSL != "no") {
if (PHP_DOM == "yes" && PHP_LIBXML == "yes") {
if (CHECK_LIB("libxslt.lib", "xsl", PHP_XSL) &&
CHECK_LIB("libxml2.lib", "xsl") &&
CHECK_HEADER_ADD_INCLUDE("libxslt\\xslt.h", "CFLAGS_XSL")) {
@ -15,4 +16,7 @@ if (PHP_XSL != "no") {
} else {
WARNING("xsl not enabled; libraries and headers not found");
}
} else {
WARNING("xsl not enabled; DOM extension required");
}
}