]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: makefile: refactor support for 51DEGREES v3/v4
authorWilly Tarreau <w@1wt.eu>
Wed, 21 Dec 2022 17:54:36 +0000 (18:54 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 23 Dec 2022 15:53:35 +0000 (16:53 +0100)
commit3f2803e5cb96f87ddeaa6ad2f86d14d906b1a10f
tree2a535fbc1e6ddba94eb01cae2f4f1c732f33345e
parent6985e2a9a6f7fb08b7b124f66ca889a0fde8f60f
BUILD: makefile: refactor support for 51DEGREES v3/v4

In order to simplify maintenance and long-term evolutions, now the
feature remains enabled by setting USE_51DEGREES=1 and the version
is set in 51DEGREES_VER (3 or 4 are supported only). The default
version remains 3. All 51DEGREES flags are shared between both
versions and only use the "51DEGREES_" prefix.

The related CFLAGS and LDFLAGS can now be overridden using
51DEGREES_CFLAGS and 51DEGREES_LDFLAGS, both of which are automatically
collected into the respective OPTIONS_*. The USE_51DEGREES_V4 option is
now removed, and the doc was updated.
Makefile
doc/51Degrees-device-detection.txt
doc/configuration.txt