summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorKarel Zak2018-04-16 12:53:39 +0200
committerKarel Zak2018-04-16 12:53:39 +0200
commit8fa223daba1963c34cc828075ce6773ff01fafe3 (patch)
tree2c204a62f432aeb5e3830e370b1cc04c9eadad16 /configure.ac
parentlslocks: fix memory leak (diff)
downloadkernel-qcow2-util-linux-8fa223daba1963c34cc828075ce6773ff01fafe3.tar.gz
kernel-qcow2-util-linux-8fa223daba1963c34cc828075ce6773ff01fafe3.tar.xz
kernel-qcow2-util-linux-8fa223daba1963c34cc828075ce6773ff01fafe3.zip
choom: new command to adjust OOM-killer score value
Let's provide command line tool, man page with OOM description and bash-completion. It seems better than force end-users to use "echo" to /proc. Addresses: https://github.com/karelzak/util-linux/issues/609 Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 3ad35abec..8dbb062ac 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1664,6 +1664,10 @@ AC_ARG_ENABLE([ipcs],
UL_BUILD_INIT([ipcs])
AM_CONDITIONAL([BUILD_IPCS], [test "x$build_ipcs" = xyes])
+UL_BUILD_INIT([choom], [check])
+UL_REQUIRES_LINUX([choom])
+AM_CONDITIONAL([BUILD_CHOOM], [test "x$build_choom" = xyes])
+
UL_BUILD_INIT([lsipc], [check])
UL_REQUIRES_LINUX([lsipc])
UL_REQUIRES_BUILD([lsipc], [libsmartcols])