]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
build-sys: use UL_DEFAULT_ENABLE() only for programs
authorKarel Zak <kzak@redhat.com>
Fri, 3 Jun 2016 11:42:40 +0000 (13:42 +0200)
committerKarel Zak <kzak@redhat.com>
Fri, 3 Jun 2016 11:42:40 +0000 (13:42 +0200)
The UL_DEFAULT_ENABLE modifies $enable_<name> according to the global
--enable-all-programs. This makes sense only for programs, but not for
any built-in code.

Signed-off-by: Karel Zak <kzak@redhat.com>
configure.ac

index d9a9f4eadc96b957609cba86f1963273159fbbd6..3ba723f3e98bfbd9d87283a832c2855e7e58e161 100644 (file)
@@ -1265,7 +1265,7 @@ AS_IF([test "x$have_futimens" = xyes -a "x$have_inotify_init1" = xyes ], [
 
 AC_ARG_ENABLE([plymouth_support],
   AS_HELP_STRING([--disable-plymouth_support], [don not care about plymouth in sylogin(8) and agetty(8)]),
-  [], [UL_DEFAULT_ENABLE([plymouth_support], [check])]
+  [], [enable_plymouth_support=check]
 )
 UL_BUILD_INIT([plymouth_support])
 UL_REQUIRES_HAVE([plymouth_support], [tiocglcktrmios], [TIOCGLCKTRMIOS flag])