From 99fb9058bb0b6a6323da6811926547ef5f3882e4 Mon Sep 17 00:00:00 2001 From: Stanislav Brabec Date: Thu, 16 Jul 2015 21:54:23 +0200 Subject: [PATCH 02/12] Add --disable-sfdisk Add option to explicitly disable build of sfdisk. Signed-off-by: Stanislav Brabec --- configure.ac | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) Index: util-linux-2.26.2/configure.ac =================================================================== --- util-linux-2.26.2.orig/configure.ac +++ util-linux-2.26.2/configure.ac @@ -906,6 +906,10 @@ AC_DEFINE_UNQUOTED([LIBFDISK_VERSION], [ -UL_BUILD_INIT([sfdisk], [check]) +AC_ARG_ENABLE([sfdisk], + AS_HELP_STRING([--disable-sfdisk], [do not build sfdisk(8)]), + [], [UL_DEFAULT_ENABLE([sfdisk], [yes])] +) +UL_BUILD_INIT([sfdisk]) UL_REQUIRES_BUILD([sfdisk], [libfdisk]) UL_REQUIRES_BUILD([sfdisk], [libsmartcols]) AM_CONDITIONAL([BUILD_SFDISK], [test "x$build_sfdisk" = xyes])