summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2003-06-26 18:51:52 +0000
committerMarcus Boerger <helly@php.net>2003-06-26 18:51:52 +0000
commit8e0516c9901e35a3acc4e3df731b517b063a8534 (patch)
tree5fd352d19f79a2a6c4e675e68ded4436ad9eb184
parent71278c2969787e4f3bf2cb88fd8714431f969d66 (diff)
downloadphp-git-8e0516c9901e35a3acc4e3df731b517b063a8534.tar.gz
ext/xsl requires ext/dom
-rw-r--r--ext/xsl/config.m44
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/xsl/config.m4 b/ext/xsl/config.m4
index c24bd186f6..d8db8bb963 100644
--- a/ext/xsl/config.m4
+++ b/ext/xsl/config.m4
@@ -23,6 +23,10 @@ PHP_ARG_WITH(xsl, for XSL support,
[ --with-xsl[=DIR] Include new XSL support (requires libxslt >= 1.0.18).
DIR is the libxslt install directory.])
+if test "$PHP_XSL" != "no" -a "$PHP_DOM" == "no"; then
+ AC_MSG_ERROR([XSL extension requires DOM extension, add --with-dom.])
+fi
+
if test "$PHP_XSL" != "no"; then
if test -r $PHP_XSL/include/libxslt/transform.h; then