blob: e1dd8c09dc8e25a24edf98b942d528b8093cc03a [file] [log] [blame]
Joakim Soderbergadd39262013-02-06 15:25:26 +09001/* config.h.in. Generated from configure.ac by autoheader. */
2
Joakim Söderberg51197c02013-02-22 09:28:13 +08003#ifndef WIN32
4#cmakedefine _DEBUG
5#endif
6
Joakim Soderberg4c531232013-02-06 15:26:58 +09007/* Define to 1 to use CyaSSL as a replacement for OpenSSL.
8 * LWS_OPENSSL_SUPPORT needs to be set also for this to work. */
John Clark388dc7d2014-03-01 22:24:47 -05009#cmakedefine USE_CYASSL
Joakim Soderbergadd39262013-02-06 15:25:26 +090010
Joakim Soderberg4c531232013-02-06 15:26:58 +090011/* 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
Joakim Soderbergd2edfec2013-02-06 15:27:27 +090017/* Build with OpenSSL support */
Joakim Soderberg4c531232013-02-06 15:26:58 +090018#cmakedefine LWS_OPENSSL_SUPPORT
19
Joakim Soderbergd2edfec2013-02-06 15:27:27 +090020/* Sets the path where the client certs should be installed. */
21#cmakedefine LWS_OPENSSL_CLIENT_CERTS "${LWS_OPENSSL_CLIENT_CERTS}"
22
23/* Turn off websocket extensions */
24#cmakedefine LWS_NO_EXTENSIONS
25
26/* Turn on latency measuring code */
27#cmakedefine LWS_LATENCY
28
29/* Don't build the daemonizeation api */
30#cmakedefine LWS_NO_DAEMONIZE
31
Joakim Soderberge9a42112013-02-06 15:29:59 +090032/* Build without server support */
33#cmakedefine LWS_NO_SERVER
34
35/* Build without client support */
36#cmakedefine LWS_NO_CLIENT
37
Joakim Soderbergd2edfec2013-02-06 15:27:27 +090038/* If we should compile with MinGW support */
39#cmakedefine LWS_MINGW_SUPPORT
40
41/* Use the BSD getifaddrs that comes with libwebsocket, for uclibc support */
42#cmakedefine LWS_BUILTIN_GETIFADDRS
43
Joakim Soderbergadd39262013-02-06 15:25:26 +090044/* Define to 1 if you have the `bzero' function. */
45#cmakedefine HAVE_BZERO
46
47/* Define to 1 if you have the <dlfcn.h> header file. */
48#cmakedefine HAVE_DLFCN_H
49
50/* Define to 1 if you have the <fcntl.h> header file. */
51#cmakedefine HAVE_FCNTL_H
52
53/* Define to 1 if you have the `fork' function. */
54#cmakedefine HAVE_FORK
55
Patrick Gansterer61a6ae42014-02-28 02:32:03 +010056/* Define to 1 if you have the `getenv’ function. */
57#cmakedefine HAVE_GETENV
58
Joakim Soderbergadd39262013-02-06 15:25:26 +090059/* Define to 1 if you have the <inttypes.h> header file. */
60#cmakedefine HAVE_INTTYPES_H
61
62/* Define to 1 if you have the `ssl' library (-lssl). */
63//#cmakedefine HAVE_LIBSSL
64
65/* Define to 1 if your system has a GNU libc compatible `malloc' function, and
66 to 0 otherwise. */
67#cmakedefine HAVE_MALLOC
68
69/* Define to 1 if you have the <memory.h> header file. */
70#cmakedefine HAVE_MEMORY_H
71
72/* Define to 1 if you have the `memset' function. */
73#cmakedefine HAVE_MEMSET
74
75/* Define to 1 if you have the <netinet/in.h> header file. */
76#cmakedefine HAVE_NETINET_IN_H
77
78/* Define to 1 if your system has a GNU libc compatible `realloc' function,
79 and to 0 otherwise. */
80#cmakedefine HAVE_REALLOC
81
82/* Define to 1 if you have the `socket' function. */
83#cmakedefine HAVE_SOCKET
84
85/* Define to 1 if you have the <stdint.h> header file. */
86#cmakedefine HAVE_STDINT_H
87
88/* Define to 1 if you have the <stdlib.h> header file. */
89#cmakedefine HAVE_STDLIB_H
90
91/* Define to 1 if you have the `strerror' function. */
92#cmakedefine HAVE_STRERROR
93
94/* Define to 1 if you have the <strings.h> header file. */
95#cmakedefine HAVE_STRINGS_H
96
97/* Define to 1 if you have the <string.h> header file. */
98#cmakedefine HAVE_STRING_H
99
100/* Define to 1 if you have the <sys/prctl.h> header file. */
101#cmakedefine HAVE_SYS_PRCTL_H
102
103/* Define to 1 if you have the <sys/socket.h> header file. */
104#cmakedefine HAVE_SYS_SOCKET_H
105
106/* Define to 1 if you have the <sys/stat.h> header file. */
107#cmakedefine HAVE_SYS_STAT_H
108
109/* Define to 1 if you have the <sys/types.h> header file. */
110#cmakedefine HAVE_SYS_TYPES_H
111
112/* Define to 1 if you have the <unistd.h> header file. */
113#cmakedefine HAVE_UNISTD_H
114
115/* Define to 1 if you have the `vfork' function. */
116#cmakedefine HAVE_VFORK
117
118/* Define to 1 if you have the <vfork.h> header file. */
119#cmakedefine HAVE_VFORK_H
120
121/* Define to 1 if `fork' works. */
122#cmakedefine HAVE_WORKING_FORK
123
124/* Define to 1 if `vfork' works. */
125#cmakedefine HAVE_WORKING_VFORK
126
127/* Define to 1 if you have the <zlib.h> header file. */
128#cmakedefine HAVE_ZLIB_H
129
130/* Define to the sub-directory in which libtool stores uninstalled libraries.
131 */
132#undef LT_OBJDIR // We're not using libtool
133
Joakim Soderbergadd39262013-02-06 15:25:26 +0900134/* Define to 1 if you have the ANSI C header files. */
135#cmakedefine STDC_HEADERS
136
137/* Version number of package */
138#cmakedefine VERSION
139
140/* Define to rpl_malloc if the replacement function should be used. */
141#cmakedefine malloc
142
143/* Define to `int' if <sys/types.h> does not define. */
144#cmakedefine pid_t
145
146/* Define to rpl_realloc if the replacement function should be used. */
147#cmakedefine realloc
148
149/* Define to `unsigned int' if <sys/types.h> does not define. */
150#cmakedefine size_t
151
152/* Define to 1 if we have getifaddrs */
153#cmakedefine HAVE_GETIFADDRS
154
155/* Define as `fork' if `vfork' does not work. */
156//#cmakedefine vfork
Joakim Soderberg4f4a38b2013-02-06 15:28:07 +0900157
158/* Define if the inline keyword doesn't exist. */
159#cmakedefine inline