mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 15:48:49 -05:00
AC_SUBST HAVE_LIBZ for curl-config.in
This commit is contained in:
parent
64bbe9dfaf
commit
f8e0b18439
@ -536,7 +536,9 @@ fi
|
|||||||
dnl AC_CHECK_FUNC(gzread, , AC_CHECK_LIB(z, gzread))
|
dnl AC_CHECK_FUNC(gzread, , AC_CHECK_LIB(z, gzread))
|
||||||
AC_CHECK_LIB(z, gzread, [AM_CONDITIONAL(CONTENT_ENCODING, true)
|
AC_CHECK_LIB(z, gzread, [AM_CONDITIONAL(CONTENT_ENCODING, true)
|
||||||
AC_DEFINE(HAVE_LIBZ)
|
AC_DEFINE(HAVE_LIBZ)
|
||||||
LIBS="$LIBS -lz"])
|
LIBS="$LIBS -lz"
|
||||||
|
HAVE_LIBZ="1"
|
||||||
|
AC_SUBST(HAVE_LIBZ)])
|
||||||
|
|
||||||
dnl Default is to try the thread-safe versions of a few functions
|
dnl Default is to try the thread-safe versions of a few functions
|
||||||
OPT_THREAD=on
|
OPT_THREAD=on
|
||||||
|
@ -66,6 +66,9 @@ while test $# -gt 0; do
|
|||||||
if test "@IPV6_ENABLED@" = "1"; then
|
if test "@IPV6_ENABLED@" = "1"; then
|
||||||
echo "IPv6"
|
echo "IPv6"
|
||||||
fi
|
fi
|
||||||
|
if test "@HAVE_LIBZ@" = "1"; then
|
||||||
|
echo "libz"
|
||||||
|
fi
|
||||||
if test "@CURL_DISABLE_HTTP@" = "1"; then
|
if test "@CURL_DISABLE_HTTP@" = "1"; then
|
||||||
echo "HTTP-disabled"
|
echo "HTTP-disabled"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user