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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 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




[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux