BUILD: report the whole feature set with their status in haproxy -vv
It's not convenient not to know the status of default options, and
requires the user to know what option is enabled by default in each
target. With this patch, a new "Features list" line is added to the
output of "haproxy -vv" to report the whole list of known features
with their respective status. They're prefixed with a "+" when enabled
or a "-" when disabled. The "USE_" prefix is removed for clarity.
diff --git a/src/haproxy.c b/src/haproxy.c
index 6a5abcb..cbcc80c 100644
--- a/src/haproxy.c
+++ b/src/haproxy.c
@@ -397,6 +397,9 @@
#ifdef BUILD_OPTIONS
"\n OPTIONS = " BUILD_OPTIONS
#endif
+#ifdef BUILD_FEATURES
+ "\n\nFeature list : " BUILD_FEATURES
+#endif
"\n\nDefault settings :"
"\n bufsize = %d, maxrewrite = %d, maxpollevents = %d"
"\n\n",