chiark / gitweb /
build-sys: do not use pkgconfig dbus-1.pc to find dbus directories
authorFilipe Brandenburger <filbranden@google.com>
Tue, 23 Dec 2014 18:59:14 +0000 (10:59 -0800)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 25 Dec 2014 15:55:42 +0000 (10:55 -0500)
commit977db91c29083478c6fb7c7bf033e14c567df5d5
tree5f3a9527d1f73f43228274d1232d5abe1c59f63e
parentfa66b606b1a79530bc0d7f70ff30955232e40694
build-sys: do not use pkgconfig dbus-1.pc to find dbus directories

Do not use the dbus-1.pc pkgconfig settings to determine dbus directories. Use
directories relative to ${sysconfdir} and ${datadir} instead.

This approach was suggested by Simon McVittie in:
http://lists.freedesktop.org/archives/systemd-devel/2014-October/024388.html

Tested by building and installing systemd without the dbus-devel installed.
Without this patch, the dbus files and directories end up in the root of the
filesystem. With this patch, they end up in the same locations as previously
(assuming default ${sysconfdir} and ${datadir}) whether dbus-devel is present
or not. Also made sure that `make check` works without dbus-devel installed.
TODO
configure.ac