client: fix redirect ssl to ssl
[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 #cmakedefine LWS_WITH_ESP32
24
25 #cmakedefine LWS_WITH_PLUGINS
26 #cmakedefine LWS_WITH_NO_LOGS
27
28 /* The Libwebsocket version */
29 #cmakedefine LWS_LIBRARY_VERSION "${LWS_LIBRARY_VERSION}"
30
31 #define LWS_LIBRARY_VERSION_MAJOR ${LWS_LIBRARY_VERSION_MAJOR}
32 #define LWS_LIBRARY_VERSION_MINOR ${LWS_LIBRARY_VERSION_MINOR}
33 #define LWS_LIBRARY_VERSION_PATCH ${LWS_LIBRARY_VERSION_PATCH}
34 /* LWS_LIBRARY_VERSION_NUMBER looks like 1005001 for e.g. version 1.5.1 */
35 #define LWS_LIBRARY_VERSION_NUMBER (LWS_LIBRARY_VERSION_MAJOR*1000000)+(LWS_LIBRARY_VERSION_MINOR*1000)+LWS_LIBRARY_VERSION_PATCH
36
37 /* The current git commit hash that we're building from */
38 #cmakedefine LWS_BUILD_HASH "${LWS_BUILD_HASH}"
39
40 /* Build with OpenSSL support */
41 #cmakedefine LWS_OPENSSL_SUPPORT
42
43 /* The client should load and trust CA root certs it finds in the OS */
44 #cmakedefine LWS_SSL_CLIENT_USE_OS_CA_CERTS
45
46 /* Sets the path where the client certs should be installed. */
47 #cmakedefine LWS_OPENSSL_CLIENT_CERTS "${LWS_OPENSSL_CLIENT_CERTS}"
48
49 /* Turn off websocket extensions */
50 #cmakedefine LWS_NO_EXTENSIONS
51
52 /* Enable libev io loop */
53 #cmakedefine LWS_USE_LIBEV
54
55 /* Enable libuv io loop */
56 #cmakedefine LWS_USE_LIBUV
57
58 /* Enable libevent io loop */
59 #cmakedefine LWS_USE_LIBEVENT
60
61 /* Build with support for ipv6 */
62 #cmakedefine LWS_USE_IPV6
63
64 /* Build with support for UNIX domain socket */
65 #cmakedefine LWS_USE_UNIX_SOCK
66
67 /* Build with support for HTTP2 */
68 #cmakedefine LWS_USE_HTTP2
69
70 /* Turn on latency measuring code */
71 #cmakedefine LWS_LATENCY
72
73 /* Don't build the daemonizeation api */
74 #cmakedefine LWS_NO_DAEMONIZE
75
76 /* Build without server support */
77 #cmakedefine LWS_NO_SERVER
78
79 /* Build without client support */
80 #cmakedefine LWS_NO_CLIENT
81
82 /* If we should compile with MinGW support */
83 #cmakedefine LWS_MINGW_SUPPORT
84
85 /* Use the BSD getifaddrs that comes with libwebsocket, for uclibc support */
86 #cmakedefine LWS_BUILTIN_GETIFADDRS
87
88 /* use SHA1() not internal libwebsockets_SHA1 */
89 #cmakedefine LWS_SHA1_USE_OPENSSL_NAME
90
91 /* SSL server using ECDH certificate */
92 #cmakedefine LWS_SSL_SERVER_WITH_ECDH_CERT
93 #cmakedefine LWS_HAVE_SSL_CTX_set1_param
94 #cmakedefine LWS_HAVE_X509_VERIFY_PARAM_set1_host
95
96 #cmakedefine LWS_HAVE_UV_VERSION_H
97
98 /* CGI apis */
99 #cmakedefine LWS_WITH_CGI
100
101 /* whether the Openssl is recent enough, and / or built with, ecdh */
102 #cmakedefine LWS_HAVE_OPENSSL_ECDH_H
103
104 /* HTTP Proxy support */
105 #cmakedefine LWS_WITH_HTTP_PROXY
106
107 /* HTTP Ranges support */
108 #cmakedefine LWS_WITH_RANGES
109
110 /* Http access log support */
111 #cmakedefine LWS_WITH_ACCESS_LOG
112 #cmakedefine LWS_WITH_SERVER_STATUS
113
114 #cmakedefine LWS_WITH_STATEFUL_URLDECODE
115
116 /* Maximum supported service threads */
117 #define LWS_MAX_SMP ${LWS_MAX_SMP}
118
119 /* Lightweight JSON Parser */
120 #cmakedefine LWS_WITH_LEJP
121
122 /* SMTP */
123 #cmakedefine LWS_WITH_SMTP
124
125 /* OPTEE */
126 #cmakedefine LWS_PLAT_OPTEE
127
128 /* ZIP FOPS */
129 #cmakedefine LWS_WITH_ZIP_FOPS
130 #cmakedefine LWS_HAVE_STDINT_H
131
132 #cmakedefine LWS_AVOID_SIGPIPE_IGN
133
134 #cmakedefine LWS_FALLBACK_GETHOSTBYNAME
135
136 #cmakedefine LWS_WITH_STATS
137 #cmakedefine LWS_WITH_SOCKS5
138
139 #cmakedefine LWS_HAVE_SYS_CAPABILITY_H
140 #cmakedefine LWS_HAVE_LIBCAP
141
142 #cmakedefine LWS_HAVE_ATOLL
143 #cmakedefine LWS_HAVE__ATOI64
144 #cmakedefine LWS_HAVE__STAT32I64
145
146 /* OpenSSL various APIs */
147
148 #cmakedefine LWS_HAVE_TLS_CLIENT_METHOD
149 #cmakedefine LWS_HAVE_TLSV1_2_CLIENT_METHOD
150 #cmakedefine LWS_HAVE_SSL_SET_INFO_CALLBACK
151
152 #cmakedefine LWS_HAS_INTPTR_T
153
154 ${LWS_SIZEOFPTR_CODE}