]> granicus.if.org Git - curl/commitdiff
bad use of AM_CONDITIONAL removed and now configure runs better when used
authorDaniel Stenberg <daniel@haxx.se>
Thu, 28 Nov 2002 13:29:42 +0000 (13:29 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 28 Nov 2002 13:29:42 +0000 (13:29 +0000)
with --disable-ipv6 --without-zlib

configure.in

index 829cd72a0f42c9b186318e5b1c404244fe569bc3..4e452c2e8bbf09edfe5529c36950dcf6411db38e 100644 (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])