BUILD: Makefile: Add Lua 5.4 autodetect

This patch is based on:
https://www.mail-archive.com/haproxy@formilux.org/msg39689.html
Thanks to Callum Farmer!

Signed-off-by: Christian Ruppert <idl0r@qasl.de>
(cherry picked from commit 3214b44702d4a4fb7564f8561396fb96d40e3881)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit 28389ee271b78f9fd1dfac659ab14c56d4cce8b7)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit 18873a85e75b3dc3c2728fb84c958dc167604892)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
2 files changed