mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
bad use of AM_CONDITIONAL removed and now configure runs better when used
with --disable-ipv6 --without-zlib
This commit is contained in:
parent
065852e46c
commit
a0eadb76ea
@ -543,8 +543,7 @@ case "$OPT_ZLIB" in
|
||||
|
||||
AC_CHECK_HEADER(zlib.h,[
|
||||
AC_CHECK_LIB(z, gzread,
|
||||
[AM_CONDITIONAL(CONTENT_ENCODING, true)
|
||||
HAVE_LIBZ="1"
|
||||
[HAVE_LIBZ="1"
|
||||
AC_SUBST(HAVE_LIBZ)
|
||||
LIBS="$LIBS -lz"
|
||||
AC_DEFINE(HAVE_ZLIB_H, 1, [if you have the zlib.h header file])
|
||||
|
Loading…
Reference in New Issue
Block a user