mirror of
https://github.com/php/php-src.git
synced 2026-04-29 11:13:36 +02:00
Argh! Revert. I'm on drugs. Was linking in a newer libz when I checked
this.
This commit is contained in:
+6
-2
@@ -3,7 +3,7 @@ dnl $Id$
|
||||
dnl
|
||||
|
||||
PHP_ARG_WITH(zlib,for ZLIB support,
|
||||
[ --with-zlib[=DIR] Include ZLIB support.])
|
||||
[ --with-zlib[=DIR] Include ZLIB support (requires zlib >= 1.0.9).])
|
||||
|
||||
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)
|
||||
@@ -36,7 +36,11 @@ if test "$PHP_ZLIB" != "no" -o "$PHP_ZLIB_DIR" != "no"; then
|
||||
AC_MSG_ERROR(Cannot find libz)
|
||||
fi
|
||||
|
||||
AC_DEFINE(HAVE_ZLIB,1,[ ])
|
||||
AC_CHECK_LIB(z, gzgets, [
|
||||
AC_DEFINE(HAVE_ZLIB,1,[ ])
|
||||
],[
|
||||
AC_MSG_ERROR(ZLIB extension requires zlib >= 1.0.9)
|
||||
])
|
||||
|
||||
PHP_ADD_LIBPATH($ZLIB_DIR/lib, ZLIB_SHARED_LIBADD)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user