Skip to content

Commit e671235

Browse files
authored
Merge pull request #1639 from defanator/v3/skip_lua51
Configure: actually disable Lua on systems with liblua5.1
2 parents c1cd668 + f4a05b6 commit e671235

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)