1
0
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:
Rasmus Lerdorf
2002-10-07 21:13:46 +00:00
parent d6775c5c3f
commit 74286bd28d
+6 -2
View File
@@ -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)