]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MINOR] config: detect options not supported due to compilation options
authorCyril Bonté <cyril.bonte@free.fr>
Mon, 1 Nov 2010 18:26:00 +0000 (19:26 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 11 Nov 2010 08:26:28 +0000 (09:26 +0100)
commit62846b2674eb02e5790ddf52db6b856a2db39703
tree0167e114fb83394f2e105ac223b57e226e79e7bd
parentacd7d63ff9a566193d1f0eb6a3cea854ba265751
[MINOR] config: detect options not supported due to compilation options

Some options depends on the target architecture or compilation options.
When such an option is used on a compiled version that doesn't support it,
it's probably better to identify it as an unsupported option due to
compilation options instead of an unknown option.

Edit: better check on the empty capability than on the option bits. -Willy
src/cfgparse.c