BUILD: makefile: build the features list dynamically

The BUILD_FEATURES string was created too early to inherit implicit
additions. This could make the features list report that some features
were disabled while they had later been enabled. Better make it a macro
that is interpreted where needed based on the current state of each
option.

(cherry picked from commit 39d6c348370a8d801b918263a551e300696dd64b)
Signed-off-by: Willy Tarreau <w@1wt.eu>
(cherry picked from commit 650959acbecc2a607629fd905a39e0689a02ec92)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit 161ba95c0f4f80f46721a3fa796d9f636f9d9a20)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit b2958d97406624ac410e20b6e71c829ae0e07e74)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
1 file changed