diff options
author | Stefan Metzmacher <metze@samba.org> | 2005-03-30 10:48:52 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:11:20 -0500 |
commit | 0403e2032b258d25f6ff744029c3a0327cebda5a (patch) | |
tree | 76ddaddc52c9c7bc19986739995d4d8e19757c53 /source4/librpc/config.m4 | |
parent | 4581134bf5c9c348ba56fea3886c58234774f522 (diff) | |
download | samba-0403e2032b258d25f6ff744029c3a0327cebda5a.tar.gz samba-0403e2032b258d25f6ff744029c3a0327cebda5a.tar.bz2 samba-0403e2032b258d25f6ff744029c3a0327cebda5a.zip |
r6129: - add our own MSZIP decompression implementation
(taken from cabextract.c from KDE)
this code maybe need to be rewritten and the
compression side needs to be done,
but for now it seems to works
- remove the dependency to zlib
metze
(This used to be commit 5e8558c5b4365a494aa054c3e08d4084b319e6e5)
Diffstat (limited to 'source4/librpc/config.m4')
-rw-r--r-- | source4/librpc/config.m4 | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/source4/librpc/config.m4 b/source4/librpc/config.m4 deleted file mode 100644 index 290b0d16f2..0000000000 --- a/source4/librpc/config.m4 +++ /dev/null @@ -1,50 +0,0 @@ -######################################################## -# Compile with compression support - -with_zlib_support=auto -ZLIB_LIBS="" -ZLIB_CFLAGS="" -ZLIB_CPPFLAGS="" -ZLIB_LDFLAGS="" - -AC_MSG_CHECKING([for ZLIB support]) - -AC_ARG_WITH(zlib, -[ --with-zlib ZLIB support (default yes)], -[ case "$withval" in - yes|no) - with_zlib_support=$withval - ;; - esac ]) - -AC_MSG_RESULT($with_zlib_support) - -if test x"$with_zlib_support" != x"no"; then - - AC_MSG_CHECKING(whether ZLIB support is available)AC_CHECK_HEADERS(zlib.h) - if test x"$ac_cv_header_zlib_h" != x"yes"; then - with_zlib_support=no - fi - - if test x"$with_zlib_support" != x"no"; then - AC_CHECK_LIB_EXT(z, ZLIB_LIBS, inflate) - - if test x"$ac_cv_lib_ext_z_inflate" = x"yes"; then - AC_DEFINE(HAVE_ZLIB,1,[Whether zlib is available]) - with_zlib_support=yes - SMB_EXT_LIB_ENABLE(ZLIB,YES) - else - ZLIB_LIBS="" - with_zlib_support=no - fi - LIBS=$ac_save_LIBS - fi - - AC_MSG_RESULT($with_zlib_support) - - # for now enable this always but maybe all fields are empty - # TODO: move compression methods to seperate files each - SMB_EXT_LIB_ENABLE(ZLIB,YES) - - SMB_EXT_LIB(ZLIB,[${ZLIB_LIBS}],[${ZLIB_CFLAGS}],[${ZLIB_CPPFLAGS}],[${ZLIB_LDFLAGS}]) -fi
\ No newline at end of file |