summaryrefslogtreecommitdiff
path: root/ext/domxml
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2002-10-21 02:46:13 +0000
committerfoobar <sniper@php.net>2002-10-21 02:46:13 +0000
commit3be17e3f266ef2363e6955b504a9f1e819ed9097 (patch)
treefcf9a68190cb5bf83cab671c19efcf4d8b01b087 /ext/domxml
parent821349465a9ba68e45414e25380780491a79d857 (diff)
downloadphp-git-3be17e3f266ef2363e6955b504a9f1e819ed9097.tar.gz
- Prevent resetting the PHP_*_DIR variables if already set.
Diffstat (limited to 'ext/domxml')
-rw-r--r--ext/domxml/config.m45
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/domxml/config.m4 b/ext/domxml/config.m4
index 4a8ac216f8..5806908302 100644
--- a/ext/domxml/config.m4
+++ b/ext/domxml/config.m4
@@ -23,6 +23,11 @@ PHP_ARG_WITH(dom, for DOM support,
[ --with-dom[=DIR] Include DOM support (requires libxml >= 2.4.14).
DIR is the libxml install directory.])
+if test -z "$PHP_ZLIB_DIR"; then
+ PHP_ARG_WITH(zlib-dir, for the location of libz,
+ [ --with-zlib-dir[=DIR] DOMXML: Set the path to libz install prefix.], no, no)
+fi
+
if test "$PHP_DOM" != "no"; then
DOMXML_DIR_ADD=""