diff options
author | Andrew Bartlett <abartlet@samba.org> | 2008-08-12 17:46:17 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2008-08-12 17:46:17 +1000 |
commit | 7177df5df95c9fc0d2bc36340b948697980f00d3 (patch) | |
tree | 43e9115d1a87dabe743cf5092de56a8bb239e05a /source4/lib/zlib.m4 | |
parent | 5f873a4d8fbcd2eaeabb452ffba059338ed55dfc (diff) | |
parent | 0965b22ec561588201a3a79f1f1e316834c8ce0b (diff) | |
download | samba-7177df5df95c9fc0d2bc36340b948697980f00d3.tar.gz samba-7177df5df95c9fc0d2bc36340b948697980f00d3.tar.bz2 samba-7177df5df95c9fc0d2bc36340b948697980f00d3.zip |
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
(This used to be commit ce7b1424c711949e6feb0181d3759133b77391ff)
Diffstat (limited to 'source4/lib/zlib.m4')
-rw-r--r-- | source4/lib/zlib.m4 | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/source4/lib/zlib.m4 b/source4/lib/zlib.m4 new file mode 100644 index 0000000000..7b967fc8d2 --- /dev/null +++ b/source4/lib/zlib.m4 @@ -0,0 +1,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 |