blob: e55d7154bb9051ecf918144327b095a5f95e21fd [file] [log] [blame]
Joakim Soderbergadd39262013-02-06 15:25:26 +09001/* config.h.in. Generated from configure.ac by autoheader. */
2
Joakim SoĢˆ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. */
Joakim Soderbergadd39262013-02-06 15:25:26 +09009#cmakedefine USE_CYASSL
10
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
56/* Define to 1 if you have the <inttypes.h> header file. */
57#cmakedefine HAVE_INTTYPES_H
58
59/* Define to 1 if you have the `ssl' library (-lssl). */
60//#cmakedefine HAVE_LIBSSL
61
62/* Define to 1 if your system has a GNU libc compatible `malloc' function, and
63 to 0 otherwise. */
64#cmakedefine HAVE_MALLOC
65
66/* Define to 1 if you have the <memory.h> header file. */
67#cmakedefine HAVE_MEMORY_H
68
69/* Define to 1 if you have the `memset' function. */
70#cmakedefine HAVE_MEMSET
71
72/* Define to 1 if you have the <netinet/in.h> header file. */
73#cmakedefine HAVE_NETINET_IN_H
74
75/* Define to 1 if your system has a GNU libc compatible `realloc' function,
76 and to 0 otherwise. */
77#cmakedefine HAVE_REALLOC
78
79/* Define to 1 if you have the `socket' function. */
80#cmakedefine HAVE_SOCKET
81
82/* Define to 1 if you have the <stdint.h> header file. */
83#cmakedefine HAVE_STDINT_H
84
85/* Define to 1 if you have the <stdlib.h> header file. */
86#cmakedefine HAVE_STDLIB_H
87
88/* Define to 1 if you have the `strerror' function. */
89#cmakedefine HAVE_STRERROR
90
91/* Define to 1 if you have the <strings.h> header file. */
92#cmakedefine HAVE_STRINGS_H
93
94/* Define to 1 if you have the <string.h> header file. */
95#cmakedefine HAVE_STRING_H
96
97/* Define to 1 if you have the <sys/prctl.h> header file. */
98#cmakedefine HAVE_SYS_PRCTL_H
99
100/* Define to 1 if you have the <sys/socket.h> header file. */
101#cmakedefine HAVE_SYS_SOCKET_H
102
103/* Define to 1 if you have the <sys/stat.h> header file. */
104#cmakedefine HAVE_SYS_STAT_H
105
106/* Define to 1 if you have the <sys/types.h> header file. */
107#cmakedefine HAVE_SYS_TYPES_H
108
109/* Define to 1 if you have the <unistd.h> header file. */
110#cmakedefine HAVE_UNISTD_H
111
112/* Define to 1 if you have the `vfork' function. */
113#cmakedefine HAVE_VFORK
114
115/* Define to 1 if you have the <vfork.h> header file. */
116#cmakedefine HAVE_VFORK_H
117
118/* Define to 1 if `fork' works. */
119#cmakedefine HAVE_WORKING_FORK
120
121/* Define to 1 if `vfork' works. */
122#cmakedefine HAVE_WORKING_VFORK
123
124/* Define to 1 if you have the <zlib.h> header file. */
125#cmakedefine HAVE_ZLIB_H
126
127/* Define to the sub-directory in which libtool stores uninstalled libraries.
128 */
129#undef LT_OBJDIR // We're not using libtool
130
Joakim Soderbergadd39262013-02-06 15:25:26 +0900131/* Define to 1 if you have the ANSI C header files. */
132#cmakedefine STDC_HEADERS
133
134/* Version number of package */
135#cmakedefine VERSION
136
137/* Define to rpl_malloc if the replacement function should be used. */
138#cmakedefine malloc
139
140/* Define to `int' if <sys/types.h> does not define. */
141#cmakedefine pid_t
142
143/* Define to rpl_realloc if the replacement function should be used. */
144#cmakedefine realloc
145
146/* Define to `unsigned int' if <sys/types.h> does not define. */
147#cmakedefine size_t
148
149/* Define to 1 if we have getifaddrs */
150#cmakedefine HAVE_GETIFADDRS
151
152/* Define as `fork' if `vfork' does not work. */
153//#cmakedefine vfork
Joakim Soderberg4f4a38b2013-02-06 15:28:07 +0900154
155/* Define if the inline keyword doesn't exist. */
156#cmakedefine inline