2015-06-24 17:48:52 +02:00
|
|
|
|
/* lws_config.h Generated from lws_config.h.in */
|
2013-02-06 15:25:26 +09:00
|
|
|
|
|
2015-04-22 10:52:13 -07:00
|
|
|
|
#ifndef NDEBUG
|
|
|
|
|
#ifndef _DEBUG
|
|
|
|
|
#define _DEBUG
|
|
|
|
|
#endif
|
2013-02-22 09:28:13 +08:00
|
|
|
|
#endif
|
|
|
|
|
|
2015-08-09 22:56:32 +02:00
|
|
|
|
/* Define to 1 to use wolfSSL/CyaSSL as a replacement for OpenSSL.
|
2013-02-06 15:26:58 +09:00
|
|
|
|
* LWS_OPENSSL_SUPPORT needs to be set also for this to work. */
|
2015-08-08 18:54:49 +02:00
|
|
|
|
#cmakedefine USE_WOLFSSL
|
2013-02-06 15:25:26 +09:00
|
|
|
|
|
2015-08-09 22:56:32 +02:00
|
|
|
|
/* Also define to 1 (in addition to USE_WOLFSSL) when using the
|
|
|
|
|
(older) CyaSSL library */
|
|
|
|
|
#cmakedefine USE_OLD_CYASSL
|
|
|
|
|
|
2013-02-06 15:26:58 +09:00
|
|
|
|
/* The Libwebsocket version */
|
|
|
|
|
#cmakedefine LWS_LIBRARY_VERSION "${LWS_LIBRARY_VERSION}"
|
|
|
|
|
|
|
|
|
|
/* The current git commit hash that we're building from */
|
|
|
|
|
#cmakedefine LWS_BUILD_HASH "${LWS_BUILD_HASH}"
|
|
|
|
|
|
2013-02-06 15:27:27 +09:00
|
|
|
|
/* Build with OpenSSL support */
|
2013-02-06 15:26:58 +09:00
|
|
|
|
#cmakedefine LWS_OPENSSL_SUPPORT
|
|
|
|
|
|
2014-03-15 10:39:29 +08:00
|
|
|
|
/* The client should load and trust CA root certs it finds in the OS */
|
|
|
|
|
#cmakedefine LWS_SSL_CLIENT_USE_OS_CA_CERTS
|
|
|
|
|
|
2013-02-06 15:27:27 +09:00
|
|
|
|
/* Sets the path where the client certs should be installed. */
|
|
|
|
|
#cmakedefine LWS_OPENSSL_CLIENT_CERTS "${LWS_OPENSSL_CLIENT_CERTS}"
|
|
|
|
|
|
|
|
|
|
/* Turn off websocket extensions */
|
|
|
|
|
#cmakedefine LWS_NO_EXTENSIONS
|
|
|
|
|
|
2014-03-23 13:25:07 +08:00
|
|
|
|
/* Enable libev io loop */
|
|
|
|
|
#cmakedefine LWS_USE_LIBEV
|
|
|
|
|
|
2014-03-24 16:09:25 +08:00
|
|
|
|
/* Build with support for ipv6 */
|
2014-03-24 16:09:25 +08:00
|
|
|
|
#cmakedefine LWS_USE_IPV6
|
2014-03-24 16:09:25 +08:00
|
|
|
|
|
2014-04-03 14:33:48 +08:00
|
|
|
|
/* Build with support for HTTP2 */
|
|
|
|
|
#cmakedefine LWS_USE_HTTP2
|
|
|
|
|
|
2013-02-06 15:27:27 +09:00
|
|
|
|
/* Turn on latency measuring code */
|
|
|
|
|
#cmakedefine LWS_LATENCY
|
|
|
|
|
|
|
|
|
|
/* Don't build the daemonizeation api */
|
|
|
|
|
#cmakedefine LWS_NO_DAEMONIZE
|
|
|
|
|
|
2013-02-06 15:29:59 +09:00
|
|
|
|
/* Build without server support */
|
|
|
|
|
#cmakedefine LWS_NO_SERVER
|
|
|
|
|
|
|
|
|
|
/* Build without client support */
|
|
|
|
|
#cmakedefine LWS_NO_CLIENT
|
|
|
|
|
|
2013-02-06 15:27:27 +09:00
|
|
|
|
/* If we should compile with MinGW support */
|
|
|
|
|
#cmakedefine LWS_MINGW_SUPPORT
|
|
|
|
|
|
|
|
|
|
/* Use the BSD getifaddrs that comes with libwebsocket, for uclibc support */
|
|
|
|
|
#cmakedefine LWS_BUILTIN_GETIFADDRS
|
|
|
|
|
|
2013-02-06 15:25:26 +09:00
|
|
|
|
/* Define to 1 if you have the `bzero' function. */
|
2015-06-24 16:46:02 +02:00
|
|
|
|
#cmakedefine LWS_HAVE_BZERO
|
2013-02-06 15:25:26 +09:00
|
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <dlfcn.h> header file. */
|
2015-06-24 16:46:02 +02:00
|
|
|
|
#cmakedefine LWS_HAVE_DLFCN_H
|
2013-02-06 15:25:26 +09:00
|
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <fcntl.h> header file. */
|
2015-06-24 16:46:02 +02:00
|
|
|
|
#cmakedefine LWS_HAVE_FCNTL_H
|
2013-02-06 15:25:26 +09:00
|
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `fork' function. */
|
2015-06-24 16:46:02 +02:00
|
|
|
|
#cmakedefine LWS_HAVE_FORK
|
2013-02-06 15:25:26 +09:00
|
|
|
|
|
2014-02-28 02:32:03 +01:00
|
|
|
|
/* Define to 1 if you have the `getenv’ function. */
|
2015-06-24 16:46:02 +02:00
|
|
|
|
#cmakedefine LWS_HAVE_GETENV
|
2014-02-28 02:32:03 +01:00
|
|
|
|
|
2014-04-15 18:38:54 +02:00
|
|
|
|
/* Define to 1 if you have the <in6addr.h> header file. */
|
2015-06-24 16:46:02 +02:00
|
|
|
|
#cmakedefine LWS_HAVE_IN6ADDR_H
|
2014-04-15 18:38:54 +02:00
|
|
|
|
|
2013-02-06 15:25:26 +09:00
|
|
|
|
/* Define to 1 if you have the <inttypes.h> header file. */
|
2015-06-24 16:46:02 +02:00
|
|
|
|
#cmakedefine LWS_HAVE_INTTYPES_H
|
2013-02-06 15:25:26 +09:00
|
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `ssl' library (-lssl). */
|
2015-06-24 16:46:02 +02:00
|
|
|
|
//#cmakedefine LWS_HAVE_LIBSSL
|
2013-02-06 15:25:26 +09:00
|
|
|
|
|
|
|
|
|
/* Define to 1 if your system has a GNU libc compatible `malloc' function, and
|
|
|
|
|
to 0 otherwise. */
|
2015-06-24 16:46:02 +02:00
|
|
|
|
#cmakedefine LWS_HAVE_MALLOC
|
2013-02-06 15:25:26 +09:00
|
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <memory.h> header file. */
|
2015-06-24 16:46:02 +02:00
|
|
|
|
#cmakedefine LWS_HAVE_MEMORY_H
|
2013-02-06 15:25:26 +09:00
|
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `memset' function. */
|
2015-06-24 16:46:02 +02:00
|
|
|
|
#cmakedefine LWS_HAVE_MEMSET
|
2013-02-06 15:25:26 +09:00
|
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <netinet/in.h> header file. */
|
2015-06-24 16:46:02 +02:00
|
|
|
|
#cmakedefine LWS_HAVE_NETINET_IN_H
|
2013-02-06 15:25:26 +09:00
|
|
|
|
|
|
|
|
|
/* Define to 1 if your system has a GNU libc compatible `realloc' function,
|
|
|
|
|
and to 0 otherwise. */
|
2015-06-24 16:46:02 +02:00
|
|
|
|
#cmakedefine LWS_HAVE_REALLOC
|
2013-02-06 15:25:26 +09:00
|
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `socket' function. */
|
2015-06-24 16:46:02 +02:00
|
|
|
|
#cmakedefine LWS_HAVE_SOCKET
|
2013-02-06 15:25:26 +09:00
|
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <stdint.h> header file. */
|
2015-06-24 16:46:02 +02:00
|
|
|
|
#cmakedefine LWS_HAVE_STDINT_H
|
2013-02-06 15:25:26 +09:00
|
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <stdlib.h> header file. */
|
2015-06-24 16:46:02 +02:00
|
|
|
|
#cmakedefine LWS_HAVE_STDLIB_H
|
2013-02-06 15:25:26 +09:00
|
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `strerror' function. */
|
2015-06-24 16:46:02 +02:00
|
|
|
|
#cmakedefine LWS_HAVE_STRERROR
|
2013-02-06 15:25:26 +09:00
|
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <strings.h> header file. */
|
2015-06-24 16:46:02 +02:00
|
|
|
|
#cmakedefine LWS_HAVE_STRINGS_H
|
2013-02-06 15:25:26 +09:00
|
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <string.h> header file. */
|
2015-06-24 16:46:02 +02:00
|
|
|
|
#cmakedefine LWS_HAVE_STRING_H
|
2013-02-06 15:25:26 +09:00
|
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <sys/prctl.h> header file. */
|
2015-06-24 16:46:02 +02:00
|
|
|
|
#cmakedefine LWS_HAVE_SYS_PRCTL_H
|
2013-02-06 15:25:26 +09:00
|
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <sys/socket.h> header file. */
|
2015-06-24 16:46:02 +02:00
|
|
|
|
#cmakedefine LWS_HAVE_SYS_SOCKET_H
|
2013-02-06 15:25:26 +09:00
|
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <sys/stat.h> header file. */
|
2015-06-24 16:46:02 +02:00
|
|
|
|
#cmakedefine LWS_HAVE_SYS_STAT_H
|
2013-02-06 15:25:26 +09:00
|
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <sys/types.h> header file. */
|
2015-06-24 16:46:02 +02:00
|
|
|
|
#cmakedefine LWS_HAVE_SYS_TYPES_H
|
2013-02-06 15:25:26 +09:00
|
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <unistd.h> header file. */
|
2015-06-24 16:46:02 +02:00
|
|
|
|
#cmakedefine LWS_HAVE_UNISTD_H
|
2013-02-06 15:25:26 +09:00
|
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `vfork' function. */
|
2015-06-24 16:46:02 +02:00
|
|
|
|
#cmakedefine LWS_HAVE_VFORK
|
2013-02-06 15:25:26 +09:00
|
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <vfork.h> header file. */
|
2015-06-24 16:46:02 +02:00
|
|
|
|
#cmakedefine LWS_HAVE_VFORK_H
|
2013-02-06 15:25:26 +09:00
|
|
|
|
|
|
|
|
|
/* Define to 1 if `fork' works. */
|
2015-06-24 16:46:02 +02:00
|
|
|
|
#cmakedefine LWS_HAVE_WORKING_FORK
|
2013-02-06 15:25:26 +09:00
|
|
|
|
|
|
|
|
|
/* Define to 1 if `vfork' works. */
|
2015-06-24 16:46:02 +02:00
|
|
|
|
#cmakedefine LWS_HAVE_WORKING_VFORK
|
2013-02-06 15:25:26 +09:00
|
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <zlib.h> header file. */
|
2015-06-24 16:46:02 +02:00
|
|
|
|
#cmakedefine LWS_HAVE_ZLIB_H
|
2013-02-06 15:25:26 +09:00
|
|
|
|
|
|
|
|
|
/* Define to the sub-directory in which libtool stores uninstalled libraries.
|
|
|
|
|
*/
|
|
|
|
|
#undef LT_OBJDIR // We're not using libtool
|
|
|
|
|
|
|
|
|
|
/* Define to rpl_malloc if the replacement function should be used. */
|
|
|
|
|
#cmakedefine malloc
|
|
|
|
|
|
|
|
|
|
/* Define to rpl_realloc if the replacement function should be used. */
|
|
|
|
|
#cmakedefine realloc
|
|
|
|
|
|
|
|
|
|
/* Define to 1 if we have getifaddrs */
|
2015-06-24 16:46:02 +02:00
|
|
|
|
#cmakedefine LWS_HAVE_GETIFADDRS
|
2013-02-06 15:25:26 +09:00
|
|
|
|
|
2013-02-06 15:28:07 +09:00
|
|
|
|
/* Define if the inline keyword doesn't exist. */
|
2015-04-22 10:52:13 -07:00
|
|
|
|
#cmakedefine inline ${inline}
|