add ipv6 support
[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 /* Build with support for ipv6 */
33 #cmakedefine LWS_WITH_IPV6
34
35 /* Turn on latency measuring code */
36 #cmakedefine LWS_LATENCY
37
38 /* Don't build the daemonizeation api */
39 #cmakedefine LWS_NO_DAEMONIZE
40
41 /* Build without server support */
42 #cmakedefine LWS_NO_SERVER
43
44 /* Build without client support */
45 #cmakedefine LWS_NO_CLIENT
46
47 /* If we should compile with MinGW support */
48 #cmakedefine LWS_MINGW_SUPPORT
49
50 /* Use the BSD getifaddrs that comes with libwebsocket, for uclibc support */
51 #cmakedefine LWS_BUILTIN_GETIFADDRS
52
53 /* Define to 1 if you have the `bzero' function. */
54 #cmakedefine HAVE_BZERO
55
56 /* Define to 1 if you have the <dlfcn.h> header file. */
57 #cmakedefine HAVE_DLFCN_H
58
59 /* Define to 1 if you have the <fcntl.h> header file. */
60 #cmakedefine HAVE_FCNTL_H
61
62 /* Define to 1 if you have the `fork' function. */
63 #cmakedefine HAVE_FORK
64
65 /* Define to 1 if you have the `getenv’ function. */
66 #cmakedefine HAVE_GETENV
67
68 /* Define to 1 if you have the <inttypes.h> header file. */
69 #cmakedefine HAVE_INTTYPES_H
70
71 /* Define to 1 if you have the `ssl' library (-lssl). */
72 //#cmakedefine HAVE_LIBSSL
73
74 /* Define to 1 if your system has a GNU libc compatible `malloc' function, and
75    to 0 otherwise. */
76 #cmakedefine HAVE_MALLOC
77
78 /* Define to 1 if you have the <memory.h> header file. */
79 #cmakedefine HAVE_MEMORY_H
80
81 /* Define to 1 if you have the `memset' function. */
82 #cmakedefine HAVE_MEMSET
83
84 /* Define to 1 if you have the <netinet/in.h> header file. */
85 #cmakedefine HAVE_NETINET_IN_H
86
87 /* Define to 1 if your system has a GNU libc compatible `realloc' function,
88    and to 0 otherwise. */
89 #cmakedefine HAVE_REALLOC
90
91 /* Define to 1 if you have the `socket' function. */
92 #cmakedefine HAVE_SOCKET
93
94 /* Define to 1 if you have the <stdint.h> header file. */
95 #cmakedefine HAVE_STDINT_H
96
97 /* Define to 1 if you have the <stdlib.h> header file. */
98 #cmakedefine HAVE_STDLIB_H
99
100 /* Define to 1 if you have the `strerror' function. */
101 #cmakedefine HAVE_STRERROR
102
103 /* Define to 1 if you have the <strings.h> header file. */
104 #cmakedefine HAVE_STRINGS_H
105
106 /* Define to 1 if you have the <string.h> header file. */
107 #cmakedefine HAVE_STRING_H
108
109 /* Define to 1 if you have the <sys/prctl.h> header file. */
110 #cmakedefine HAVE_SYS_PRCTL_H
111
112 /* Define to 1 if you have the <sys/socket.h> header file. */
113 #cmakedefine HAVE_SYS_SOCKET_H
114
115 /* Define to 1 if you have the <sys/stat.h> header file. */
116 #cmakedefine HAVE_SYS_STAT_H
117
118 /* Define to 1 if you have the <sys/types.h> header file. */
119 #cmakedefine HAVE_SYS_TYPES_H
120
121 /* Define to 1 if you have the <unistd.h> header file. */
122 #cmakedefine HAVE_UNISTD_H
123
124 /* Define to 1 if you have the `vfork' function. */
125 #cmakedefine HAVE_VFORK
126
127 /* Define to 1 if you have the <vfork.h> header file. */
128 #cmakedefine HAVE_VFORK_H
129
130 /* Define to 1 if `fork' works. */
131 #cmakedefine HAVE_WORKING_FORK
132
133 /* Define to 1 if `vfork' works. */
134 #cmakedefine HAVE_WORKING_VFORK
135
136 /* Define to 1 if you have the <zlib.h> header file. */
137 #cmakedefine HAVE_ZLIB_H
138
139 /* Define to the sub-directory in which libtool stores uninstalled libraries.
140    */
141 #undef LT_OBJDIR // We're not using libtool
142
143 /* Define to 1 if you have the ANSI C header files. */
144 #cmakedefine STDC_HEADERS
145
146 /* Version number of package */
147 #cmakedefine VERSION
148
149 /* Define to rpl_malloc if the replacement function should be used. */
150 #cmakedefine malloc
151
152 /* Define to `int' if <sys/types.h> does not define. */
153 #cmakedefine pid_t
154
155 /* Define to rpl_realloc if the replacement function should be used. */
156 #cmakedefine realloc
157
158 /* Define to `unsigned int' if <sys/types.h> does not define. */
159 #cmakedefine size_t
160
161 /* Define to 1 if we have getifaddrs */
162 #cmakedefine HAVE_GETIFADDRS
163
164 /* Define as `fork' if `vfork' does not work. */
165 //#cmakedefine vfork
166
167 /* Define if the inline keyword doesn't exist. */
168 #cmakedefine inline