lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

> I’d like to request a small change to the way luaconf.h generates the default paths for libraries and so on.
> Right now, it does
>   #define LUA_ROOT “/usr/local”
> And I’d love to have it be:
>    #ifndef LUA_ROOT
>    #define LUA_ROOT “/usr/local”
>    #endif

Note that you already can define LUA_PATH_DEFAULT and LUA_CPATH_DEFAULT.
It is a little more verbose (and redundant) than defining LUA_ROOT, but
they give the same final result, as LUA_ROOT is used only to build those
two definitions.

-- Roberto