mirror of https://github.com/moparisthebest/curl
no need to add -lz to LDFLAGS manually, as AC_CHECK_LIB() does that
automatically!
This commit is contained in:
parent
dfd1a636b4
commit
2e0d1a55c6
|
@ -768,7 +768,6 @@ case "$OPT_ZLIB" in
|
||||||
AC_CHECK_LIB(z, gzread,
|
AC_CHECK_LIB(z, gzread,
|
||||||
[HAVE_LIBZ="1"
|
[HAVE_LIBZ="1"
|
||||||
AC_SUBST(HAVE_LIBZ)
|
AC_SUBST(HAVE_LIBZ)
|
||||||
LIBS="$LIBS -lz"
|
|
||||||
AC_DEFINE(HAVE_ZLIB_H, 1, [if you have the zlib.h header file])
|
AC_DEFINE(HAVE_ZLIB_H, 1, [if you have the zlib.h header file])
|
||||||
AC_DEFINE(HAVE_LIBZ, 1, [If zlib is available])],
|
AC_DEFINE(HAVE_LIBZ, 1, [If zlib is available])],
|
||||||
[ CPPFLAGS=$_cppflags
|
[ CPPFLAGS=$_cppflags
|
||||||
|
|
Loading…
Reference in New Issue