no need to add -lz to LDFLAGS manually, as AC_CHECK_LIB() does that

automatically!
This commit is contained in:
Daniel Stenberg 2003-12-08 13:37:38 +00:00
parent dfd1a636b4
commit 2e0d1a55c6

View File

@ -768,7 +768,6 @@ case "$OPT_ZLIB" in
AC_CHECK_LIB(z, gzread,
[HAVE_LIBZ="1"
AC_SUBST(HAVE_LIBZ)
LIBS="$LIBS -lz"
AC_DEFINE(HAVE_ZLIB_H, 1, [if you have the zlib.h header file])
AC_DEFINE(HAVE_LIBZ, 1, [If zlib is available])],
[ CPPFLAGS=$_cppflags