summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2010-10-30 19:24:07 +0000
committerHisham Muhammad <hisham@gobolinux.org>2010-10-30 19:24:07 +0000
commit84ed4c01f6a5551caf94b16aac7c116e5ff67825 (patch)
treef7109308a7fc78013357a8e8e1537254bfbd9987 /configure.ac
parentb2fee47a14261bb8c52a9ef5dcd144fa119b8a1d (diff)
Support for cgroups (thanks to Guillaume Zitta and Daniel Lezcano)
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 0200545f..4a94c146 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(cgroup, [AC_HELP_STRING([--enable-cgroup], [enable cgroups support])], ,enable_cgroup="no")
+if test "x$enable_cgroup" = xyes; then
+ AC_DEFINE(HAVE_CGROUP, 1, [Define if cgroup 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.])

© 2014-2024 Faster IT GmbH | imprint | privacy policy