btrfs-progs: build: require libzstd support by default

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>
master
David Sterba 2017-11-14 15:24:39 +01:00
parent 658cc4daa6
commit f79008960b
2 changed files with 3 additions and 3 deletions

View File

@ -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:

View 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