[PATCH] configure.ac: fix have_dbus if dbus support is disabled

Pekka Paalanen ppaalanen at gmail.com
Fri Mar 16 10:36:57 UTC 2018


On Wed, 14 Mar 2018 10:07:47 +0100
Michael Tretter <m.tretter at pengutronix.de> wrote:

> If dbus support is explicitly disabled, $have_dbus should be no, but was
> empty. systemd-login support depends on dbus, but the check does not
> trigger correctly, if $have_dbus is empty.
> 
> Signed-off-by: Michael Tretter <m.tretter at pengutronix.de>
> ---
>  configure.ac | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/configure.ac b/configure.ac
> index 0b326ccc..788730cb 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -502,6 +502,7 @@ AC_ARG_ENABLE(dbus,
>                AS_HELP_STRING([--disable-dbus],
>                               [do not build with dbus support]),,
>                enable_dbus=auto)
> +have_dbus=no
>  if test "x$enable_dbus" != "xno"; then
>          PKG_CHECK_MODULES(DBUS,
>                            dbus-1 >= 1.6,

Indeed, pushed:
   6dba368a..824e4995  master -> master


Thanks,
pq
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20180316/749a98be/attachment-0001.sig>


More information about the wayland-devel mailing list