diff options
author | Wayne Davison <wayned@samba.org> | 2014-04-19 12:11:11 -0700 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2014-04-19 12:18:19 -0700 |
commit | 22a3ac0b5538ec6c1ff222570413cbdb74fef67b (patch) | |
tree | b19fda9d310b51d5673d53426cf37520c7166ae3 /configure.ac | |
parent | 1524c2e5c73c6d237f8308afc19186e7656aaa44 (diff) | |
download | android_external_rsync-22a3ac0b5538ec6c1ff222570413cbdb74fef67b.tar.gz android_external_rsync-22a3ac0b5538ec6c1ff222570413cbdb74fef67b.tar.bz2 android_external_rsync-22a3ac0b5538ec6c1ff222570413cbdb74fef67b.zip |
Add new-style compression that skips matching data.
Adding new-style compression that only compresses the literal data that
is sent over the wire and not also matching file data that was not sent.
This new-style compression is compatible with external zlib instances,
and will eventually become the default (once enough time has passed that
all servers support the --new-compress and --old-compress options).
NOTE: if you build rsync with an external zlib (i.e. if you specified
configure --with-included-zlib=no) you will ONLY get support for the
--new-compress option! A client will treat -z as uncompressed (with a
warning) and a server will exit with an error (unless -zz was used).
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index dccb2aaf..c7b28c52 100644 --- a/configure.ac +++ b/configure.ac @@ -792,6 +792,7 @@ if test x"$with_included_zlib" = x"yes"; then BUILD_ZLIB='$(zlib_OBJS)' CFLAGS="$CFLAGS -I$srcdir/zlib" else + AC_DEFINE(EXTERNAL_ZLIB, 1, [Define to 1 if using external zlib]) AC_MSG_RESULT(no) fi |