Skip to content

Commit

Permalink
configure.ac: Use AC_PATH_PROGS for luac
Browse files Browse the repository at this point in the history
  • Loading branch information
chouquette committed Apr 12, 2016
1 parent f6b2930 commit 37c69b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -1550,7 +1550,7 @@ then
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_ARG_VAR([LUAC], [LUA byte compiler])
AC_CHECK_PROGS(LUAC, [${LUAC} luac5.3 luac], [false])
AC_PATH_PROGS(LUAC, [${LUAC} luac5.3 luac], [false])
AS_IF([test "${LUAC}" = "false"], [
AC_MSG_ERROR([Could not find the LUA byte compiler.])
])
Expand Down

0 comments on commit 37c69b3

Please sign in to comment.