fix the checking for --enable-zlib

This commit is contained in:
Bill Currie 2000-02-03 20:42:51 +00:00
parent c0dc03a8ff
commit 0b6cb6a9bf

View file

@ -123,7 +123,7 @@ fi
dnl Checks for working -lm
AC_CHECK_LIB(m, pow,, AC_MSG_ERROR([math library (-lm) appears broken]))
if test "x$disable_zlib" = "xyes"; then
if test "x$enable_zlib" = "xyes"; then
dnl Check for working -lz
dnl Note - must have gztell *and* gzgets in -lz *and* zlib.h
AC_CHECK_LIB(z, gztell, HAS_ZLIB=yes, HAS_ZLIB=no, [$LIBS])