From 0e6adc402e3624c3b36e9e8f87c2a61e7f294e1a Mon Sep 17 00:00:00 2001 From: Bryan Call Date: Fri, 22 Oct 2021 16:23:05 -0700 Subject: [PATCH] Report an error if configure can't find zlib --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index d32c4cfca79..27aa527beeb 100644 --- a/configure.ac +++ b/configure.ac @@ -1373,6 +1373,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