]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
4808. [bug] Properly test for zlib.h. [RT #46504]
authorMark Andrews <marka@isc.org>
Mon, 6 Nov 2017 23:11:55 +0000 (10:11 +1100)
committerMark Andrews <marka@isc.org>
Mon, 6 Nov 2017 23:11:55 +0000 (10:11 +1100)
CHANGES
configure.in

diff --git a/CHANGES b/CHANGES
index 0daae05930dbc197e83f38eecacde4d3bb26e5ac..23f3d07370501c8eeb493a512823cd7d355673ec 100644 (file)
--- 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]
index 89024c242aa087d335c79fdf82c0344facb955e6..31089024192fd35ae3d4b07ef4eaa056a7038d2e 100644 (file)
@@ -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"