support for build with current Lua version 5.4.3

On some platforms this may require:
	make spotless
	make fetch-lua

I did attempt to force a reminder message about the latter to
Makefile.top this time, and hope that works correctly for everyone.
This commit is contained in:
nhmall
2021-06-02 19:12:47 -04:00
parent 9e59977c79
commit e69808987e
15 changed files with 47 additions and 41 deletions

View File

@@ -131,7 +131,7 @@ DEBUGINFO = Y
# This marks the end of the BUILD DECISIONS section.
#==============================================================================
!IFNDEF LUA_VERSION
LUAVER=5.4.2
LUAVER=5.4.3
!ELSE
LUAVER=$(LUA_VERSION)
!ENDIF
@@ -140,7 +140,7 @@ LUAVER=$(LUA_VERSION)
# Location of LUA
#
# Original source needs to be obtained from:
# http://www.lua.org/ftp/lua-5.4.2.tar.gz
# http://www.lua.org/ftp/lua-5.4.3.tar.gz
#
# This build assumes that the LUA sources are located
# at the specified location. If they are actually elsewhere
@@ -384,7 +384,7 @@ OPTIONS_FILE = $(DAT)\options
#===============-=================================================
# LUA library
# Source from http://www.lua.org/ftp/lua-5.4.2.tar.gz
# Source from http://www.lua.org/ftp/lua-5.4.3.tar.gz
#=================================================================
!IFNDEF LUAVER
@@ -400,6 +400,9 @@ LUAVER = 5.4.1
!IF "$(LUATMP)" == "5.4.2"
LUAVER = 5.4.2
!ENDIF
!IF "$(LUATMP)" == "5.4.3"
LUAVER = 5.4.3
!ENDIF
!ELSE
!ERROR NetHack 3.7 requires LUA so LUATOP must be defined
!ENDIF
@@ -410,7 +413,7 @@ LUATMP = $(LUATMP:-BETA=) #strip suffix if exists "-BETA"
!IF "$(LUATMP)" == "5.3.5"
LUAVER = 5.3.5
!ELSE
LUAVER = 5.4.2
LUAVER = 5.4.3
!ENDIF
!ENDIF
!ENDIF