From 2e0d1a55c6d541b82438d259e3dd9db257b53103 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 8 Dec 2003 13:37:38 +0000 Subject: [PATCH] no need to add -lz to LDFLAGS manually, as AC_CHECK_LIB() does that automatically! --- configure.ac | 1 - 1 file changed, 1 deletion(-) 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