[systemd-devel] [PATCH 2/5] configure.ac: add option for experimental unified cgroup handling.
Dimitri John Ledkov
dimitri.j.ledkov at intel.com
Fri May 29 13:32:13 PDT 2015
---
configure.ac | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/configure.ac b/configure.ac
index 92654a6..232d419 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1325,6 +1325,16 @@ AC_ARG_ENABLE(ldconfig,
AM_CONDITIONAL(ENABLE_LDCONFIG, [test x$enable_ldconfig = xyes])
# ------------------------------------------------------------------------------
+have_unified_cgroup=no
+AC_ARG_ENABLE([unified-cgroup], AS_HELP_STRING([--enable-unified-cgroup], [enable experimental support for unified cgroup hierchy handling]),
+ AS_CASE("x${enableval}",
+ [xyes], [have_unified_cgroup=yes],
+ [xno], [have_unified_cgroup=no],
+ AC_MSG_ERROR(bad value ${enableval} for --enable-unified-cgroup)))
+AS_IF([test "x$have_unified_cgroup" = "xyes"], [AC_DEFINE(HAVE_UNIFIED_CGROUP, 1, [Define if unified cgroup hierchy handling is desired])])
+AM_CONDITIONAL([HAVE_UNIFIED_CGROUP], [test "x$have_unified_cgroup" = "xyes"])
+
+# ------------------------------------------------------------------------------
# Location of the init scripts as mandated by LSB
SYSTEM_SYSVINIT_PATH=/etc/init.d
SYSTEM_SYSVRCND_PATH=/etc/rc.d
@@ -1571,6 +1581,7 @@ AC_MSG_RESULT([
gintrospection: ${enable_introspection}
terminal: ${have_terminal}
kdbus: ${have_kdbus}
+ unified-cgroup: ${have_unified_cgroup}
Python: ${have_python}
Python Headers: ${have_python_devel}
man pages: ${have_manpages}
--
2.1.4
More information about the systemd-devel
mailing list