1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-16 00:00:07 +01:00
libwebsockets/lws_config.h.in
=?UTF-8?q?Joakim=20S=C3=B6derberg?= cefab311d6 Use LWS_HAVE_ instead of just HAVE_
Since we include lws_config.h in the public headers, at least our HAVE_ macros should be kind of unique, so that we don't get redefinitions when used with other libraries using config files as well.
2015-10-12 09:53:17 +08:00

177 lines
4.9 KiB
C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/* config.h.in. Generated from configure.ac by autoheader. */
#ifndef NDEBUG
#ifndef _DEBUG
#define _DEBUG
#endif
#endif
/* Define to 1 to use wolfSSL/CyaSSL as a replacement for OpenSSL.
* LWS_OPENSSL_SUPPORT needs to be set also for this to work. */
#cmakedefine USE_WOLFSSL
/* Also define to 1 (in addition to USE_WOLFSSL) when using the
(older) CyaSSL library */
#cmakedefine USE_OLD_CYASSL
/* 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}"
/* Build with OpenSSL support */
#cmakedefine LWS_OPENSSL_SUPPORT
/* The client should load and trust CA root certs it finds in the OS */
#cmakedefine LWS_SSL_CLIENT_USE_OS_CA_CERTS
/* 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
/* Enable libev io loop */
#cmakedefine LWS_USE_LIBEV
/* Build with support for ipv6 */
#cmakedefine LWS_USE_IPV6
/* Build with support for HTTP2 */
#cmakedefine LWS_USE_HTTP2
/* Turn on latency measuring code */
#cmakedefine LWS_LATENCY
/* Don't build the daemonizeation api */
#cmakedefine LWS_NO_DAEMONIZE
/* Build without server support */
#cmakedefine LWS_NO_SERVER
/* Build without client support */
#cmakedefine LWS_NO_CLIENT
/* 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
/* Define to 1 if you have the `bzero' function. */
#cmakedefine LWS_HAVE_BZERO
/* Define to 1 if you have the <dlfcn.h> header file. */
#cmakedefine LWS_HAVE_DLFCN_H
/* Define to 1 if you have the <fcntl.h> header file. */
#cmakedefine LWS_HAVE_FCNTL_H
/* Define to 1 if you have the `fork' function. */
#cmakedefine LWS_HAVE_FORK
/* Define to 1 if you have the `getenv function. */
#cmakedefine LWS_HAVE_GETENV
/* Define to 1 if you have the <in6addr.h> header file. */
#cmakedefine LWS_HAVE_IN6ADDR_H
/* Define to 1 if you have the <inttypes.h> header file. */
#cmakedefine LWS_HAVE_INTTYPES_H
/* Define to 1 if you have the `ssl' library (-lssl). */
//#cmakedefine LWS_HAVE_LIBSSL
/* Define to 1 if your system has a GNU libc compatible `malloc' function, and
to 0 otherwise. */
#cmakedefine LWS_HAVE_MALLOC
/* Define to 1 if you have the <memory.h> header file. */
#cmakedefine LWS_HAVE_MEMORY_H
/* Define to 1 if you have the `memset' function. */
#cmakedefine LWS_HAVE_MEMSET
/* Define to 1 if you have the <netinet/in.h> header file. */
#cmakedefine LWS_HAVE_NETINET_IN_H
/* Define to 1 if your system has a GNU libc compatible `realloc' function,
and to 0 otherwise. */
#cmakedefine LWS_HAVE_REALLOC
/* Define to 1 if you have the `socket' function. */
#cmakedefine LWS_HAVE_SOCKET
/* Define to 1 if you have the <stdint.h> header file. */
#cmakedefine LWS_HAVE_STDINT_H
/* Define to 1 if you have the <stdlib.h> header file. */
#cmakedefine LWS_HAVE_STDLIB_H
/* Define to 1 if you have the `strerror' function. */
#cmakedefine LWS_HAVE_STRERROR
/* Define to 1 if you have the <strings.h> header file. */
#cmakedefine LWS_HAVE_STRINGS_H
/* Define to 1 if you have the <string.h> header file. */
#cmakedefine LWS_HAVE_STRING_H
/* Define to 1 if you have the <sys/prctl.h> header file. */
#cmakedefine LWS_HAVE_SYS_PRCTL_H
/* Define to 1 if you have the <sys/socket.h> header file. */
#cmakedefine LWS_HAVE_SYS_SOCKET_H
/* Define to 1 if you have the <sys/stat.h> header file. */
#cmakedefine LWS_HAVE_SYS_STAT_H
/* Define to 1 if you have the <sys/types.h> header file. */
#cmakedefine LWS_HAVE_SYS_TYPES_H
/* Define to 1 if you have the <unistd.h> header file. */
#cmakedefine LWS_HAVE_UNISTD_H
/* Define to 1 if you have the `vfork' function. */
#cmakedefine LWS_HAVE_VFORK
/* Define to 1 if you have the <vfork.h> header file. */
#cmakedefine LWS_HAVE_VFORK_H
/* Define to 1 if `fork' works. */
#cmakedefine LWS_HAVE_WORKING_FORK
/* Define to 1 if `vfork' works. */
#cmakedefine LWS_HAVE_WORKING_VFORK
/* Define to 1 if you have the <zlib.h> header file. */
#cmakedefine LWS_HAVE_ZLIB_H
/* Define to the sub-directory in which libtool stores uninstalled libraries.
*/
#undef LT_OBJDIR // We're not using libtool
/* Version number of package */
#cmakedefine VERSION
/* Define to rpl_malloc if the replacement function should be used. */
#cmakedefine malloc
/* Define to `int' if <sys/types.h> does not define. */
#cmakedefine pid_t
/* Define to rpl_realloc if the replacement function should be used. */
#cmakedefine realloc
/* Define to `unsigned int' if <sys/types.h> does not define. */
#cmakedefine size_t
/* Define to 1 if we have getifaddrs */
#cmakedefine LWS_HAVE_GETIFADDRS
/* Define as `fork' if `vfork' does not work. */
//#cmakedefine vfork
/* Define if the inline keyword doesn't exist. */
#cmakedefine inline ${inline}