]> git.ipfire.org Git - thirdparty/systemd.git/commit
build-sys: only install legacy *.pkla files with old polkit versions (#5555)
authorMartin Pitt <martinpitt@users.noreply.github.com>
Wed, 8 Mar 2017 13:20:11 +0000 (14:20 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 8 Mar 2017 13:20:11 +0000 (08:20 -0500)
commit37377227ff47aa88c698c4b704d68d600d695c9f
tree1fa7f51d540f010e600990c6c56d96915c7d831a
parent6cf5a9648928be1e2b8fcdbf2903761000f6e803
build-sys: only install legacy *.pkla files with old polkit versions (#5555)

The legacy *.pkla files are not required when running against polkit ≥ 106,
and we want to avoid shipping files in /var if possible (but pkla files
can only be in /etc/ or /var).

Only install the *.pkla files if we detect an old polkit version during
configure. Don't install them if polkit isn't installed during build, as
distributions other than Debian-based ones have moved to the new polkit
long ago.

Fixes #5523
Makefile.am
configure.ac