Add out-of-memory fields to the library and top.
Refrences:
http://www.freelists.org/post/procps/PATCH-12-Add-missed-oom-support-to-libproc
http://www.freelists.org/post/procps/PATCH-22-Initialize-smp-num-cpus-only-if-really-required
Signed-off-by: Jim Warner <james.warner@comcast.net>
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
fi
AC_SUBST([NCURSES_LIBS])
+AC_ARG_ENABLE([oomem],
+ AS_HELP_STRING([--enable-oomem], [add out-of-memory fields to the library and top]),
+ [], enable_oomem=no
+)
+if test "x$enable_oomem" = xyes; then
+ AC_DEFINE(OOMEM_ENABLE, 1, [add out-of-memory fields to the library and top])
+fi
+
AC_CONFIG_FILES([
Makefile
proc/Makefile