Skip to content

Commit fd2b04f

Browse files
committed
configure: zlib needs to check for zlib.h
If pkg-config is not available Fixes #272 Signed-off-by: Steve Bennett <[email protected]>
1 parent cf3dfdd commit fd2b04f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

auto.def

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ dict set extdb info {
181181
signal { check {[have-feature sigaction]} }
182182
sqlite3 { pkg-config sqlite3 check {[cc-check-function-in-lib sqlite3_prepare_v2 sqlite3]} libdep lib_sqlite3_prepare_v2 }
183183
redis { pkg-config hiredis check {[cc-check-function-in-lib redisConnect hiredis]} libdep lib_redisConnect }
184-
zlib { pkg-config zlib check {[cc-check-function-in-lib deflate z]} libdep lib_deflate }
184+
zlib { pkg-config zlib check {[cc-check-includes zlib.h] && [cc-check-function-in-lib deflate z]} libdep lib_deflate }
185185
syslog { check {[have-feature syslog]} }
186186
tree { dep oo }
187187
win32 { check {[have-feature windows]} }

0 commit comments

Comments
 (0)