expose compiletime constants to setting from configure
authorAndy Green <andy.green@linaro.org>
Sat, 12 Jan 2013 15:42:17 +0000 (23:42 +0800)
committerAndy Green <andy.green@linaro.org>
Sat, 12 Jan 2013 15:42:17 +0000 (23:42 +0800)
commitc0d6b63c8317818feb254fe48ae1b14e1fc5115e
tree2398d088efb0bd6eb4ad962cbacfd69b83c41f91
parentd678ea3cd2b29022457ba6664ab71688c010c17f
expose compiletime constants to setting from configure

This patch allows control of the main compiletime constants in libwebsockets
from the configure commandline.

README is updated with documentation on what's available, how to set them
and the defaults.

The constants are logged with "info" severity (not visible by default) at
context create time.

The zlib constant previously exposed like this is moved to private-libwebsockets.h
so it can be printed along with the rest.

Signed-off-by: Andy Green <andy.green@linaro.org>
README-test-server
lib/extension-deflate-frame.c
lib/libwebsockets.c
lib/private-libwebsockets.h