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>
This commit is contained in:
parent
658cc4daa6
commit
f79008960b
2
INSTALL
2
INSTALL
|
@ -7,7 +7,7 @@ The Btrfs utility programs require the following libraries/tools to build:
|
||||||
- libblkid - block device id library
|
- libblkid - block device id library
|
||||||
- liblzo2 - LZO data compression library
|
- liblzo2 - LZO data compression library
|
||||||
- zlib - ZLIB 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:
|
For the btrfs-convert utility:
|
||||||
|
|
||||||
|
|
|
@ -183,8 +183,8 @@ PKG_CHECK_MODULES(ZLIB, [zlib])
|
||||||
PKG_STATIC(ZLIB_LIBS_STATIC, [zlib])
|
PKG_STATIC(ZLIB_LIBS_STATIC, [zlib])
|
||||||
|
|
||||||
AC_ARG_ENABLE([zstd],
|
AC_ARG_ENABLE([zstd],
|
||||||
AS_HELP_STRING([--enable-zstd@<:@=auto@:>@], [build with zstd support (default: auto)]),
|
AS_HELP_STRING([--disable-zstd@<:@=yes@:>@], [build with zstd support (default: yes)]),
|
||||||
[], [enable_zstd=auto]
|
[], [enable_zstd=yes]
|
||||||
)
|
)
|
||||||
|
|
||||||
if test "x$enable_zstd" = xauto; then
|
if test "x$enable_zstd" = xauto; then
|
||||||
|
|
Loading…
Reference in a new issue