diff options
author | Ray Strode <halfline@gmail.com> | 2018-12-03 22:50:58 +0000 |
---|---|---|
committer | Ray Strode <halfline@gmail.com> | 2018-12-03 22:50:58 +0000 |
commit | 23fd211e7cdabc9d478c455b6c1fd0c69673976b (patch) | |
tree | a628a28bf93b72af51fa67c11fa39c6834489dec | |
parent | eac6fa70a753064a947b33b1d9ca702cf53f23e0 (diff) | |
parent | 89c4dac320b1f13386dfb1f4ad0a3e308a8a6372 (diff) | |
download | polkit-23fd211e7cdabc9d478c455b6c1fd0c69673976b.tar.gz |
Merge branch 'systemd-cgroupsv2' into 'master'
configure.ac: fix detection of systemd with cgroups v2
See merge request polkit/polkit!13
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index bfa87dd..5c37e48 100644 --- a/configure.ac +++ b/configure.ac @@ -201,7 +201,7 @@ fi AS_IF([test "x$cross_compiling" != "xyes" ], [ AS_IF([test "$have_libsystemd" = "yes"], [ - AS_IF([test ! -d /sys/fs/cgroup/systemd/ ], [ + AS_IF([test ! -d /sys/fs/cgroup/systemd/ -a ! -d /sys/fs/cgroup/init.scope ], [ AS_IF([test "$enable_libsystemd_login" = "yes"], [ AC_MSG_WARN([libsystemd requested but system does not appear to be using systemd]) ], [ |