[vlc-devel] [PATCH][RFC] configure: remove 32-bit Lua test

Sean McGovern gseanmcg at gmail.com
Thu Apr 7 18:37:04 CEST 2016


Lua 5.3+ functions correctly with 64-bit integers
---
I imagine this will generate some controversy, but it would
be nice for 64-bit builds with Lua to work again.
---
 configure.ac |    3 ---
 1 file changed, 3 deletions(-)

diff --git a/configure.ac b/configure.ac
index 1842021..6fac8dc 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1554,9 +1554,6 @@ then
   AS_IF([test "${LUAC}" = "false"], [
     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_ERROR([You need 32-bits luac when using lua from contrib.])
-  ])
 fi
 AM_CONDITIONAL(BUILD_LUA, [test "${have_lua}" = "yes"])
 
-- 
1.7.9.2



More information about the vlc-devel mailing list