From: Daniel Stenberg Date: Mon, 8 Dec 2003 13:37:38 +0000 (+0000) Subject: no need to add -lz to LDFLAGS manually, as AC_CHECK_LIB() does that X-Git-Tag: curl-7_11_0~167 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2e0d1a55c6d541b82438d259e3dd9db257b53103;p=curl no need to add -lz to LDFLAGS manually, as AC_CHECK_LIB() does that automatically! --- diff --git a/configure.ac b/configure.ac index ca1f78a8d..bf6dd35ee 100644 --- a/configure.ac +++ b/configure.ac @@ -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