You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2022/08/10 17:27:16 UTC

[trafficserver] branch 9.2.x updated: Report an error if configure can't find zlib (#8446)

This is an automated email from the ASF dual-hosted git repository.

zwoop pushed a commit to branch 9.2.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/9.2.x by this push:
     new d4a568ccb Report an error if configure can't find zlib (#8446)
d4a568ccb is described below

commit d4a568ccba6f1b459e65114c09d8dc69fb1a5e76
Author: Bryan Call <bc...@apache.org>
AuthorDate: Sun Oct 24 07:59:01 2021 -0700

    Report an error if configure can't find zlib (#8446)
    
    (cherry picked from commit a100761fd30e4b978ef56d9b565d1a09df9e43cd)
---
 configure.ac | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/configure.ac b/configure.ac
index a0d329b3c..94a7c2bc3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1390,6 +1390,9 @@ AM_CONDITIONAL([BUILD_JA3_PLUGIN], [test "x${enable_ja3_plugin}" = "xyes"])
 #
 # Check for zlib presence and usability
 TS_CHECK_ZLIB
+if test "x${enable_zlib}" != "xyes"; then
+  AC_MSG_ERROR([Cannot find zlib library. Configure --with-zlib=DIR])
+fi
 
 #
 # Check for lzma presence and usability