• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/*
2 * cmake_coap_config.h -- cmake configuration for libcoap
3 *
4 * Copyright (C) 2020 Carlos Gomes Martinho <carlos.gomes_martinho@siemens.com>
5 *
6 * SPDX-License-Identifier: BSD-2-Clause
7 *
8 * This file is part of the CoAP library libcoap. Please see README for terms
9 * of use.
10 */
11
12#ifndef COAP_CONFIG_H_
13#define COAP_CONFIG_H_
14
15/* Define to 1 if you have <ws2tcpip.h> header file. */
16#cmakedefine HAVE_WS2TCPIP_H "@HAVE_WS2TCPIP_H@"
17
18/* Define if the system has small stack size */
19#cmakedefine COAP_CONSTRAINED_STACK "@COAP_CONSTRAINED_STACK@"
20
21/* Define to 1 if you have <winsock2.h> header file. */
22#cmakedefine HAVE_WINSOCK2_H "@HAVE_WINSOCK2_H@"
23
24/* Define if the system has epoll support */
25#cmakedefine COAP_EPOLL_SUPPORT "@COAP_EPOLL_SUPPORT@"
26
27/* Define to 1 if you have the <arpa/inet.h> header file. */
28#cmakedefine HAVE_ARPA_INET_H "@HAVE_ARPA_INET_H@"
29
30/* Define to 1 if you have the <assert.h> header file. */
31#cmakedefine HAVE_ASSERT_H "@HAVE_ASSERT_H@"
32
33/* Define to 1 if you have the <dlfcn.h> header file. */
34#cmakedefine HAVE_DLFCN_H "@HAVE_DLFCN_H@"
35
36/* Define to 1 if you have the `getaddrinfo' function. */
37#cmakedefine HAVE_GETADDRINFO "@HAVE_GETADDRINFO@"
38
39/* Define to 1 if you have the <inttypes.h> header file. */
40#cmakedefine HAVE_INTTYPES_H "@HAVE_INTTYPES_H@"
41
42/* Define if the system has openssl */
43#cmakedefine HAVE_OPENSSL "@HAVE_OPENSSL@"
44
45/* Define if the system has libgnutls28 */
46#cmakedefine HAVE_LIBGNUTLS "@HAVE_LIBGNUTLS@"
47
48/* Define if the system has libtinydtls */
49#cmakedefine HAVE_LIBTINYDTLS "@HAVE_LIBTINYDTLS@"
50
51/* Define if the system has libmbedtls */
52#cmakedefine HAVE_MBEDTLS "@HAVE_MBEDTLS@"
53
54/* Define to 1 to build without TCP support. */
55#cmakedefine01 COAP_DISABLE_TCP
56
57/* Define to 1 if you have the <limits.h> header file. */
58#cmakedefine HAVE_LIMITS_H "@HAVE_LIMITS_H@"
59
60/* Define to 1 if you have the `malloc' function. */
61#cmakedefine HAVE_MALLOC "@HAVE_MALLOC@"
62
63/* Define to 1 if you have the <memory.h> header file. */
64#cmakedefine HAVE_MEMORY_H "@HAVE_MEMORY_H@"
65
66/* Define to 1 if you have the `memset' function. */
67#cmakedefine HAVE_MEMSET "@HAVE_MEMSET@"
68
69/* Define to 1 if you have the <netdb.h> header file. */
70#cmakedefine HAVE_NETDB_H "@HAVE_NETDB_H@"
71
72/* Define to 1 if you have the <net/if.h> header file. */
73#cmakedefine HAVE_NET_IF_H "@HAVE_NET_IF_H@"
74
75/* Define to 1 if you have the <netinet/in.h> header file. */
76#cmakedefine HAVE_NETINET_IN_H "@HAVE_NETINET_IN_H@"
77
78/* Define to 1 if you have the <pthread.h> header file. */
79#cmakedefine HAVE_PTHREAD_H "@HAVE_PTHREAD_H@"
80
81/* Define to 1 if you have the `pthread_mutex_lock' function. */
82#cmakedefine HAVE_PTHREAD_MUTEX_LOCK "@HAVE_PTHREAD_MUTEX_LOCK@"
83
84/* Define to 1 if you have the `select' function. */
85#cmakedefine HAVE_SELECT "@HAVE_SELECT@"
86
87/* Define to 1 if you have the `socket' function. */
88#cmakedefine HAVE_SOCKET "@HAVE_SOCKET@"
89
90/* Define to 1 if you have the <stdint.h> header file. */
91#cmakedefine HAVE_STDINT_H "@HAVE_STDINT_H@"
92
93/* Define to 1 if you have the <stdlib.h> header file. */
94#cmakedefine HAVE_STDLIB_H "@HAVE_STDLIB_H@"
95
96/* Define to 1 if you have the `strcasecmp' function. */
97#cmakedefine HAVE_STRCASECMP "@HAVE_STRCASECMP@"
98
99/* Define to 1 if you have the <strings.h> header file. */
100#cmakedefine HAVE_STRINGS_H "@HAVE_STRINGS_H@"
101
102/* Define to 1 if you have the <string.h> header file. */
103#cmakedefine HAVE_STRING_H "@HAVE_STRING_H@"
104
105/* Define to 1 if you have the `strnlen' function. */
106#cmakedefine HAVE_STRNLEN "@HAVE_STRNLEN@"
107
108/* Define to 1 if you have the `strrchr' function. */
109#cmakedefine HAVE_STRRCHR "@HAVE_STRRCHR@"
110
111/* Define to 1 if the system has the type `struct cmsghdr'. */
112#cmakedefine HAVE_STRUCT_CMSGHDR "@HAVE_STRUCT_CMSGHDR@"
113
114/* Define to 1 if you have the <syslog.h> header file. */
115#cmakedefine HAVE_SYSLOG_H "@HAVE_SYSLOG_H@"
116
117/* Define to 1 if you have the <sys/ioctl.h> header file. */
118#cmakedefine HAVE_SYS_IOCTL_H "@HAVE_SYS_IOCTL_H@"
119
120/* Define to 1 if you have the <sys/socket.h> header file. */
121#cmakedefine HAVE_SYS_SOCKET_H "@HAVE_SYS_SOCKET_H@"
122
123/* Define to 1 if you have the <sys/stat.h> header file. */
124#cmakedefine HAVE_SYS_STAT_H "@HAVE_SYS_STAT_H@"
125
126/* Define to 1 if you have the <sys/time.h> header file. */
127#cmakedefine HAVE_SYS_TIME_H "@HAVE_SYS_TIME_H@"
128
129/* Define to 1 if you have the <sys/types.h> header file. */
130#cmakedefine HAVE_SYS_TYPES_H "@HAVE_SYS_TYPES_H@"
131
132/* Define to 1 if you have the <sys/unistd.h> header file. */
133#cmakedefine HAVE_SYS_UNISTD_H "@HAVE_SYS_UNISTD_H@"
134
135/* Define to 1 if you have the <time.h> header file. */
136#cmakedefine HAVE_TIME_H "@HAVE_TIME_H@"
137
138/* Define to 1 if you have the <unistd.h> header file. */
139#cmakedefine HAVE_UNISTD_H "@HAVE_UNISTD_H@"
140
141/* Define to the address where bug reports for this package should be sent. */
142#cmakedefine PACKAGE_BUGREPORT "@PACKAGE_BUGREPORT@"
143
144/* Define to the full name of this package. */
145#cmakedefine PACKAGE_NAME "@PACKAGE_NAME@"
146
147/* Define to the full name and version of this package. */
148#cmakedefine PACKAGE_STRING "@PACKAGE_STRING@"
149
150/* Define to the one symbol short name of this package. */
151#cmakedefine PACKAGE_TARNAME "@PACKAGE_TARNAME@"
152
153/* Define to the home page for this package. */
154#cmakedefine PACKAGE_URL "@PACKAGE_URL@"
155
156/* Define to the version of this package. */
157#cmakedefine PACKAGE_VERSION "@PACKAGE_VERSION@"
158
159#if defined(_MSC_VER) && (_MSC_VER < 1900) && !defined(snprintf)
160#define snprintf _snprintf
161#endif
162
163#endif /* COAP_CONFIG_H_ */
164