[vlc-devel] commit: Mention the lua intf move in NEWS. Print an error if lua wasn' t found and wasn't explicitly disabled in configure. (Antoine Cellerier )

git version control git at videolan.org
Mon Dec 21 21:56:12 CET 2009


vlc | branch: master | Antoine Cellerier <dionoea at videolan.org> | Sun Dec 20 15:57:47 2009 +0100| [3c1df96cda8086f605f2eacaa5653c9e43ec45ac] | committer: Antoine Cellerier 

Mention the lua intf move in NEWS. Print an error if lua wasn't found and wasn't explicitly disabled in configure.

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

 NEWS         |    5 +++++
 configure.ac |    2 ++
 2 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/NEWS b/NEWS
index e4cec49..cfe4e5e 100644
--- a/NEWS
+++ b/NEWS
@@ -63,6 +63,11 @@ Service discovery:
 Stream output:
  * New smem module, streaming to memory
 
+Interfaces:
+ * Renamed the legacy rc, telnet and http interfaces to oldrc, oldtelnet
+   and oldhttp.
+ * rc, telnet and http are now implemented using the lua interface system.
+
 Mac OS X Interface:
  * Completely reworked user interface (based upon works from GSoC 2008)
 
diff --git a/configure.ac b/configure.ac
index 5f549c2..e0f7397 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1794,6 +1794,8 @@ then
   if test "x${have_lua}" = "xyes" ;  then
      VLC_ADD_LIBS([lua],[$LUA_LIBS])
      VLC_ADD_CFLAGS([lua],[$LUA_CFLAGS])
+  else
+      AC_MSG_ERROR([Could not find lua. Lua is needed for some interfaces (rc, telnet, http) as well as many other custom scripts. Use --disable-lua to ignore this error.])
   fi
 fi
 AM_CONDITIONAL(BUILD_LUA, [test "${have_lua}" = "yes"])




More information about the vlc-devel mailing list