btrfs-progs: build: require libzstd support by default
authorDavid Sterba <dsterba@suse.com>
Tue, 14 Nov 2017 14:24:39 +0000 (15:24 +0100)
committerDavid Sterba <dsterba@suse.com>
Tue, 14 Nov 2017 14:59:01 +0000 (15:59 +0100)
The kernel 4.14 supports zstd, for version parity the btrfs-progs now
require libzstd by default. This can still be disabled by
  ./configure --disable-zstd.

Signed-off-by: David Sterba <dsterba@suse.com>
INSTALL
configure.ac

diff --git a/INSTALL b/INSTALL
index e7f8184..686cefb 100644 (file)
--- a/INSTALL
+++ b/INSTALL
@@ -7,7 +7,7 @@ The Btrfs utility programs require the following libraries/tools to build:
 - libblkid - block device id library
 - liblzo2 - LZO data compression library
 - zlib - ZLIB data compression library
-- libzstd - ZSTD data compression library version >= 1.0.0 (optional)
+- libzstd - ZSTD data compression library version >= 1.0.0
 
 For the btrfs-convert utility:
 
index adceafc..290dc1d 100644 (file)
@@ -183,8 +183,8 @@ PKG_CHECK_MODULES(ZLIB, [zlib])
 PKG_STATIC(ZLIB_LIBS_STATIC, [zlib])
 
 AC_ARG_ENABLE([zstd],
-       AS_HELP_STRING([--enable-zstd@<:@=auto@:>@], [build with zstd support (default: auto)]),
-       [], [enable_zstd=auto]
+       AS_HELP_STRING([--disable-zstd@<:@=yes@:>@], [build with zstd support (default: yes)]),
+       [], [enable_zstd=yes]
 )
 
 if test "x$enable_zstd" = xauto; then