From: Anatoly Pugachev Date: Fri, 26 Nov 2021 23:48:28 +0000 (+0300) Subject: build-sys: add configure option to disable lsfd X-Git-Tag: v2.38-rc1~140^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f2c3f2c7bc1f52b7ff442baa1f2a6b49d273f2e1;p=thirdparty%2Futil-linux.git build-sys: add configure option to disable lsfd --- diff --git a/configure.ac b/configure.ac index df19aa04ee..2e7e36b034 100644 --- a/configure.ac +++ b/configure.ac @@ -1659,7 +1659,11 @@ UL_REQUIRES_BUILD([lscpu], [libsmartcols]) UL_REQUIRES_HAVE([lscpu], [cpu_set_t], [cpu_set_t type]) AM_CONDITIONAL([BUILD_LSCPU], [test "x$build_lscpu" = xyes]) -UL_BUILD_INIT([lsfd], [check]) +AC_ARG_ENABLE([lsfd], + AS_HELP_STRING([--disable-lsfd], [do not build lsfd]), + [], [UL_DEFAULT_ENABLE([lsfd], [check])] +) +UL_BUILD_INIT([lsfd]) UL_REQUIRES_LINUX([lsfd]) UL_REQUIRES_BUILD([lsfd], [libsmartcols]) UL_REQUIRES_HAVE([lsfd], [linux_kcmp_h], [linux/kcmp.h header file])