]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
fdformat: remove command from default build
authorSami Kerola <kerolasa@iki.fi>
Wed, 11 Nov 2020 21:10:32 +0000 (21:10 +0000)
committerSami Kerola <kerolasa@iki.fi>
Sat, 14 Nov 2020 16:07:05 +0000 (16:07 +0000)
It should be safe assumption a command related to floppy disks does not
need to be part of default build.  Notice that the reference commit removed
floppy driver from linux about year ago.  Virtual floppies might exist they
should not need low-level formatting.  But if someone really needs this
enabling the build in that case is better than pushing the binary by
default to many many systems that install util-linux.

Reference: https://github.com/torvalds/linux/commit/47d6a7607443ea43dbc4d0f371bf773540a8f8f4
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
configure.ac

index a9b13c3dba30a8c76c0f9c4f15693793198352c2..8f026c85a008856ecf8e935411715ade3af46884 100644 (file)
@@ -1504,8 +1504,8 @@ AM_CONDITIONAL([BUILD_MINIX], [test "x$build_minix" = xyes])
 
 
 AC_ARG_ENABLE([fdformat],
-  AS_HELP_STRING([--disable-fdformat], [do not build fdformat]),
-  [], [UL_DEFAULT_ENABLE([fdformat], [check])]
+  AS_HELP_STRING([--enable-fdformat], [build fdformat]),
+  [], [UL_DEFAULT_ENABLE([fdformat], [no])]
 )
 UL_BUILD_INIT([fdformat])
 UL_REQUIRES_LINUX([fdformat])