]> git.sesse.net Git - vlc/commitdiff
Check for luac
authorRémi Denis-Courmont <remi@remlab.net>
Sun, 14 Feb 2010 19:13:13 +0000 (21:13 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Sun, 14 Feb 2010 19:13:13 +0000 (21:13 +0200)
configure.ac
share/Makefile.am

index 733c424aee2ad4fc45f4d57d82782faa0f72d4de..1f9f22f963f8137d19451a41ea41e2647f1b0ea0 100644 (file)
@@ -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"])
 
index 02d41a70716d539151c900f33e61aeea1b1c5540..abff0296584a7b31a41c6f0111ca3dc12e6eeba9 100644 (file)
@@ -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   $@";