From 55f83b01f81f997205fbf13a94a60a4475a02861 Mon Sep 17 00:00:00 2001 From: Alexander Traud Date: Fri, 23 Oct 2020 16:49:02 +0200 Subject: [PATCH] BuildSystem: Enable Lua 5.4. Note to maintainers: Lua 5.4, Lua 5.3, and Lua 5.2 have not been tested at runtime with pbx_lua. Until then, use the lowest available version of Lua, if you enabled the module pbx_lua at all. Change-Id: Ie5270448b11fcb4e2a53d899e4fe7fea793ce7e0 --- configure | 2 +- configure.ac | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 273cd86341..2cb9b4a8ae 100755 --- a/configure +++ b/configure @@ -29283,7 +29283,7 @@ fi -for ver in 5.3 5.2 5.1; do +for ver in 5.4 5.3 5.2 5.1; do if test "x${PBX_LUA}" != "x1" -a "${USE_LUA}" != "no"; then pbxlibdir="" diff --git a/configure.ac b/configure.ac index 2c3af3bc1d..29afc8361d 100644 --- a/configure.ac +++ b/configure.ac @@ -2524,7 +2524,7 @@ if test -z "$__opus_include" -o x"$__opus_include" = x" " ; then fi AST_EXT_LIB_CHECK([OPUSFILE], [opusfile], [op_open_callbacks], [opus/opusfile.h], [], [$__opus_include]) -for ver in 5.3 5.2 5.1; do +for ver in 5.4 5.3 5.2 5.1; do AST_EXT_LIB_CHECK([LUA], lua${ver}, [luaL_newstate], lua${ver}/lua.h, [-lm]) if test "x${PBX_LUA}" = "x1" ; then if test x"${LUA_DIR}" = x; then -- 2.47.2