]> git.sesse.net Git - vlc/blobdiff - configure.ac
configure: Use the full path to luac to support our contrib system.
[vlc] / configure.ac
index e640bead2fb6ab7dc1993fb922a646cd8867f2d8..3df2b8ae838a329e61dcac32c7606c6d5da106a3 100644 (file)
@@ -1620,7 +1620,7 @@ then
   else
       AC_MSG_ERROR([Could not find lua. Lua is needed for some interfaces (rc, telnet, http) as well as many other custom scripts. Use --disable-lua to ignore this error.])
   fi
-  AC_CHECK_PROGS(LUAC, luac)
+  AC_PATH_PROG(LUAC, luac)
 fi
 AM_CONDITIONAL(BUILD_LUA, [test "${have_lua}" = "yes"])