]> git.sesse.net Git - vlc/commitdiff
Fix configure to enable the stream_out_switcher if requiere.
authorRémi Duraffort <ivoire@videolan.org>
Wed, 8 Jul 2009 08:58:51 +0000 (10:58 +0200)
committerRémi Duraffort <ivoire@videolan.org>
Wed, 8 Jul 2009 09:17:21 +0000 (11:17 +0200)
configure.ac

index 0c21b399f3e6d7e2119ac6c5974b8a18908c2c65..503872e802652c0da9c2fca07ce541039cbaf804 100644 (file)
@@ -1709,6 +1709,9 @@ AM_CONDITIONAL(ENABLE_SOUT, [test "${enable_sout}" != "no"])
 
 AC_ARG_ENABLE(switcher,
   [  --enable-switcher       Stream-out switcher plugin (default disabled)])
+AS_IF([test "${enable_switcher}" = "yes"], [
+  VLC_ADD_PLUGIN([stream_out_switcher])
+])
 
 dnl Check for libshout
 AC_ARG_ENABLE(shout,