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

David Fuhrmann git at videolan.org
Sat Mar 8 21:08:08 CET 2014


vlc | branch: master | David Fuhrmann <david.fuhrmann at googlemail.com> | Thu Mar  6 16:38:48 2014 +0100| [4b925047838c633d71165a0f9a9c879870203c64] | committer: David Fuhrmann

Configure.ac: fix check for 32 bit luac on some platforms

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4b925047838c633d71165a0f9a9c879870203c64
---

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

diff --git a/configure.ac b/configure.ac
index ee788fc..e9defb8 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



More information about the vlc-commits mailing list