[vlc-devel] commit: Check for luac ( Rémi Denis-Courmont )

git version control git at videolan.org
Sun Feb 14 20:13:21 CET 2010


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Feb 14 21:13:13 2010 +0200| [22a57c82c3807727996271dff8f9a2921f3d5fd5] | committer: Rémi Denis-Courmont 

Check for luac

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

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

diff --git a/configure.ac b/configure.ac
index 733c424..1f9f22f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1615,6 +1615,7 @@ then
   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
+  AC_CHECK_PROGS(LUAC, luac)
 fi
 AM_CONDITIONAL(BUILD_LUA, [test "${have_lua}" = "yes"])
 
diff --git a/share/Makefile.am b/share/Makefile.am
index 02d41a7..abff029 100644
--- a/share/Makefile.am
+++ b/share/Makefile.am
@@ -186,8 +186,6 @@ DIST_osdmenu_default = \
 #
 vlcluadir = $(vlclibdir)/lua
 
-LUAC = luac
-
 luac_verbose = $(luac_verbose_$(V))
 luac_verbose_ = $(luac_verbose_$(AM_DEFAULT_VERBOSITY))
 luac_verbose_0 = @echo "  LUAC   $@";




More information about the vlc-devel mailing list