1 /* config.h.in. Generated from configure.ac by autoheader. */
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
13 /* The Libwebsocket version */
14 #cmakedefine LWS_LIBRARY_VERSION "${LWS_LIBRARY_VERSION}"
16 /* The current git commit hash that we're building from */
17 #cmakedefine LWS_BUILD_HASH "${LWS_BUILD_HASH}"
19 /* Build with OpenSSL support */
20 #cmakedefine LWS_OPENSSL_SUPPORT
22 /* The client should load and trust CA root certs it finds in the OS */
23 #cmakedefine LWS_SSL_CLIENT_USE_OS_CA_CERTS
25 /* Sets the path where the client certs should be installed. */
26 #cmakedefine LWS_OPENSSL_CLIENT_CERTS "${LWS_OPENSSL_CLIENT_CERTS}"
28 /* Turn off websocket extensions */
29 #cmakedefine LWS_NO_EXTENSIONS
31 /* Enable libev io loop */
32 #cmakedefine LWS_USE_LIBEV
34 /* Build with support for ipv6 */
35 #cmakedefine LWS_USE_IPV6
37 /* Build with support for HTTP2 */
38 #cmakedefine LWS_USE_HTTP2
40 /* Turn on latency measuring code */
41 #cmakedefine LWS_LATENCY
43 /* Don't build the daemonizeation api */
44 #cmakedefine LWS_NO_DAEMONIZE
46 /* Build without server support */
47 #cmakedefine LWS_NO_SERVER
49 /* Build without client support */
50 #cmakedefine LWS_NO_CLIENT
52 /* If we should compile with MinGW support */
53 #cmakedefine LWS_MINGW_SUPPORT
55 /* Use the BSD getifaddrs that comes with libwebsocket, for uclibc support */
56 #cmakedefine LWS_BUILTIN_GETIFADDRS
58 /* Define to 1 if you have the `bzero' function. */
59 #cmakedefine HAVE_BZERO
61 /* Define to 1 if you have the <dlfcn.h> header file. */
62 #cmakedefine HAVE_DLFCN_H
64 /* Define to 1 if you have the <fcntl.h> header file. */
65 #cmakedefine HAVE_FCNTL_H
67 /* Define to 1 if you have the `fork' function. */
68 #cmakedefine HAVE_FORK
70 /* Define to 1 if you have the `getenv’ function. */
71 #cmakedefine HAVE_GETENV
73 /* Define to 1 if you have the <in6addr.h> header file. */
74 #cmakedefine HAVE_IN6ADDR_H
76 /* Define to 1 if you have the <inttypes.h> header file. */
77 #cmakedefine HAVE_INTTYPES_H
79 /* Define to 1 if you have the `ssl' library (-lssl). */
80 //#cmakedefine HAVE_LIBSSL
82 /* Define to 1 if your system has a GNU libc compatible `malloc' function, and
84 #cmakedefine HAVE_MALLOC
86 /* Define to 1 if you have the <memory.h> header file. */
87 #cmakedefine HAVE_MEMORY_H
89 /* Define to 1 if you have the `memset' function. */
90 #cmakedefine HAVE_MEMSET
92 /* Define to 1 if you have the <netinet/in.h> header file. */
93 #cmakedefine HAVE_NETINET_IN_H
95 /* Define to 1 if your system has a GNU libc compatible `realloc' function,
96 and to 0 otherwise. */
97 #cmakedefine HAVE_REALLOC
99 /* Define to 1 if you have the `socket' function. */
100 #cmakedefine HAVE_SOCKET
102 /* Define to 1 if you have the <stdint.h> header file. */
103 #cmakedefine HAVE_STDINT_H
105 /* Define to 1 if you have the <stdlib.h> header file. */
106 #cmakedefine HAVE_STDLIB_H
108 /* Define to 1 if you have the `strerror' function. */
109 #cmakedefine HAVE_STRERROR
111 /* Define to 1 if you have the <strings.h> header file. */
112 #cmakedefine HAVE_STRINGS_H
114 /* Define to 1 if you have the <string.h> header file. */
115 #cmakedefine HAVE_STRING_H
117 /* Define to 1 if you have the <sys/prctl.h> header file. */
118 #cmakedefine HAVE_SYS_PRCTL_H
120 /* Define to 1 if you have the <sys/socket.h> header file. */
121 #cmakedefine HAVE_SYS_SOCKET_H
123 /* Define to 1 if you have the <sys/stat.h> header file. */
124 #cmakedefine HAVE_SYS_STAT_H
126 /* Define to 1 if you have the <sys/types.h> header file. */
127 #cmakedefine HAVE_SYS_TYPES_H
129 /* Define to 1 if you have the <unistd.h> header file. */
130 #cmakedefine HAVE_UNISTD_H
132 /* Define to 1 if you have the `vfork' function. */
133 #cmakedefine HAVE_VFORK
135 /* Define to 1 if you have the <vfork.h> header file. */
136 #cmakedefine HAVE_VFORK_H
138 /* Define to 1 if `fork' works. */
139 #cmakedefine HAVE_WORKING_FORK
141 /* Define to 1 if `vfork' works. */
142 #cmakedefine HAVE_WORKING_VFORK
144 /* Define to 1 if you have the <zlib.h> header file. */
145 #cmakedefine HAVE_ZLIB_H
147 /* Define to the sub-directory in which libtool stores uninstalled libraries.
149 #undef LT_OBJDIR // We're not using libtool
151 /* Version number of package */
154 /* Define to rpl_malloc if the replacement function should be used. */
157 /* Define to `int' if <sys/types.h> does not define. */
160 /* Define to rpl_realloc if the replacement function should be used. */
163 /* Define to `unsigned int' if <sys/types.h> does not define. */
166 /* Define to 1 if we have getifaddrs */
167 #cmakedefine HAVE_GETIFADDRS
169 /* Define as `fork' if `vfork' does not work. */
172 /* Define if the inline keyword doesn't exist. */
173 #cmakedefine inline ${inline}