diff options
author | Leigh Simpson <leigh.simpson@fusepump.com> | 2014-01-29 22:41:55 +0000 |
---|---|---|
committer | Leigh Simpson <leigh.simpson@fusepump.com> | 2014-01-29 22:41:55 +0000 |
commit | da236ca318e515a5a1b2156b8dccdf23166c787f (patch) | |
tree | 5e33a842e8b4e55fde72ba50bc86fd9e070e769b /configure.ac | |
parent | 558b001e2bdc3e2637da7c80215ad77f9fb8f18b (diff) |
Added additional column to monitor OOM killer score of each process
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 45c0b53b..ef57ebdc 100644 --- a/configure.ac +++ b/configure.ac @@ -145,5 +145,10 @@ then AC_CHECK_HEADERS([hwloc.h],[:], [missing_headers="$missing_headers $ac_header"]) fi +AC_ARG_ENABLE(oom, [AC_HELP_STRING([--enable-oom], [enable OOM score reporting])], ,enable_oom="no") +if test "x$enable_oom" = xyes; then + AC_DEFINE(HAVE_OOM, 1, [Define if OOM score support enabled.]) +fi + AC_CONFIG_FILES([Makefile htop.1]) AC_OUTPUT |