[pulseaudio-discuss] [PATCH 4/6] build: Only use relevant portions of daemon.conf.in

Maarten Bosmans mkbosmans at gmail.com
Mon Mar 14 08:27:01 PDT 2011


---
 src/daemon/daemon.conf.in |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/daemon/daemon.conf.in b/src/daemon/daemon.conf.in
index 9beba85..a21c93c 100644
--- a/src/daemon/daemon.conf.in
+++ b/src/daemon/daemon.conf.in
@@ -25,7 +25,9 @@
 ; allow-exit = yes
 ; use-pid-file = yes
 ; system-instance = no
+ at if @HAVE_DBUS@
 ; local-server-type = user
+ at endif
 ; enable-shm = yes
 ; shm-size-bytes = 0 # setting this 0 will use the system-default, usually 64 MiB
 ; lock-memory = no
@@ -57,6 +59,7 @@
 
 ; flat-volumes = yes
 
+ at if @HAVE_SYS_RESOURCE_H@
 ; rlimit-fsize = -1
 ; rlimit-data = -1
 ; rlimit-stack = -1
@@ -72,6 +75,7 @@
 ; rlimit-nice = 31
 ; rlimit-rtprio = 9
 ; rlimit-rttime = 1000000
+ at endif
 
 ; default-sample-format = s16le
 ; default-sample-rate = 44100
-- 
1.7.1




More information about the pulseaudio-discuss mailing list