From: Karel Zak Date: Thu, 9 Jul 2026 14:50:55 +0000 (+0200) Subject: build-sys: add --disable-lsclocks to configure X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=66c4a68f48b2c820ad72f32b85107d62aa157f9e;p=thirdparty%2Futil-linux.git build-sys: add --disable-lsclocks to configure Addresses: https://github.com/util-linux/util-linux/issues/4472 Signed-off-by: Karel Zak --- diff --git a/configure.ac b/configure.ac index 4b5f1be0a..f3661932d 100644 --- a/configure.ac +++ b/configure.ac @@ -2033,7 +2033,11 @@ AS_IF([test "x$build_enosys" = xyes], [ ]) AM_CONDITIONAL([BUILD_ENOSYS], [test "x$build_enosys" = xyes]) -UL_BUILD_INIT([lsclocks], [check]) +AC_ARG_ENABLE([lsclocks], + AS_HELP_STRING([--disable-lsclocks], [do not build lsclocks]), + [], [UL_DEFAULT_ENABLE([lsclocks], [check])] +) +UL_BUILD_INIT([lsclocks]) UL_REQUIRES_LINUX([lsclocks]) UL_REQUIRES_BUILD([lsclocks], [libsmartcols]) AM_CONDITIONAL([BUILD_LSCLOCKS], [test "x$build_lsclocks" = xyes])