[vlc-devel] [PATCH 1/6] Revert "Configure: disable-lua if correct luac is not found"

Rafaël Carré funman at videolan.org
Mon Jul 11 12:30:35 CEST 2016


This reverts commit a8770b1a188072dcf726610eac516e702e5e394b.

"This is temporary until we have a better solution"

The better solution is to go back to Lua 5.2
---
 configure.ac | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index 19406b1..3c31066 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1564,8 +1564,7 @@ then
     AC_MSG_ERROR([Could not find the LUA byte compiler.])
   ])
   AS_IF([test -d "${CONTRIB_DIR}" -a -f "${CONTRIB_DIR}/lib/liblua.a" -a `echo|${LUAC} -o - -|od -j 8 -N 2 -t x2|head -n 1|tr -s ' '|cut -d' ' -f2` != 0404], [
-    AC_MSG_WARN([You need 32-bits luac when using lua from contrib.])
-    have_lua=no
+    AC_MSG_ERROR([You need 32-bits luac when using lua from contrib.])
   ])
 fi
 AM_CONDITIONAL(BUILD_LUA, [test "${have_lua}" = "yes"])
-- 
2.7.4



More information about the vlc-devel mailing list