summaryrefslogtreecommitdiff
path: root/source4/lib/zlib.m4
blob: 7b967fc8d2f2b6cf093978e6b0f85ef3cbcad6a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12

AC_CHECK_HEADERS(zlib.h)

# we require this new function...
AC_CHECK_LIB_EXT(z, ZLIB_LIBS, inflateReset2)

if test x"$ac_cv_header_zlib_h" = x"yes" -a \
	x"$ac_cv_lib_ext_z_inflateReset2" = x"yes"; then
	SMB_EXT_LIB(ZLIB, [${ZLIB_LIBS}])
else
	SMB_INCLUDE_MK(lib/zlib.mk)
fi