--- old/src/luaconf.h	2006-04-10 20:27:23.000000000 +0200
+++ new/src/luaconf.h	2006-11-15 14:53:07.000000000 +0100
@@ -36,7 +36,6 @@
 #if defined(LUA_USE_LINUX)
 #define LUA_USE_POSIX
 #define LUA_USE_DLOPEN		/* needs an extra library: -ldl */
-#define LUA_USE_READLINE	/* needs some extra libraries */
 #endif
 
 #if defined(LUA_USE_MACOSX)
--- old/src/Makefile	2012-02-13 21:41:22.000000000 +0100
+++ old/src/Makefile	2019-07-09 09:53:00.000000000 +0100
@@ -98,3 +98,3 @@
 linux:  
-	$(MAKE) all MYCFLAGS=-DLUA_USE_LINUX MYLIBS="-Wl,-E -ldl -lreadline -lhistory -lncurses"
+	$(MAKE) all MYCFLAGS=-DLUA_USE_LINUX MYLIBS="-Wl,-E -ldl"
 
