bad use of AM_CONDITIONAL removed and now configure runs better when used

with --disable-ipv6 --without-zlib
This commit is contained in:
Daniel Stenberg 2002-11-28 13:29:42 +00:00
parent 065852e46c
commit a0eadb76ea
1 changed files with 1 additions and 2 deletions

View File

@ -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])