[vlc-devel] [PATCH] Configure.ac: fix check for 32 bit luac on some platforms

david.fuhrmann at gmail.com david.fuhrmann at gmail.com
Thu Mar 6 16:40:05 CET 2014


From: David Fuhrmann <david.fuhrmann at googlemail.com>

---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 1572ad6..4567a32 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1528,7 +1528,7 @@ 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|cut -d' ' -f2` != 0404], [
+  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 using lua from contrib.])
   ])
 fi
-- 
1.8.3.4 (Apple Git-47)




More information about the vlc-devel mailing list