diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2008-03-09 08:02:22 +0000 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2008-03-09 08:02:22 +0000 |
commit | 12f4f09e6ed288bdedc86e4ef22f3cc34f0e787a (patch) | |
tree | 0b3ce5d14fc72ae391378fa178a0a18b69298664 /configure.ac | |
parent | 460608d6e215dee3d3af822d974f3a36e5f73d3c (diff) |
Add support for Linux per-process IO statistics,
enabled with the --enable-taskstats flag, which
requires a kernel compiled with taskstats support.
Thanks to Tobias Oetiker!
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 f82eff9d..a6c1bdc7 100644 --- a/configure.ac +++ b/configure.ac @@ -69,6 +69,11 @@ if test "x$enable_openvz" = xyes; then AC_DEFINE(HAVE_OPENVZ, 1, [Define if openvz support enabled.]) fi +AC_ARG_ENABLE(taskstats, [AC_HELP_STRING([--enable-taskstats], [enable per-task IO Stats (taskstats kernel sup required)])], ,enable_taskstats="no") +if test "x$enable_taskstats" = xyes; then + AC_DEFINE(HAVE_TASKSTATS, 1, [Define if taskstats support enabled.]) +fi + AC_ARG_ENABLE(unicode, [AC_HELP_STRING([--enable-unicode], [enable Unicode support])], ,enable_unicode="no") if test "x$enable_unicode" = xyes; then AC_CHECK_LIB([ncursesw], [refresh], [], [missing_libraries="$missing_libraries libncursesw"]) |