[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Small change to luaconf.h
- From: Jim Whitehead II <jnwhiteh@...>
- Date: Thu, 4 Aug 2011 19:12:23 +0100
On Thu, Aug 4, 2011 at 6:57 PM, Luiz Henrique de Figueiredo
>> I previously reported this for Lua-5.1, but I'd like to reiterate it
>> for Lua-5.2 if possible before that version is released. I quite
>> frequently script the installation of Lua in a non-global environment,
>> sandboxing it to a project directory. This works fine, I can specify
>> INSTALL_TOP on the command line, but the path /usr/local is still
>> hardcoded in luaconf.h and there's no way to overwrite it without
>> editing the file directly.
> My take on this is http://lua-users.org/lists/lua-l/2006-10/msg00580.html
> The main point is that changing how Lua is built from the command line
> instead of editing luaconf.h is the wrong way to go about it because
> it opens the door to inconsistencies between what Lua clients see
> from the included public headers and what the Lua library implements.
> This has been the cause of some obscure problems in the past, before
> luaconf.h replaced Makefile config files.
Okay, I'll continue making the change using sed/patches.