summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2018-01-29 17:46:42 +0100
committerDavid Sterba <dsterba@suse.com>2018-01-31 15:14:03 +0100
commitb1361dfcf03be1a31e286bdb7e66d14ab10aa700 (patch)
tree5d78279438aad601d16439744866e978ff847377 /configure.ac
parent1945854e012b9e8b720f826f90158f339101cf4b (diff)
btrfs-progs: build: update help text for zstd
The enable/disable does not take an argument and we don't autodetect zstd anymore. Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 1 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac
index 55242b0d..3afcdb47 100644
--- a/configure.ac
+++ b/configure.ac
@@ -183,14 +183,10 @@ PKG_CHECK_MODULES(ZLIB, [zlib])
PKG_STATIC(ZLIB_LIBS_STATIC, [zlib])
AC_ARG_ENABLE([zstd],
- AS_HELP_STRING([--disable-zstd@<:@=yes@:>@], [build with zstd support (default: yes)]),
+ AS_HELP_STRING([--disable-zstd], [build without zstd support]),
[], [enable_zstd=yes]
)
-if test "x$enable_zstd" = xauto; then
- PKG_CHECK_EXISTS([libzstd >= 1.0.0], [enable_zstd=yes], [enable_zstd=no])
-fi
-
if test "x$enable_zstd" = xyes; then
PKG_CHECK_MODULES(ZSTD, [libzstd >= 1.0.0])
PKG_STATIC(ZSTD_LIBS_STATIC, [libzstd])