summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2003-06-14 13:35:09 +0000
committerMarcus Boerger <helly@php.net>2003-06-14 13:35:09 +0000
commit74476dc1da1575f2f9748a29902f140316cb54dd (patch)
tree4647489e564302c05cdc8617ad0aee1ce7579c76
parent12804f523434e2f8fb7fa0167e262e832a630f10 (diff)
downloadphp-git-74476dc1da1575f2f9748a29902f140316cb54dd.tar.gz
Improve/fix preventing both enabled
-rw-r--r--ext/dom/config.m46
-rw-r--r--ext/domxml/config.m42
2 files changed, 2 insertions, 6 deletions
diff --git a/ext/dom/config.m4 b/ext/dom/config.m4
index 5ae7fe78d9..9a36b71e33 100644
--- a/ext/dom/config.m4
+++ b/ext/dom/config.m4
@@ -19,14 +19,10 @@ AC_DEFUN(PHP_DOM_CHECK_VERSION,[
CPPFLAGS=$old_CPPFLAGS
])
-PHP_ARG_WITH(dom5, for DOM support,
+PHP_ARG_WITH(dom5, for new DOM support,
[ --with-dom5[=DIR] Include new DOM support (requires libxml >= 2.4.14).
DIR is the libxml install directory.])
-if test "$PHP_DOM" != "no" -a "$PHP_DOM5" != "no"; then
- AC_MSG_ERROR([Either use deprecated dom or new dom5 extension.])
-fi
-
if test -z "$PHP_ZLIB_DIR"; then
PHP_ARG_WITH(zlib-dir, for the location of libz,
[ --with-zlib-dir[=DIR] DOM: Set the path to libz install prefix.], no, no)
diff --git a/ext/domxml/config.m4 b/ext/domxml/config.m4
index 9d147771df..74bc452f7d 100644
--- a/ext/domxml/config.m4
+++ b/ext/domxml/config.m4
@@ -36,7 +36,7 @@ AC_DEFUN(PHP_DOM_EXSLT_CHECK_VERSION,[
CPPFLAGS=$old_CPPFLAGS
])
-PHP_ARG_WITH(dom, for DOM support,
+PHP_ARG_WITH(dom, for old deprecated DOM support,
[ --with-dom[=DIR] Old deprecated DOM support (requires libxml >= 2.4.14).
DIR is the libxml install directory.])