Skip to content

Commit f4a05b6

Browse files
committed
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.
1 parent c1cd668 commit f4a05b6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

build/lua.m4

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,10 @@ fi
116116
if test "${lua_5_1}" = 1 ; then
117117
AC_MSG_NOTICE([LUA 5.1 was found and it is not currently supported on libModSecurity. LUA_VERSION: ${LUA_VERSION}. LUA build disabled.])
118118
LUA_FOUND=2
119+
LUA_CFLAGS=
120+
LUA_DISPLAY=
121+
LUA_LDADD=
122+
LUA_LDFLAGS=
119123
fi
120124
121125
AC_SUBST(LUA_FOUND)

0 commit comments

Comments
 (0)