Use zaptel timers to wake up processes
[asterisk/asterisk.git] / Makefile
index 4ff600f..0d225a0 100755 (executable)
--- a/Makefile
+++ b/Makefile
@@ -79,6 +79,8 @@ ifeq (${OSARCH},OpenBSD)
 CFLAGS+=-pthread
 endif
 
+CFLAGS+=$(shell if [ -f /usr/include/linux/zaptel.h ]; then echo "-DZAPTEL_OPTIMIZATIONS"; fi)
+
 LIBEDIT=editline/libedit.a
 
 ASTERISKVERSION=$(shell if [ -f .version ]; then cat .version; fi)