diff -r 4232a5da1af2 -r 690b5524b895 config.h.in --- a/config.h.in Wed Nov 28 04:27:33 2012 +0200 +++ b/config.h.in Wed Nov 28 18:38:52 2012 +0200 @@ -27,6 +27,9 @@ // define this if you are building with lua 5.2 #cmakedefine HAVE_LUA52 +// define this if you want lua to create alias to '/lua' at module loading +#cmakedefine ENABLE_LUA_ALIAS + // define this to enable exporting mcabber connection for lua-loudmouth #cmakedefine LLM_CONNECTION_ENABLE @@ -41,9 +44,14 @@ #define PROJECT_VERSION ( "${PROJECT_VERSION}" ) +#define MLUA_COMMAND_NAME "lua${LUA_VERSION}" +#define OPT_MLUA_RC "${OPT_MLUA_RC}" +#define OPT_MLUA_LM_DEBUG "${OPT_MLUA_LM_DEBUG}" + #ifndef HAVE_LUA52 # define lua_rawlen lua_objlen # define luaL_setfuncs(STATE, REGTABLE, IGZERO) luaL_register ( STATE, NULL, REGTABLE ) +# define info_lua5_2 info_lua5_1 #endif #ifdef DEBUG