diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-10-17 11:52:55 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-10-18 14:14:44 +0200 |
commit | 9d9f5b44ed5271e85d1ea9b9e675d20914e621b3 (patch) | |
tree | b745d5a5a62a8f914b1782a0854df754b92ea2d8 /source4/lib | |
parent | fcce58cc61e4ed66de7d81064f40ff5a4e5b6346 (diff) | |
download | samba-9d9f5b44ed5271e85d1ea9b9e675d20914e621b3.tar.gz samba-9d9f5b44ed5271e85d1ea9b9e675d20914e621b3.tar.bz2 samba-9d9f5b44ed5271e85d1ea9b9e675d20914e621b3.zip |
Use common detection function for zlib.
Diffstat (limited to 'source4/lib')
-rw-r--r-- | source4/lib/zlib.m4 | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/source4/lib/zlib.m4 b/source4/lib/zlib.m4 deleted file mode 100644 index ac220ebede..0000000000 --- a/source4/lib/zlib.m4 +++ /dev/null @@ -1,26 +0,0 @@ -AC_CHECK_HEADERS(zlib.h) - -AC_CHECK_LIB_EXT(z, ZLIB_LIBS, zlibVersion) - -AC_CACHE_CHECK([for zlib >= 1.2.3], samba_cv_zlib_1_2_3, [ - AC_TRY_COMPILE([ - #include <zlib.h> - ],[ - #if (ZLIB_VERNUM >= 0x1230) - #else - #error "ZLIB_VERNUM < 0x1230" - #endif - ],[ - samba_cv_zlib_1_2_3=yes - ],[ - samba_cv_zlib_1_2_3=no - ]) -]) - -if test x"$ac_cv_header_zlib_h" = x"yes" -a \ - x"$ac_cv_lib_ext_z_zlibVersion" = x"yes" -a \ - x"$samba_cv_zlib_1_2_3" = x"yes"; then - SMB_EXT_LIB(ZLIB, [${ZLIB_LIBS}]) -else - SMB_INCLUDE_MK(lib/zlib.mk) -fi |