Skip to content
Permalink
Browse files

fix(build): Look for Lua 5.3 executables with the version in their name

  • Loading branch information
alerque committed Jan 30, 2020
1 parent 992a889 commit 3952bf8de762723ec6dff950bc9a498fe6e991d3
Showing with 2 additions and 2 deletions.
  1. +2 −2 m4/ax_lua.m4
@@ -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.
@@ -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])])])

0 comments on commit 3952bf8

Please sign in to comment.
You can’t perform that action at this time.