[vlc-devel] commit: VLM depends on sout ( Rémi Denis-Courmont )

git version control git at videolan.org
Tue May 27 18:17:57 CEST 2008


vlc | branch: master | Rémi Denis-Courmont <rem at videolan.org> | Tue May 27 19:19:32 2008 +0300| [d5ba879486adfb0e65526752673fce6e524e481d]

VLM depends on sout

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

 configure.ac |   13 ++++++++-----
 1 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/configure.ac b/configure.ac
index ddcd87d..0c80843 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1759,11 +1759,14 @@ dnl
 dnl VideoLAN manager
 dnl
 AC_ARG_ENABLE(vlm,
-  [  --enable-vlm            VideoLAN manager (default enabled)])
-if test "${enable_vlm}" != "no"
-then
-  AC_DEFINE(ENABLE_VLM, 1, Define if you want the VideoLAN manager support)
-fi
+  [  --enable-vlm            VideoLAN manager (default enabled)],,
+  [enable_vlm="${enable_sout}"])
+AS_IF([test "${enable_vlm}" != "no"], [
+  AS_IF([test "${enable_sout}" = "no"], [
+    AC_MSG_ERROR([VLM requires the stream output. Do not use --disable-sout.])
+  ])
+  AC_DEFINE(ENABLE_VLM, 1, [Define if you want the VideoLAN manager support])
+])
 
 dnl
 dnl Growl notification plugin




More information about the vlc-devel mailing list