--- lua-5.1.1.orig/src/Makefile 2006-10-01 01:55:02.000000000 +0200 +++ lua-5.1.1/src/Makefile 2006-10-01 01:56:21.000000000 +0200 @@ -92,7 +92,7 @@ $(MAKE) all MYCFLAGS= linux: - $(MAKE) all MYCFLAGS=-DLUA_USE_LINUX MYLIBS="-Wl,-E -ldl -lreadline -lhistory -lncurses" + $(MAKE) all MYCFLAGS=-DLUA_USE_LINUX MYLIBS="-Wl,-E -ldl" macosx: $(MAKE) all MYCFLAGS=-DLUA_USE_MACOSX --- lua-5.1.1.orig/src/luaconf.h 2006-10-01 01:55:02.000000000 +0200 +++ lua-5.1.1/src/luaconf.h 2006-10-01 01:57:13.000000000 +0200 @@ -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)