From c1a39bafc390d5a0022f2a5d07e098bde546d1df Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Tue, 21 Feb 2012 12:55:12 +0100 Subject: [PATCH] lua: disable readline if package is not enabled or on stage 0 --- lua/lua/lua.conf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lua/lua/lua.conf b/lua/lua/lua.conf index d6688c3f6..0a13d5aa2 100644 --- a/lua/lua/lua.conf +++ b/lua/lua/lua.conf @@ -16,6 +16,11 @@ # we patch in autotools support autogen=1 +# packages support +if atstage toolchain || ! pkginstalled readline; then + var_append extraconfopt ' ' '--without-readline' +fi + # create missing directories lua_postmake() { for x in "$lualibdir" "$luadatadir"; do