mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-13 21:36:00 +03:00
Configure: actually disable Lua on systems with liblua5.1
In particular, on CentOS 7.3.1611 building libmodsecurity with default configure options ends up with failure while compiling src/engine/lua.cc, while config.log states that Lua was disabled.
This commit is contained in:
parent
c1cd668acb
commit
f4a05b6e1f
@ -116,6 +116,10 @@ fi
|
||||
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.])
|
||||
LUA_FOUND=2
|
||||
LUA_CFLAGS=
|
||||
LUA_DISPLAY=
|
||||
LUA_LDADD=
|
||||
LUA_LDFLAGS=
|
||||
fi
|
||||
|
||||
AC_SUBST(LUA_FOUND)
|
||||
|
Loading…
x
Reference in New Issue
Block a user