make dbus optional during build

On Tue, 31 Mar 2009, Lennart Poettering wrote:

[snip]
>
> I have now merged your patch. I had to change a few things to make it
> apply cleanly. Since I have no access to Solaris I am unable to test
> this though, so please check if things still work for you.
>
> I also worked around the realpath() issue mostly. It should work fine on
> Solaris now, as well.

Thanks. 0.9.15-test7 seems to work fine.

The only new issue is that configure --without-dbus no longer builds. I
don't need dbus for my purposes (network audio server) and it seems that
dbus is not included with Solaris. A patch for this follows.

Finn
This commit is contained in:
Finn Thain 2009-04-06 16:29:22 +10:00 committed by Lennart Poettering
parent e011230f87
commit 80e18c8da3
2 changed files with 17 additions and 0 deletions

View file

@ -42,7 +42,9 @@
#include <pulsecore/hashmap.h>
#include <pulsecore/refcnt.h>
#include <pulsecore/time-smoother.h>
#ifdef HAVE_DBUS
#include <pulsecore/dbus-util.h>
#endif
#include "client-conf.h"
@ -51,8 +53,10 @@
struct pa_context {
PA_REFCNT_DECLARE;
#ifdef HAVE_DBUS
pa_dbus_wrap_connection *system_bus;
pa_dbus_wrap_connection *session_bus;
#endif
pa_proplist *proplist;
pa_mainloop_api* mainloop;