--- embedaddon/php/ext/zlib/config0.m4 2013/10/14 08:17:38 1.1.1.3.2.1 +++ embedaddon/php/ext/zlib/config0.m4 2014/06/15 20:15:53 1.1.1.3.2.1.2.1 @@ -1,5 +1,5 @@ dnl -dnl $Id: config0.m4,v 1.1.1.3.2.1 2013/10/14 08:17:38 misho Exp $ +dnl $Id: config0.m4,v 1.1.1.3.2.1.2.1 2014/06/15 20:15:53 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)