summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-09-02 22:45:46 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-09-02 22:45:46 +0000
commitf8e0b1843969d3d1c6311b18eb19c320b56570f5 (patch)
tree2e2b435f1bde9996997e06974bb559e6559b8fbb /configure.in
parent64bbe9dfafc6693a96b742f3133c636385835a19 (diff)
downloadcurl-f8e0b1843969d3d1c6311b18eb19c320b56570f5.tar.gz
AC_SUBST HAVE_LIBZ for curl-config.in
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index f4702b768..d07a0c8ba 100644
--- a/configure.in
+++ b/configure.in
@@ -536,7 +536,9 @@ fi
dnl AC_CHECK_FUNC(gzread, , AC_CHECK_LIB(z, gzread))
AC_CHECK_LIB(z, gzread, [AM_CONDITIONAL(CONTENT_ENCODING, true)
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
OPT_THREAD=on