summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorloderunner <loderunner@63cc0a6c-1f0e-0410-841e-f6a342073da8>2008-09-23 04:31:13 +0000
committerloderunner <loderunner@63cc0a6c-1f0e-0410-841e-f6a342073da8>2008-09-23 04:31:13 +0000
commit350201f54977432e190668c595426b68006e1a08 (patch)
tree1f6d3c800ca4fda2db0eb2baaa994517bd71c486 /configure.ac
parent663e88790e40ac819ddc1157abc19c54cd244935 (diff)
downloadhtop-350201f54977432e190668c595426b68006e1a08.tar.gz
Add Linux-VServer support,
contributed by Jonathan Sambrook and Benedikt Bohm git-svn-id: svn://svn.code.sf.net/p/htop/code/trunk@135 63cc0a6c-1f0e-0410-841e-f6a342073da8
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac11
1 files changed, 11 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index e8cb7ea..4aba11f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -69,6 +69,17 @@ if test "x$enable_openvz" = xyes; then
AC_DEFINE(HAVE_OPENVZ, 1, [Define if openvz support enabled.])
fi
+AC_ARG_ENABLE(vserver, [AC_HELP_STRING([--enable-vserver], [enable VServer support])], ,enable_vserver="no")
+if test "x$enable_vserver" = xyes; then
+ AC_DEFINE(HAVE_VSERVER, 1, [Define if vserver support enabled.])
+fi
+
+AC_ARG_ENABLE(ancient_vserver, [AC_HELP_STRING([--enable-ancient-vserver], [enable ancient VServer support (implies --enable-vserver)])], ,enable_ancient_vserver="no")
+if test "x$enable_ancient_vserver" = xyes; then
+ AC_DEFINE(HAVE_VSERVER, 1, [Define if vserver support enabled.])
+ AC_DEFINE(HAVE_ANCIENT_VSERVER, 1, [Define if ancient vserver support enabled.])
+fi
+
AC_ARG_ENABLE(taskstats, [AC_HELP_STRING([--enable-taskstats], [enable per-task IO Stats (taskstats kernel sup required)])], ,enable_taskstats="yes")
if test "x$enable_taskstats" = xyes; then
AC_DEFINE(HAVE_TASKSTATS, 1, [Define if taskstats support enabled.])