- fix bug #6804 - configure does not recognize --without-http-zlib-compression
[m6w6/ext-http] / config.m4
index 38d84519a96a38a8671fa479be032cd1ece43c7d..6450d568817db1f3d1d306c0767f0e234228bb73 100644 (file)
--- a/config.m4
+++ b/config.m4
@@ -39,7 +39,7 @@ dnl -------
 dnl ----
 dnl ZLIB
 dnl ----
-       if test "$PHP_HTTP_ZLIB_ENCODINGS" != "no"; then
+       if test "$PHP_HTTP_ZLIB_COMPRESSION" != "no"; then
                AC_MSG_CHECKING([for zlib.h])
                ZLIB_DIR=
                for i in "$PHP_HTTP_ZLIB_COMPRESSION" "$PHP_ZLIB_DIR" "$PHP_ZLIB" /usr/local /usr /opt; do