mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-22 22:31:28 +02:00
MINOR: report the Lua version in -vv
As of the other libraries used by haproxy, it can be useful to display the Lua version used at compilation time. A new line is added to "haproxy -vv", which shows if Lua is supported by the binary, and with which version it was compiled.
This commit is contained in:
parent
577a36a174
commit
47eb2193d7
@ -334,6 +334,12 @@ void display_build_opts()
|
|||||||
printf("Built without PCRE support (using libc's regex instead)\n");
|
printf("Built without PCRE support (using libc's regex instead)\n");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef USE_LUA
|
||||||
|
printf("Built with Lua version : %s\n", LUA_RELEASE);
|
||||||
|
#else
|
||||||
|
printf("Built without Lua support\n");
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(CONFIG_HAP_TRANSPARENT) || defined(CONFIG_HAP_CTTPROXY)
|
#if defined(CONFIG_HAP_TRANSPARENT) || defined(CONFIG_HAP_CTTPROXY)
|
||||||
printf("Built with transparent proxy support using:"
|
printf("Built with transparent proxy support using:"
|
||||||
#if defined(CONFIG_HAP_CTTPROXY)
|
#if defined(CONFIG_HAP_CTTPROXY)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user