Joakim Soderberg | add3926 | 2013-02-06 15:25:26 +0900 | [diff] [blame] | 1 | /* config.h.in. Generated from configure.ac by autoheader. */ |
| 2 | |
Joakim SoĢderberg | 51197c0 | 2013-02-22 09:28:13 +0800 | [diff] [blame] | 3 | #ifndef WIN32 |
| 4 | #cmakedefine _DEBUG |
| 5 | #endif |
| 6 | |
Joakim Soderberg | 4c53123 | 2013-02-06 15:26:58 +0900 | [diff] [blame] | 7 | /* 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 Soderberg | 6744555 | 2014-02-15 13:48:56 +0800 | [diff] [blame] | 9 | #cmakedefine USE_CYASSL ${LWS_USE_CYASSL} |
Joakim Soderberg | add3926 | 2013-02-06 15:25:26 +0900 | [diff] [blame] | 10 | |
Joakim Soderberg | 4c53123 | 2013-02-06 15:26:58 +0900 | [diff] [blame] | 11 | /* 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 Soderberg | d2edfec | 2013-02-06 15:27:27 +0900 | [diff] [blame] | 17 | /* Build with OpenSSL support */ |
Joakim Soderberg | 4c53123 | 2013-02-06 15:26:58 +0900 | [diff] [blame] | 18 | #cmakedefine LWS_OPENSSL_SUPPORT |
| 19 | |
Joakim Soderberg | d2edfec | 2013-02-06 15:27:27 +0900 | [diff] [blame] | 20 | /* 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 Soderberg | e9a4211 | 2013-02-06 15:29:59 +0900 | [diff] [blame] | 32 | /* Build without server support */ |
| 33 | #cmakedefine LWS_NO_SERVER |
| 34 | |
| 35 | /* Build without client support */ |
| 36 | #cmakedefine LWS_NO_CLIENT |
| 37 | |
Joakim Soderberg | d2edfec | 2013-02-06 15:27:27 +0900 | [diff] [blame] | 38 | /* 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 Soderberg | add3926 | 2013-02-06 15:25:26 +0900 | [diff] [blame] | 44 | /* 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 Soderberg | add3926 | 2013-02-06 15:25:26 +0900 | [diff] [blame] | 131 | /* 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 Soderberg | 4f4a38b | 2013-02-06 15:28:07 +0900 | [diff] [blame] | 154 | |
| 155 | /* Define if the inline keyword doesn't exist. */ |
| 156 | #cmakedefine inline |