freebsd-ports/lang/php5/files/patch-ext_zlib_config0.m4
2013-12-14 12:45:40 +00:00

11 lines
562 B
Text

--- ext/zlib/config0.m4.orig 2013-12-10 19:32:43.000000000 +0000
+++ ext/zlib/config0.m4 2013-12-13 21:55:54.142235878 +0000
@@ -8,7 +8,7 @@ PHP_ARG_WITH(zlib,for ZLIB support,
PHP_ARG_WITH(zlib-dir,if the location of ZLIB install directory is defined,
[ --with-zlib-dir=<DIR> Define the location of zlib install directory], no, no)
-if test "$PHP_ZLIB" != "no" || test "$PHP_ZLIB_DIR" != "no"; then
+if test "$PHP_ZLIB" != "no"; then
PHP_NEW_EXTENSION(zlib, zlib.c zlib_fopen_wrapper.c zlib_filter.c, $ext_shared)
PHP_SUBST(ZLIB_SHARED_LIBADD)