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