From: Robert Marko Date: Tue, 25 Jun 2024 15:32:08 +0000 (+0200) Subject: hexdump: allow enabling with --disable-all-programs X-Git-Tag: v2.42-start~288^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=37641f246ee9df7289b4e3054b3ded3912773722;p=thirdparty%2Futil-linux.git hexdump: allow enabling with --disable-all-programs Currently, if --disable-all-programs is used hexdump cannot be built as --enable-hexdump is not recognized, so lets add support for it. Signed-off-by: Robert Marko --- diff --git a/configure.ac b/configure.ac index b452ae248..c7fe78976 100644 --- a/configure.ac +++ b/configure.ac @@ -2247,7 +2247,11 @@ UL_BUILD_INIT([column], [check]) UL_REQUIRES_BUILD([column], [libsmartcols]) AM_CONDITIONAL([BUILD_COLUMN], [test "x$build_column" = xyes]) -UL_BUILD_INIT([hexdump], [yes]) +AC_ARG_ENABLE([hexdump], + AS_HELP_STRING([--disable-hexdump], [do not build hexdump]), + [], [UL_DEFAULT_ENABLE([hexdump], [check])] +) +UL_BUILD_INIT([hexdump]) AM_CONDITIONAL([BUILD_HEXDUMP], [test "x$build_hexdump" = xyes]) UL_BUILD_INIT([rev], [yes])