aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-11-20 20:38:37 +0100
committerMax Kellermann <max@duempel.org>2014-11-20 20:38:37 +0100
commited001e0cfb4362009d76b8ee56c61c21aed2fe95 (patch)
treeb2fed58edb389fb14bba474ea858408ecd6d90a2 /Makefile.am
parent26382713c26139e474bda5e74798e1201e036b82 (diff)
downloadmpd-ed001e0cfb4362009d76b8ee56c61c21aed2fe95.tar.gz
mpd-ed001e0cfb4362009d76b8ee56c61c21aed2fe95.tar.xz
mpd-ed001e0cfb4362009d76b8ee56c61c21aed2fe95.zip
configure.ac: add option "--disable-daemon"
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am9
1 files changed, 7 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index 72b6a0ca4..c065fa49e 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -186,9 +186,14 @@ if ANDROID
else
libmpd_a_SOURCES += \
src/unix/SignalHandlers.cxx src/unix/SignalHandlers.hxx \
- src/unix/Daemon.cxx src/unix/Daemon.hxx \
- src/unix/PidFile.hxx \
src/CommandLine.cxx src/CommandLine.hxx
+
+if ENABLE_DAEMON
+libmpd_a_SOURCES += \
+ src/unix/Daemon.cxx src/unix/Daemon.hxx \
+ src/unix/PidFile.hxx
+endif
+
endif
if ENABLE_DATABASE