From 7cf574445a92ad4be1d237beff532c545f291766 Mon Sep 17 00:00:00 2001 From: Antoine Cellerier Date: Mon, 30 Jun 2008 22:27:47 +0200 Subject: [PATCH] Don't build the rtp module when you don't have gcrypt (I hope it still works when you have it :p) --- modules/demux/Modules.am | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/demux/Modules.am b/modules/demux/Modules.am index 3e19434965..459d7428eb 100644 --- a/modules/demux/Modules.am +++ b/modules/demux/Modules.am @@ -48,7 +48,6 @@ libvlc_LTLIBRARIES += \ librawdv_plugin.la \ librawvid_plugin.la \ libreal_plugin.la \ - librtp_plugin.la \ libsmf_plugin.la \ libsubtitle_plugin.la \ libtta_plugin.la \ @@ -60,7 +59,10 @@ libvlc_LTLIBRARIES += \ libxa_plugin.la \ $(NULL) +if HAVE_LIBGCRYPT # RTP plugin +libvlc_LTLIBRARIES += \ + librtp_plugin.la librtp_plugin_la_SOURCES = \ rtp.c rtp.h rtpsession.c librtp_plugin_la_CFLAGS = $(AM_CFLAGS) -I$(top_srcdir)/libs/srtp @@ -68,3 +70,4 @@ librtp_plugin_la_LIBADD = $(AM_LIBADD) \ $(top_builddir)/libs/srtp/libvlc_srtp.la librtp_plugin_la_DEPENDENCIES = \ $(top_builddir)/libs/srtp/libvlc_srtp.la +endif -- GitLab