Module: sems
Branch: master
Commit: e3974079d78dcc836e0326a41a4940d63dfa7c3c
URL: 
https://github.com/sems-server/sems/commit/e3974079d78dcc836e0326a41a4940d63dfa7c3c

Author: Szókovács Róbert <robert.szokov...@gamma.co.uk>
Committer: Szókovács Róbert <robert.szokov...@gamma.co.uk>
Date: 2015-07-02T15:20:20+02:00

makefile: expose DISABLE_DAEMON_MODE as a Makefile.defs option

---

Modified: Makefile.defs

---

Diff:  
https://github.com/sems-server/sems/commit/e3974079d78dcc836e0326a41a4940d63dfa7c3c.diff
Patch: 
https://github.com/sems-server/sems/commit/e3974079d78dcc836e0326a41a4940d63dfa7c3c.patch

---

diff --git a/Makefile.defs b/Makefile.defs
index 040d2a4..0c93b3b 100644
--- a/Makefile.defs
+++ b/Makefile.defs
@@ -76,6 +76,10 @@ USE_INTERNAL_RESAMPLER = yes
 #WITH_ZRTP = yes
 
 #
+# Disable the ability to run sems as daemon
+#DISABLE_DAEMON_MODE = yes
+
+#
 # exclude some modules from compilation?
 # e.g. python modules:
 
@@ -132,6 +136,10 @@ ifeq ($(PROPAGATE_UNPARSED_REPLY_HEADERS),yes)
 CPPFLAGS += -DPROPAGATE_UNPARSED_REPLY_HEADERS
 endif
 
+ifeq ($(DISABLE_DAEMON_MODE),yes)
+CPPFLAGS += -DDISABLE_DAEMON_MODE
+endif
+
 # Additions for Solaris support.
 ifeq ($(OS),solaris)
        CPPFLAGS += -DHAVE_SYS_SOCKIO_H -DBSD_COMP -fPIC -include 
compat/solaris.h

_______________________________________________
Semsdev mailing list
Semsdev@lists.iptel.org
http://lists.iptel.org/mailman/listinfo/semsdev

Reply via email to