LuaDist/lua — pull request #2 by yamad (2012-07-02 15:15:59+00:00)
Title: LUAI_MAXSHORTLEN missing

I needed this patch for LuaDist to build on linux (and I assume everywhere else). It looks like Lua 5.2.1 added the constant LUAI_MAXSHORTLEN, which was missing from src/luaconf.h.in. This patch just pulls in the relevant lines, and allows lua to compile.

Reviewing the update to Lua 5.2.1 more generally, it looks like the update of src/luaconf.h.in undid some LuaDist-specific stuff and missed some other vanilla Lua updates. I started to make a more general patch, but decided that I didn't know how to handle the LuaDist-specific stuff. For instance, are we supposed to let cmake or luaconf.h configure the platform-specific path/directory variables?