<div dir="ltr">Greetings,<div><br></div><div>I see that Lua version (not luajit) is hardcoded to v5.1.</div><div>Is there a reason for this? I have experimented little with <a href="http://www.gnu.org/software/autoconf-archive/ax_lua.html">http://www.gnu.org/software/autoconf-archive/ax_lua.html</a></div><div>and at least on FreeBSD suricata autotools do not have a problem to find "default" Lua installed (5.2 in my case).</div><div><br></div><div>Here are the patches I do apply to achieve this:</div><div><br></div><div><a href="https://github.com/cheffo/FreeBSD-Ports/blob/master/security/suricata/files/patch-aclocal.m4">https://github.com/cheffo/FreeBSD-Ports/blob/master/security/suricata/files/patch-aclocal.m4</a><br></div><div><a href="https://github.com/cheffo/FreeBSD-Ports/blob/master/security/suricata/files/patch-configure.ac">https://github.com/cheffo/FreeBSD-Ports/blob/master/security/suricata/files/patch-configure.ac</a><br></div><div><a href="https://github.com/cheffo/FreeBSD-Ports/blob/master/security/suricata/files/patch-m4_ax_lua.m4">https://github.com/cheffo/FreeBSD-Ports/blob/master/security/suricata/files/patch-m4_ax_lua.m4</a><br></div><div><br></div><div>P.S. I did this only on FreeBSD but with small additions in <a href="http://configure.ac">configure.ac</a> I guess it will work for other operating systems too?</div><div><br></div><div><br></div></div>