define LUA_COMPAT_5_2 to allow build with newer lua versions

Signed-off-by: M. Liebmann <tuxcode.bbg@gmail.com>
This commit is contained in:
Stefan Seyfried
2015-12-13 13:56:56 +01:00
committed by M. Liebmann
parent 7f69a433ad
commit dbad3b069a

View File

@@ -186,6 +186,8 @@ if test "$enable_lua" = "yes"; then
AC_DEFINE(STATIC_LUAPOSIX,1,[Define to 1 for static lua build.])
])
])
# hack...
AC_DEFINE(LUA_COMPAT_5_2,1,[does not really belong in config.h, but is needed for build with lua 5.3+])
fi
AC_ARG_ENABLE(cleanup,