From b819a478b7a632927336ccaecc3a1e9c17db3ae7 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Tue, 7 Nov 2017 10:11:55 +1100 Subject: [PATCH] 4808. [bug] Properly test for zlib.h. [RT #46504] --- CHANGES | 2 ++ configure.in | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index 0daae05930..23f3d07370 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,5 @@ +4808. [bug] Properly test for zlib.h. [RT #46504] + 4807. [cleanup] isc_rng_randombytes() returns a specified number of bytes from the PRNG; this is now used instead of calling isc_rng_random() multiple times. [RT #46230] diff --git a/configure.in b/configure.in index 89024c242a..3108902419 100644 --- a/configure.in +++ b/configure.in @@ -2652,7 +2652,7 @@ case "$with_zlib" in done ;; *) - if test -f "${with_zlib}/zlib.h" + if test -f "${with_zlib}/include/zlib.h" then zlib_cflags="-I${with_zlib}/include" LIBS="$LIBS -L${with_zlib}/lib"