2 AC_CHECK_HEADERS(zlib.h)
4 AC_CHECK_LIB_EXT(z, ZLIB_LIBS, zlibVersion)
6 AC_CACHE_CHECK([for zlib >= 1.2.3], samba_cv_zlib_1_2_3, [
10 #if (ZLIB_VERNUM >= 0x1230)
12 #error "ZLIB_VERNUM < 0x1230"
15 samba_cv_zlib_1_2_3=yes
17 samba_cv_zlib_1_2_3=no
21 if test x"$ac_cv_header_zlib_h" = x"yes" -a \
22 x"$ac_cv_lib_ext_z_zlibVersion" = x"yes" -a \
23 x"$samba_cv_zlib_1_2_3" = x"yes"; then