[Asterisk-code-review] BuildSystem: Enable Lua 5.4. (asterisk[master])

Friendly Automation asteriskteam at digium.com
Wed Oct 28 08:49:40 CDT 2020


Friendly Automation has submitted this change. ( https://gerrit.asterisk.org/c/asterisk/+/15069 )

Change subject: BuildSystem: Enable Lua 5.4.
......................................................................

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
---
M configure
M configure.ac
2 files changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Joshua Colp: Looks good to me, but someone else must approve
  George Joseph: Looks good to me, approved
  Friendly Automation: Approved for Submit



diff --git a/configure b/configure
index 6ab81b4..b424bd8 100755
--- a/configure
+++ b/configure
@@ -29630,7 +29630,7 @@
 
 
 
-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 0fe37b0..88309d0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2557,7 +2557,7 @@
 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

-- 
To view, visit https://gerrit.asterisk.org/c/asterisk/+/15069
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Change-Id: Ie5270448b11fcb4e2a53d899e4fe7fea793ce7e0
Gerrit-Change-Number: 15069
Gerrit-PatchSet: 2
Gerrit-Owner: Alexander Traud <pabstraud at compuserve.com>
Gerrit-Reviewer: Friendly Automation
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Joshua Colp <jcolp at sangoma.com>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20201028/80a08a02/attachment-0001.html>


More information about the asterisk-code-review mailing list