mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -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_HEADER(zlib.h,[
|
||||||
AC_CHECK_LIB(z, gzread,
|
AC_CHECK_LIB(z, gzread,
|
||||||
[AM_CONDITIONAL(CONTENT_ENCODING, true)
|
[HAVE_LIBZ="1"
|
||||||
HAVE_LIBZ="1"
|
|
||||||
AC_SUBST(HAVE_LIBZ)
|
AC_SUBST(HAVE_LIBZ)
|
||||||
LIBS="$LIBS -lz"
|
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])
|
||||||
|
Loading…
Reference in New Issue
Block a user