Merge pull request #1639 from defanator/v3/skip_lua51

Configure: actually disable Lua on systems with liblua5.1
This commit is contained in:
Victor Hora
2018-02-14 10:09:19 -05:00
committed by GitHub

View File

@@ -116,6 +116,10 @@ fi
if test "${lua_5_1}" = 1 ; then if test "${lua_5_1}" = 1 ; then
AC_MSG_NOTICE([LUA 5.1 was found and it is not currently supported on libModSecurity. LUA_VERSION: ${LUA_VERSION}. LUA build disabled.]) AC_MSG_NOTICE([LUA 5.1 was found and it is not currently supported on libModSecurity. LUA_VERSION: ${LUA_VERSION}. LUA build disabled.])
LUA_FOUND=2 LUA_FOUND=2
LUA_CFLAGS=
LUA_DISPLAY=
LUA_LDADD=
LUA_LDFLAGS=
fi fi
AC_SUBST(LUA_FOUND) AC_SUBST(LUA_FOUND)