--- embedaddon/php/ext/zlib/config0.m4 2012/05/29 12:34:37 1.1.1.2 +++ embedaddon/php/ext/zlib/config0.m4 2013/07/22 01:32:11 1.1.1.3 @@ -1,5 +1,5 @@ dnl -dnl $Id: config0.m4,v 1.1.1.2 2012/05/29 12:34:37 misho Exp $ +dnl $Id: config0.m4,v 1.1.1.3 2013/07/22 01:32:11 misho Exp $ dnl PHP_ARG_WITH(zlib,for ZLIB support, @@ -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= Define the location of zlib install directory], no, no) -if test "$PHP_ZLIB" != "no"; then +if test "$PHP_ZLIB" != "no" || test "$PHP_ZLIB_DIR" != "no"; then PHP_NEW_EXTENSION(zlib, zlib.c zlib_fopen_wrapper.c zlib_filter.c, $ext_shared) PHP_SUBST(ZLIB_SHARED_LIBADD)