[vlc-devel] commit: Don't build the rtp module when you don't have gcrypt ( I hope it still (Antoine Cellerier )

git version control git at videolan.org
Mon Jun 30 22:32:57 CEST 2008


vlc | branch: master | Antoine Cellerier <dionoea at videolan.org> | Mon Jun 30 22:27:47 2008 +0200| [7cf574445a92ad4be1d237beff532c545f291766]

Don't build the rtp module when you don't have gcrypt (I hope it still
works when you have it :p)

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7cf574445a92ad4be1d237beff532c545f291766
---

 modules/demux/Modules.am |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/modules/demux/Modules.am b/modules/demux/Modules.am
index 3e19434..459d742 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




More information about the vlc-devel mailing list