]> code.delx.au - pulseaudio/commitdiff
console-kit: Console Kit support is dependent on DBUS and is thus optional.
authorColin Guthrie <cguthrie@mandriva.org>
Tue, 11 Jan 2011 10:09:42 +0000 (10:09 +0000)
committerColin Guthrie <cguthrie@mandriva.org>
Tue, 11 Jan 2011 10:10:07 +0000 (10:10 +0000)
Therefore, we must reflect this in the default.pa. Several users
have reported an error with consolekit when starting a self-built PA
due to the default config not working properly. This works around the
issue but we should include a warning on configure about the lack of
DBUS and udev support as this is a common mistake.

src/daemon/default.pa.in

index f9b9eadd77926cb5385e973621da95c70fee24da..ace0f09ed5a64ec321ebabe5040bb075dee94f8c 100755 (executable)
@@ -111,7 +111,9 @@ load-module module-suspend-on-idle
 
 ### If autoexit on idle is enabled we want to make sure we only quit
 ### when no local session needs us anymore.
+.ifexists module-console-kit@PA_SOEXT@
 load-module module-console-kit
+.endif
 
 ### Enable positioned event sounds
 load-module module-position-event-sounds