From 4a8155b53c2ac01f90ab81c2c77845e82dc36103 Mon Sep 17 00:00:00 2001
From: Daniel Stenberg <daniel@haxx.se>
Date: Thu, 12 Jun 2003 12:53:38 +0000
Subject: [PATCH] store HAVE_LIBZ as an automake conditional

---
 configure.ac | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/configure.ac b/configure.ac
index 2707aa2e44..0430e9722c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -684,6 +684,9 @@ case "$OPT_ZLIB" in
     ;;
 esac
 
+dnl set variable for use in automakefile(s)
+AM_CONDITIONAL(HAVE_LIBZ, test x"$HAVE_LIBZ" = x1)
+
 dnl Default is to try the thread-safe versions of a few functions
 OPT_THREAD=on
 
-- 
GitLab