lua

A copy of the Lua development repository
Log | Files | Refs | README

commit 0eb10c6303dadf29be349b0331e6029b5ae03298
parent 00008b8ed0aca4540a2d5480316a01c7172fb8ba
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date:   Fri,  2 Mar 2018 15:31:24 -0300

'LUA_USE_READLINE' moved to the make file

Diffstat:
Mluaconf.h | 4+---
Mmakefile | 2+-
2 files changed, 2 insertions(+), 4 deletions(-)

diff --git 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 @@ -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