From 80e18c8da35eb988d10ccada436ab11710c298f6 Mon Sep 17 00:00:00 2001 From: Finn Thain Date: Mon, 6 Apr 2009 16:29:22 +1000 Subject: 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 --- src/pulse/internal.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/pulse/internal.h') diff --git a/src/pulse/internal.h b/src/pulse/internal.h index 344e6399..28a989b3 100644 --- a/src/pulse/internal.h +++ b/src/pulse/internal.h @@ -42,7 +42,9 @@ #include #include #include +#ifdef HAVE_DBUS #include +#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; -- cgit