[vlc-devel] commit: Don't bother with mux/ and stream_out/ is sout is disabled ( Rémi Denis-Courmont )

git version control git at videolan.org
Mon Apr 28 22:03:29 CEST 2008


vlc | branch: master | Rémi Denis-Courmont <rem at videolan.org> | Mon Apr 28 23:04:33 2008 +0300| [9f0dae38aedb4976a4e61cfd7b53975236702cf2]

Don't bother with mux/ and stream_out/ is sout is disabled

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

 configure.ac        |    1 +
 modules/Makefile.am |   10 ++++++++--
 2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index 1a9514c..b76426d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1762,6 +1762,7 @@ then
 
   AC_DEFINE(ENABLE_SOUT, 1, Define if you want the stream output support)
 fi
+AM_CONDITIONAL(ENABLE_SOUT, [test "${enable_sout}" != "no"])
 
 AC_ARG_ENABLE(switcher,
   [  --enable-switcher       Stream-out switcher plugin (default disabled)])
diff --git a/modules/Makefile.am b/modules/Makefile.am
index 9a19d31..4289188 100644
--- a/modules/Makefile.am
+++ b/modules/Makefile.am
@@ -11,14 +11,20 @@ SUBDIRS = \
 	gui \
 	meta_engine \
 	misc \
-	mux \
 	packetizer \
 	services_discovery \
-	stream_out \
 	video_chroma \
 	video_filter \
 	video_output \
 	visualization
+EXTRA_SUBDIRS = \
+	mux \
+	stream_out
+if ENABLE_SOUT
+SUBDIRS += mux stream_out
+endif
+
+DIST_SUBDIRS = $(SUBDIRS) $(EXTRA_SUBDIRS)
 
 dist_noinst_SCRIPTS = genmf list.sh
 dist_noinst_DATA = LIST




More information about the vlc-devel mailing list