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 0c21b39..503872e 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)])
 
 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,
 
 dnl Check for libshout
 AC_ARG_ENABLE(shout,