]> git.sesse.net Git - vlc/commitdiff
Fix LUAC check if CONTRIB_DIR is not set
authorRafaël Carré <funman@videolan.org>
Fri, 25 Oct 2013 17:10:07 +0000 (19:10 +0200)
committerRafaël Carré <funman@videolan.org>
Fri, 25 Oct 2013 17:10:07 +0000 (19:10 +0200)
configure.ac

index 63fbe8d6cc791f8b4ebd9517f1a10c1f02e66f6e..bcd9e0626b4c31dbd4570ac04997917008fb6d42 100644 (file)
@@ -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