Skip to content

Commit

Permalink
fix(build): Look for Lua 5.3 executables with the version in their name
Browse files Browse the repository at this point in the history
  • Loading branch information
alerque committed Jan 30, 2020
1 parent 992a889 commit 3952bf8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions m4/ax_lua.m4
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ AC_DEFUN([AX_PROG_LUA],
dnl Find a Lua interpreter.
m4_define_default([_AX_LUA_INTERPRETER_LIST],
[lua lua5.2 lua52 lua5.1 lua51 lua50])
[lua lua5.3 lua53 lua5.2 lua52 lua5.1 lua51 lua5.0 lua50])
m4_if([$1], [],
[ dnl No version check is needed. Find any Lua interpreter.
Expand Down Expand Up @@ -608,7 +608,7 @@ AC_DEFUN([AX_LUA_MODULE],
AC_MSG_CHECKING([for required Lua library $1])
AS_IF([$LUA -e 'require("$1")' 2>/dev/null], [
AC_MSG_RESULT([found])
$3],
$3],
[
AC_MSG_RESULT([not found])
m4_default([$4], [AC_MSG_ERROR([cannot find Lua library $1 - install from luarocks package $2])])])
Expand Down

0 comments on commit 3952bf8

Please sign in to comment.