--- vlc-1.1.1/configure.ac~ 2010-07-19 23:21:46.000000000 +0200
+++ vlc-1.1.1/configure.ac 2010-07-22 09:14:02.123884890 +0200
-@@ -1614,7 +1614,7 @@
- plugins (default enabled)]))
- if test "${enable_lua}" != "no"
- then
-- PKG_CHECK_MODULES(LUA, lua5.1,
-+ PKG_CHECK_MODULES(LUA, lua51,
- [ have_lua=yes ],
+@@ -1511,7 +1511,7 @@
[
- AC_MSG_WARN([lua5.1 not found, trying lua >= 5.1 instead])
-@@ -1644,7 +1644,7 @@
- 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_ARG_VAR([LUAC], [LUA byte compiler])
-- AC_PATH_PROGS(LUAC,[${LUAC} luac], [false])
-+ AC_PATH_PROGS(LUAC,[${LUAC} luac51], [false])
- AS_IF([test "${LUAC}" = "false"], [
- AC_MSG_ERROR([Could not find the LUA byte compiler.])
- ])
+ AC_MSG_WARN([${LUA_PKG_ERRORS}, trying lua 5.1 instead])
+
+- PKG_CHECK_MODULES(LUA, lua5.1,
++ PKG_CHECK_MODULES(LUA, lua51,
+ [ have_lua=yes ],
+ [
+ AC_MSG_WARN([${LUA_PKG_ERRORS}, trying lua >= 5.1 instead])