fixed crash when receiving notify messages
[lcr.git] / Makefile
index 3fbf24b..a0cc34f 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -11,6 +11,7 @@
 
 WITH-CRYPTO = 42 # comment this out, if no libcrypto should be used
 WITH-ASTERISK = 42 # comment this out, if you don't require built-in Asterisk channel driver.
+#WITH-SOCKET = 42 # compile for socket based mISDN (
 # note: check your location and the names of libraries.
 
 # select location to install
@@ -46,6 +47,9 @@ CFLAGS += $(LINUX_INCLUDE) $(MISDNUSER_INCLUDE)
 ifdef WITH-CRYPTO
 CFLAGS += -DCRYPTO
 endif
+ifdef WITH-SOCKET
+CFLAGS += -DSOCKET_MISDN
+endif
 LIBDIR += $(MISDNUSER_LIB)
 ifdef WITH-CRYPTO
 LIBDIR += -L/usr/local/ssl/lib