gzip fixes
[platform/upstream/libwebsockets.git] / lws_config.h.in
1 /* lws_config.h  Generated from lws_config.h.in  */
2
3 #ifndef NDEBUG
4         #ifndef _DEBUG
5                 #define _DEBUG
6         #endif
7 #endif
8
9 #define LWS_INSTALL_DATADIR "${CMAKE_INSTALL_PREFIX}/share"
10
11 /* Define to 1 to use wolfSSL/CyaSSL as a replacement for OpenSSL.
12  * LWS_OPENSSL_SUPPORT needs to be set also for this to work. */
13 #cmakedefine USE_WOLFSSL
14
15 /* Also define to 1 (in addition to USE_WOLFSSL) when using the
16   (older) CyaSSL library */
17 #cmakedefine USE_OLD_CYASSL
18 #cmakedefine LWS_USE_BORINGSSL
19
20 #cmakedefine LWS_USE_MBEDTLS
21 #cmakedefine LWS_USE_POLARSSL
22 #cmakedefine LWS_WITH_ESP8266
23
24 #cmakedefine LWS_WITH_PLUGINS
25 #cmakedefine LWS_WITH_NO_LOGS
26
27 /* The Libwebsocket version */
28 #cmakedefine LWS_LIBRARY_VERSION "${LWS_LIBRARY_VERSION}"
29
30 #define LWS_LIBRARY_VERSION_MAJOR ${LWS_LIBRARY_VERSION_MAJOR}
31 #define LWS_LIBRARY_VERSION_MINOR ${LWS_LIBRARY_VERSION_MINOR}
32 #define LWS_LIBRARY_VERSION_PATCH ${LWS_LIBRARY_VERSION_PATCH}
33 /* LWS_LIBRARY_VERSION_NUMBER looks like 1005001 for e.g. version 1.5.1 */
34 #define LWS_LIBRARY_VERSION_NUMBER (LWS_LIBRARY_VERSION_MAJOR*1000000)+(LWS_LIBRARY_VERSION_MINOR*1000)+LWS_LIBRARY_VERSION_PATCH
35
36 /* The current git commit hash that we're building from */
37 #cmakedefine LWS_BUILD_HASH "${LWS_BUILD_HASH}"
38
39 /* Build with OpenSSL support */
40 #cmakedefine LWS_OPENSSL_SUPPORT
41
42 /* The client should load and trust CA root certs it finds in the OS */
43 #cmakedefine LWS_SSL_CLIENT_USE_OS_CA_CERTS
44
45 /* Sets the path where the client certs should be installed. */
46 #cmakedefine LWS_OPENSSL_CLIENT_CERTS "${LWS_OPENSSL_CLIENT_CERTS}"
47
48 /* Turn off websocket extensions */
49 #cmakedefine LWS_NO_EXTENSIONS
50
51 /* Enable libev io loop */
52 #cmakedefine LWS_USE_LIBEV
53
54 /* Enable libuv io loop */
55 #cmakedefine LWS_USE_LIBUV
56
57 /* Build with support for ipv6 */
58 #cmakedefine LWS_USE_IPV6
59
60 /* Build with support for UNIX domain socket */
61 #cmakedefine LWS_USE_UNIX_SOCK
62
63 /* Build with support for HTTP2 */
64 #cmakedefine LWS_USE_HTTP2
65
66 /* Turn on latency measuring code */
67 #cmakedefine LWS_LATENCY
68
69 /* Don't build the daemonizeation api */
70 #cmakedefine LWS_NO_DAEMONIZE
71
72 /* Build without server support */
73 #cmakedefine LWS_NO_SERVER
74
75 /* Build without client support */
76 #cmakedefine LWS_NO_CLIENT
77
78 /* If we should compile with MinGW support */
79 #cmakedefine LWS_MINGW_SUPPORT
80
81 /* Use the BSD getifaddrs that comes with libwebsocket, for uclibc support */
82 #cmakedefine LWS_BUILTIN_GETIFADDRS
83
84 /* use SHA1() not internal libwebsockets_SHA1 */
85 #cmakedefine LWS_SHA1_USE_OPENSSL_NAME
86
87 /* SSL server using ECDH certificate */
88 #cmakedefine LWS_SSL_SERVER_WITH_ECDH_CERT
89 #cmakedefine LWS_HAVE_SSL_CTX_set1_param
90 #cmakedefine LWS_HAVE_X509_VERIFY_PARAM_set1_host
91
92 #cmakedefine LWS_HAVE_UV_VERSION_H
93
94 /* CGI apis */
95 #cmakedefine LWS_WITH_CGI
96
97 /* whether the Openssl is recent enough, and / or built with, ecdh */
98 #cmakedefine LWS_HAVE_OPENSSL_ECDH_H
99
100 /* HTTP Proxy support */
101 #cmakedefine LWS_WITH_HTTP_PROXY
102
103 /* HTTP Ranges support */
104 #cmakedefine LWS_WITH_RANGES
105
106 /* Http access log support */
107 #cmakedefine LWS_WITH_ACCESS_LOG
108 #cmakedefine LWS_WITH_SERVER_STATUS
109
110 #cmakedefine LWS_WITH_STATEFUL_URLDECODE
111
112 /* Maximum supported service threads */
113 #define LWS_MAX_SMP ${LWS_MAX_SMP}
114
115 /* Lightweight JSON Parser */
116 #cmakedefine LWS_WITH_LEJP
117
118 /* SMTP */
119 #cmakedefine LWS_WITH_SMTP
120
121 /* OPTEE */
122 #cmakedefine LWS_PLAT_OPTEE
123
124 #cmakedefine LWS_FALLBACK_GETHOSTBYNAME
125 ${LWS_SIZEOFPTR_CODE}