summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarel Zak2014-06-02 11:21:35 +0200
committerKarel Zak2014-06-02 11:21:35 +0200
commit569ff0d3b246140daad77000a07cdde83b784753 (patch)
tree3aa9a215823175c03ff514189cf66d8daf165658
parentscript: fix spurious exit from input read loop on EINTR. (diff)
downloadkernel-qcow2-util-linux-569ff0d3b246140daad77000a07cdde83b784753.tar.gz
kernel-qcow2-util-linux-569ff0d3b246140daad77000a07cdde83b784753.tar.xz
kernel-qcow2-util-linux-569ff0d3b246140daad77000a07cdde83b784753.zip
build-sys: don't compile deprecated last(1) on --enable-all-programs
Reported-by: Ruediger Meier <sweet_f_a@gmx.de> Signed-off-by: Karel Zak <kzak@redhat.com>
-rw-r--r--configure.ac5
1 files changed, 3 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 6f2b426e6..ae5156e16 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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])