summaryrefslogtreecommitdiff
path: root/mk/modules.mk
diff options
context:
space:
mode:
authorAlfred E. Heggestad <aeh@db.org>2015-11-28 19:30:12 +0100
committerAlfred E. Heggestad <aeh@db.org>2015-11-28 19:30:12 +0100
commita174c5e311500f92a93ed32572ddaddb176648fe (patch)
tree6db2241700328c69214e7d644df5cecb5f9d1fbf /mk/modules.mk
parente190789828a23d3075b98eac198001eebc83e498 (diff)
modules: added detection of zrtp.so module
Diffstat (limited to 'mk/modules.mk')
-rw-r--r--mk/modules.mk8
1 files changed, 7 insertions, 1 deletions
diff --git a/mk/modules.mk b/mk/modules.mk
index 0322d64..b09d2dd 100644
--- a/mk/modules.mk
+++ b/mk/modules.mk
@@ -24,6 +24,7 @@
# USE_GST1 Gstreamer 1.0 audio module
# USE_GST_VIDEO Gstreamer 0.10 video module
# USE_GST_VIDEO1 Gstreamer 1.0 video module
+# USE_GTK GTK+ user interface
# USE_ILBC iLBC audio codec
# USE_ISAC iSAC audio codec
# USE_L16 L16 audio codec
@@ -46,7 +47,6 @@
# USE_V4L2 Video4Linux2 module
# USE_WINWAVE Windows audio driver
# USE_X11 X11 video output
-# USE_GTK GTK+ user interface
#
@@ -178,6 +178,9 @@ USE_V4L2 := $(shell [ -f $(SYSROOT)/include/linux/videodev2.h ] || \
USE_X11 := $(shell [ -f $(SYSROOT)/include/X11/Xlib.h ] || \
[ -f $(SYSROOT)/local/include/X11/Xlib.h ] || \
[ -f $(SYSROOT_ALT)/include/X11/Xlib.h ] && echo "yes")
+USE_ZRTP := $(shell [ -f $(SYSROOT)/include/libzrtp/zrtp.h ] || \
+ [ -f $(SYSROOT)/local/include/libzrtp/zrtp.h ] || \
+ [ -f $(SYSROOT_ALT)/include/libzrtp/zrtp.h ] && echo "yes")
USE_VPX := $(shell [ -f $(SYSROOT)/include/vpx/vp8.h ] \
|| [ -f $(SYSROOT)/local/include/vpx/vp8.h ] \
|| [ -f $(SYSROOT_ALT)/include/vpx/vp8.h ] \
@@ -388,6 +391,9 @@ endif
ifneq ($(USE_X11),)
MODULES += x11 x11grab
endif
+ifneq ($(USE_ZRTP),)
+MODULES += zrtp
+endif
ifneq ($(USE_GTK),)
MODULES += gtk
endif