From b1361dfcf03be1a31e286bdb7e66d14ab10aa700 Mon Sep 17 00:00:00 2001 From: David Sterba Date: Mon, 29 Jan 2018 17:46:42 +0100 Subject: [PATCH] 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 --- configure.ac | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/configure.ac b/configure.ac index 55242b0..3afcdb4 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]) -- 2.7.4