From c88c80e3bd0c858e4909412743064a4a1ed211b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= Date: Mon, 21 Sep 2020 12:30:25 +0200 Subject: Drop cgroup conditional cgroup is only checked on runtime if the column CGROUP is selected. cgroup is currently disabled by default, but most distributions do enable it. Drop the cgroup configuration switch, to reduce the maintenance cost. --- configure.ac | 6 ------ 1 file changed, 6 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index de47b516..79ec292e 100644 --- a/configure.ac +++ b/configure.ac @@ -123,11 +123,6 @@ if test "x$enable_openvz" = xyes; then AC_DEFINE(HAVE_OPENVZ, 1, [Define if openvz support enabled.]) fi -AC_ARG_ENABLE(cgroup, [AS_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, [AS_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.]) @@ -390,7 +385,6 @@ AC_MSG_RESULT([ platform: $my_htop_platform (Linux) proc directory: $PROCDIR (Linux) openvz: $enable_openvz - (Linux) cgroup: $enable_cgroup (Linux) vserver: $enable_vserver (Linux) ancient vserver: $enable_ancient_vserver (Linux) taskstats: $enable_taskstats -- cgit v1.2.3