btrfs-progs: build: update help text for zstd
authorDavid Sterba <dsterba@suse.com>
Mon, 29 Jan 2018 16:46:42 +0000 (17:46 +0100)
committerDavid Sterba <dsterba@suse.com>
Wed, 31 Jan 2018 14:14:03 +0000 (15:14 +0100)
The enable/disable does not take an argument and we don't autodetect
zstd anymore.

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

index 55242b0..3afcdb4 100644 (file)
@@ -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])