Subject: [PATCH] Multiple changes in the build process
[platform/upstream/libwebsockets.git] / lws_config.h.in
1 /* config.h.in.  Generated from configure.ac by autoheader.  */
2
3 #ifndef NDEBUG
4         #ifndef _DEBUG
5                 #define _DEBUG
6         #endif
7 #endif
8
9 /* Define to 1 to use CyaSSL as a replacement for OpenSSL. 
10  * LWS_OPENSSL_SUPPORT needs to be set also for this to work. */
11 #cmakedefine USE_CYASSL
12
13 /* The Libwebsocket version */
14 #cmakedefine LWS_LIBRARY_VERSION "${LWS_LIBRARY_VERSION}"
15
16 /* The current git commit hash that we're building from */
17 #cmakedefine LWS_BUILD_HASH "${LWS_BUILD_HASH}"
18
19 /* Build with OpenSSL support */
20 #cmakedefine LWS_OPENSSL_SUPPORT
21
22 /* The client should load and trust CA root certs it finds in the OS */
23 #cmakedefine LWS_SSL_CLIENT_USE_OS_CA_CERTS
24
25 /* Sets the path where the client certs should be installed. */
26 #cmakedefine LWS_OPENSSL_CLIENT_CERTS "${LWS_OPENSSL_CLIENT_CERTS}"
27
28 /* Turn off websocket extensions */
29 #cmakedefine LWS_NO_EXTENSIONS
30
31 /* Enable libev io loop */
32 #cmakedefine LWS_USE_LIBEV
33
34 /* Build with support for ipv6 */
35 #cmakedefine LWS_USE_IPV6
36
37 /* Build with support for HTTP2 */
38 #cmakedefine LWS_USE_HTTP2
39
40 /* Turn on latency measuring code */
41 #cmakedefine LWS_LATENCY
42
43 /* Don't build the daemonizeation api */
44 #cmakedefine LWS_NO_DAEMONIZE
45
46 /* Build without server support */
47 #cmakedefine LWS_NO_SERVER
48
49 /* Build without client support */
50 #cmakedefine LWS_NO_CLIENT
51
52 /* If we should compile with MinGW support */
53 #cmakedefine LWS_MINGW_SUPPORT
54
55 /* Use the BSD getifaddrs that comes with libwebsocket, for uclibc support */
56 #cmakedefine LWS_BUILTIN_GETIFADDRS
57
58 /* Define to 1 if you have the `bzero' function. */
59 #cmakedefine HAVE_BZERO
60
61 /* Define to 1 if you have the <dlfcn.h> header file. */
62 #cmakedefine HAVE_DLFCN_H
63
64 /* Define to 1 if you have the <fcntl.h> header file. */
65 #cmakedefine HAVE_FCNTL_H
66
67 /* Define to 1 if you have the `fork' function. */
68 #cmakedefine HAVE_FORK
69
70 /* Define to 1 if you have the `getenv’ function. */
71 #cmakedefine HAVE_GETENV
72
73 /* Define to 1 if you have the <in6addr.h> header file. */
74 #cmakedefine HAVE_IN6ADDR_H
75
76 /* Define to 1 if you have the <inttypes.h> header file. */
77 #cmakedefine HAVE_INTTYPES_H
78
79 /* Define to 1 if you have the `ssl' library (-lssl). */
80 //#cmakedefine HAVE_LIBSSL
81
82 /* Define to 1 if your system has a GNU libc compatible `malloc' function, and
83    to 0 otherwise. */
84 #cmakedefine HAVE_MALLOC
85
86 /* Define to 1 if you have the <memory.h> header file. */
87 #cmakedefine HAVE_MEMORY_H
88
89 /* Define to 1 if you have the `memset' function. */
90 #cmakedefine HAVE_MEMSET
91
92 /* Define to 1 if you have the <netinet/in.h> header file. */
93 #cmakedefine HAVE_NETINET_IN_H
94
95 /* Define to 1 if your system has a GNU libc compatible `realloc' function,
96    and to 0 otherwise. */
97 #cmakedefine HAVE_REALLOC
98
99 /* Define to 1 if you have the `socket' function. */
100 #cmakedefine HAVE_SOCKET
101
102 /* Define to 1 if you have the <stdint.h> header file. */
103 #cmakedefine HAVE_STDINT_H
104
105 /* Define to 1 if you have the <stdlib.h> header file. */
106 #cmakedefine HAVE_STDLIB_H
107
108 /* Define to 1 if you have the `strerror' function. */
109 #cmakedefine HAVE_STRERROR
110
111 /* Define to 1 if you have the <strings.h> header file. */
112 #cmakedefine HAVE_STRINGS_H
113
114 /* Define to 1 if you have the <string.h> header file. */
115 #cmakedefine HAVE_STRING_H
116
117 /* Define to 1 if you have the <sys/prctl.h> header file. */
118 #cmakedefine HAVE_SYS_PRCTL_H
119
120 /* Define to 1 if you have the <sys/socket.h> header file. */
121 #cmakedefine HAVE_SYS_SOCKET_H
122
123 /* Define to 1 if you have the <sys/stat.h> header file. */
124 #cmakedefine HAVE_SYS_STAT_H
125
126 /* Define to 1 if you have the <sys/types.h> header file. */
127 #cmakedefine HAVE_SYS_TYPES_H
128
129 /* Define to 1 if you have the <unistd.h> header file. */
130 #cmakedefine HAVE_UNISTD_H
131
132 /* Define to 1 if you have the `vfork' function. */
133 #cmakedefine HAVE_VFORK
134
135 /* Define to 1 if you have the <vfork.h> header file. */
136 #cmakedefine HAVE_VFORK_H
137
138 /* Define to 1 if `fork' works. */
139 #cmakedefine HAVE_WORKING_FORK
140
141 /* Define to 1 if `vfork' works. */
142 #cmakedefine HAVE_WORKING_VFORK
143
144 /* Define to 1 if you have the <zlib.h> header file. */
145 #cmakedefine HAVE_ZLIB_H
146
147 /* Define to the sub-directory in which libtool stores uninstalled libraries.
148    */
149 #undef LT_OBJDIR // We're not using libtool
150
151 /* Version number of package */
152 #cmakedefine VERSION
153
154 /* Define to rpl_malloc if the replacement function should be used. */
155 #cmakedefine malloc
156
157 /* Define to `int' if <sys/types.h> does not define. */
158 #cmakedefine pid_t
159
160 /* Define to rpl_realloc if the replacement function should be used. */
161 #cmakedefine realloc
162
163 /* Define to `unsigned int' if <sys/types.h> does not define. */
164 #cmakedefine size_t
165
166 /* Define to 1 if we have getifaddrs */
167 #cmakedefine HAVE_GETIFADDRS
168
169 /* Define as `fork' if `vfork' does not work. */
170 //#cmakedefine vfork
171
172 /* Define if the inline keyword doesn't exist. */
173 #cmakedefine inline ${inline}