]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
build-sys: don't compile deprecated last(1) on --enable-all-programs
authorKarel Zak <kzak@redhat.com>
Mon, 2 Jun 2014 09:21:35 +0000 (11:21 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 2 Jun 2014 09:21:35 +0000 (11:21 +0200)
Reported-by: Ruediger Meier <sweet_f_a@gmx.de>
Signed-off-by: Karel Zak <kzak@redhat.com>
configure.ac

index 6f2b426e675a4e10fe86b8551fe37f7f416b4c07..ae5156e16717bba9613d85df93cf3fad70aa94c6 100644 (file)
@@ -1287,10 +1287,11 @@ UL_BUILD_INIT([kill])
 UL_REQUIRES_LINUX([kill])
 AM_CONDITIONAL([BUILD_KILL], [test "x$build_kill" = xyes])
 
-
+dnl Don't use UL_DEFAULT_ENABLE() here, deprecated stuff has to be insensitive
+dnl to --enable-all-programs.
 AC_ARG_ENABLE([deprecated-last],
   AS_HELP_STRING([--enable-deprecated-last], [build old deprecated last]),
-  [], [UL_DEFAULT_ENABLE([deprecated_last], [no])]
+  [], [enable_deprecated_last=no]
 )
 UL_BUILD_INIT([deprecated_last])
 AM_CONDITIONAL([BUILD_DEPRECATED_LAST], [test "x$build_deprecated_last" = xyes])