From: Samanta Navarro Date: Wed, 4 Nov 2020 11:35:00 +0000 (+0000) Subject: whereis: add --disable-whereis to configure X-Git-Tag: v2.37-rc1~396^2~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b7fc158a2eb5433f178337773b4f9fd7805555d8;p=thirdparty%2Futil-linux.git whereis: add --disable-whereis to configure Allow a build of util-linux without whereis. Signed-off-by: Samanta Navarro --- diff --git a/configure.ac b/configure.ac index 9d4785c95c..a994376971 100644 --- a/configure.ac +++ b/configure.ac @@ -1651,7 +1651,11 @@ if test "x$matriplet" != "x"; then AC_DEFINE_UNQUOTED([MULTIARCHTRIPLET], ["$matriplet"], ["Multi-arch triplet for whereis library search path"]) fi -UL_BUILD_INIT([whereis], [yes]) +AC_ARG_ENABLE([whereis], + AS_HELP_STRING([--disable-whereis], [do not build whereis]), + [], [UL_DEFAULT_ENABLE([whereis], [check])] +) +UL_BUILD_INIT([whereis]) AM_CONDITIONAL([BUILD_WHEREIS], [test "x$build_whereis" = xyes]) UL_BUILD_INIT([getopt], [yes])