From: Sam Voss Date: Tue, 15 Oct 2019 02:19:16 +0000 (-0500) Subject: wipefs: Allow explicitly enable/disablement X-Git-Tag: v2.35-rc1~93^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a76cd5f6abace269b60ef6f1b95526a2d09fd331;p=thirdparty%2Futil-linux.git wipefs: Allow explicitly enable/disablement Currently if `--disable-all-packages` is set, there is no configure option for re-enabling `wipefs`. As the current default for `wipefs` is "enabled", add `--disable-` flag to maintain backward compatibility. Signed-off-by: Sam Voss --- diff --git a/configure.ac b/configure.ac index fc8a9507f0..f70f8d1eea 100644 --- a/configure.ac +++ b/configure.ac @@ -1286,7 +1286,11 @@ UL_BUILD_INIT([findfs], [check]) UL_REQUIRES_BUILD([findfs], [libblkid]) AM_CONDITIONAL([BUILD_FINDFS], [test "x$build_findfs" = xyes]) -UL_BUILD_INIT([wipefs], [check]) +AC_ARG_ENABLE([wipefs], + AS_HELP_STRING([--disable-wipefs], [do not build wipefs]), + [], [UL_DEFAULT_ENABLE([wipefs], [check])] +) +UL_BUILD_INIT([wipefs]) UL_REQUIRES_BUILD([wipefs], [libblkid]) UL_REQUIRES_BUILD([wipefs], [libsmartcols]) AM_CONDITIONAL([BUILD_WIPEFS], [test "x$build_wipefs" = xyes])