From 0eb10c6303dadf29be349b0331e6029b5ae03298 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 2 Mar 2018 15:31:51 -0300 Subject: [PATCH] 'LUA_USE_READLINE' moved to the make file --- luaconf.h | 4 +--- makefile | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/luaconf.h b/luaconf.h index e600bbf1..5a62ddac 100644 --- a/luaconf.h +++ b/luaconf.h @@ -1,5 +1,5 @@ /* -** $Id: luaconf.h,v 1.264 2018/02/20 20:52:50 roberto Exp roberto $ +** $Id: luaconf.h,v 1.265 2018/02/27 18:47:32 roberto Exp roberto $ ** Configuration file for Lua ** See Copyright Notice in lua.h */ @@ -61,14 +61,12 @@ #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) #define LUA_USE_POSIX #define LUA_USE_DLOPEN /* MacOS does not need -ldl */ -#define LUA_USE_READLINE /* needs an extra library: -lreadline */ #endif diff --git a/makefile b/makefile index 1a98ccd9..b298486e 100644 --- a/makefile +++ b/makefile @@ -54,7 +54,7 @@ LOCAL = $(TESTS) $(CWARNS) -g -DEXTERNMEMCHECK # enable Linux goodies -MYCFLAGS= $(LOCAL) -std=c99 -DLUA_USE_LINUX +MYCFLAGS= $(LOCAL) -std=c99 -DLUA_USE_LINUX -DLUA_USE_READLINE MYLDFLAGS= $(LOCAL) -Wl,-E MYLIBS= -ldl -lreadline