lua-users home
lua-l archive

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


> I was upgrading my local install of Lua 5.3 and had to deal with modifying
> luaconf.h yet again. Usually I just apply a patch, but today I wrote a shell
> script

If you don't want to edit luaconf.h to reapply your customizations, just
add them at the end. You may have to do something like

     #undef LUA_ROOT
     #undef LUA_LDIR
     #undef LUA_CDIR
     ...

     #define LUA_ROOT        ...
     #define LUA_LDIR        ...
     #define LUA_CDIR        ...
     ...