On 2014/12/09 07:37, Brent Cook wrote:
> If an app calls a function, it should probably check if that function
> exists during configuration time, rather than inferring if define A
> exists, function B and C must exist. Especially things that are just
> protocol constant definitions. If they are using autoconf, a call to
> AC_CHECK_FUNCS would be better, IMHO.

Neither nginx nor haproxy use autoconf. nginx has it's own config
testing infrastructure where this could be added, though they appear
to be deliberately trying to keep the maze of #ifdef and configuration
tests to a minimum. haproxy has a simple Makefile with USE_* flags
set for different system types, it's quite clean and straightforward
but doesn't allow for this type of test.

> But, I believe jsing@ has a patch in-review to merge the rest ALPN
> support any way.

Good :)

Reply via email to