]> granicus.if.org Git - nethack/commitdiff
Revert "Make compiling the lua interpreter optional."
authorBart House <bart@barthouse.com>
Mon, 14 Dec 2020 08:24:05 +0000 (00:24 -0800)
committerBart House <bart@barthouse.com>
Tue, 15 Dec 2020 09:54:27 +0000 (01:54 -0800)
This reverts commit f89005efd7ce511b90870ae1076e4ec8836a8435.

sys/winnt/Makefile.gcc

index 96063d7cd7e5a03cf48a795b35cdb1b195e61e09..b4eb3b96c5abcb34bf74943b0fc1b50a04868192 100644 (file)
@@ -143,26 +143,10 @@ endif
 #    successfully build NetHack-3.7.
 #
 # By default we add lua to the build.
-#
 ifndef ADD_LUA
 ADD_LUA=Y
 LUATOP=../submodules/lua
 endif
-
-#---------------------------------------------------------------
-# Standalone LUA interpreter
-#
-# The source for the standalone interpreter (luac.c) is not kept with the
-# rest of the LUA source.
-# The source is kept at:
-#     https://github.com/lua/luac
-#
-# By default we will not build it.
-#
-ifndef WANT_LUAC
-WANT_LUAC=N
-endif
-
 #
 #==============================================================================
 # This marks the end of the BUILD DECISIONS section.
@@ -446,11 +430,7 @@ LUALIB   = $(O)lua-$(LUAVER).static.a
 LUADLL   = $(O)lua-$(LUAVER).a
 LUAINCL  = -I$(LUASRC)
 #LUAFLAGS = unix added -lm here?
-ifeq "$(WANT_LUAC)" "Y"
 LUATARGETS = lua.exe luac.exe $(LUADLL) $(LUALIB)
-else
-LUATARGETS = lua.exe $(LUADLL) $(LUALIB)
-endif
 
 LUASRCFILES =   lapi.c lauxlib.c lbaselib.c lcode.c    \
                lcorolib.c lctype.c ldblib.c ldebug.c ldo.c      \