[vlc-commits] Fix LUAC check if CONTRIB_DIR is not set

Rafaël Carré git at videolan.org
Fri Oct 25 19:10:22 CEST 2013


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Fri Oct 25 19:10:07 2013 +0200| [7fb4e4b5bbbe407f7fdf46d69261c2a01f0a7ff3] | committer: Rafaël Carré

Fix LUAC check if CONTRIB_DIR is not set

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

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

diff --git a/configure.ac b/configure.ac
index 63fbe8d..bcd9e06 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1535,7 +1535,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|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