FS-7180: add --enable-sytem-lua configure arg to allow building mod_lua against system lua and allow mod_lua to build against lua 5.1 or 5.2

This commit is contained in:
Michael Jerris
2015-01-20 11:48:00 -05:00
parent 46cf8a4dce
commit 07d09b7869
3 changed files with 17 additions and 15 deletions
@@ -9,6 +9,9 @@ extern "C" {
}
#include <switch_cpp.h>
#ifndef lua_pushglobaltable
#define lua_pushglobaltable(L) lua_pushvalue(L,LUA_GLOBALSINDEX)
#endif
typedef struct{
lua_State* L;