packet-smb2: dissect SMBDirect Buffer Descriptors
[metze/wireshark/wip.git] / cmakeconfig.h.in
1 /* cmakeconfig.h.in */
2
3 /* Note: You cannot use earlier #defines in later #cmakedefines (cmake 2.6.2). */
4
5 /* Name of package */
6 #define PACKAGE "wireshark"
7
8 /* Version number of package */
9 #define VERSION "${CPACK_PACKAGE_VERSION}"
10 #define VERSION_MAJOR ${PROJECT_MAJOR_VERSION}
11 #define VERSION_MINOR ${PROJECT_MINOR_VERSION}
12 #define VERSION_MICRO ${PROJECT_PATCH_VERSION}
13
14 /* FIXME: Move the path stuff to the CMakeInstallDirs.cmake file */
15 /* Directory for data */
16 #define DATAFILE_DIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATADIR}/${CPACK_PACKAGE_NAME}"
17
18 /* Path to Python. */
19 #cmakedefine PYTHON_DIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATADIR}/${CPACK_PACKAGE_NAME}/python/${CPACK_PACKAGE_VERSION}"
20
21 /* Directory where plugins reside */
22 #define PLUGIN_DIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}/@CPACK_PACKAGE_NAME@/plugins/${CPACK_PACKAGE_VERSION}"
23
24 /* Define to 1 if we want to enable plugins */
25 #cmakedefine HAVE_PLUGINS 1
26
27 /* Link plugins statically into Wireshark */
28 #cmakedefine ENABLE_STATIC 1
29
30 /* Enable AirPcap */
31 #cmakedefine HAVE_AIRPCAP 1
32
33 /* Define to 1 if you have the <arpa/inet.h> header file. */
34 #cmakedefine HAVE_ARPA_INET_H 1
35
36 /* Define to 1 if you have the <arpa/nameser.h> header file. */
37 #cmakedefine HAVE_ARPA_NAMESER_H 1
38
39 /* Define to 1 if you have the `bpf_image' function. */
40 #cmakedefine HAVE_BPF_IMAGE 1
41
42 /* Define to use c-ares library */
43 #cmakedefine HAVE_C_ARES 1
44
45 /* Define to 1 if you have the <direct.h> header file. */
46 #cmakedefine HAVE_DIRECT_H 1
47
48 /* Define to 1 if you have the <dirent.h> header file. */
49 #cmakedefine HAVE_DIRENT_H 1
50
51 /* Define to 1 if you have the `dladdr' function. */
52 #cmakedefine HAVE_DLADDR 1
53
54 /* Define to 1 if you have the <dlfcn.h> header file. */
55 #cmakedefine HAVE_DLFCN_H 1
56
57 /* Define to 1 if you have the <fcntl.h> header file. */
58 #cmakedefine HAVE_FCNTL_H 1
59
60 /* Define to use GeoIP library */
61 #cmakedefine HAVE_GEOIP 1
62
63 /* Define if GeoIP supports IPv6 (GeoIP 1.4.5 and later) */
64 #cmakedefine HAVE_GEOIP_V6 1
65
66 /* Define to 1 if you have the `gethostbyname2' function. */
67 #cmakedefine HAVE_GETHOSTBYNAME2 1
68
69 /* Define to 1 if you have the getopt function. */
70 #cmakedefine HAVE_GETOPT 1
71
72 /* Define to 1 if you have the <getopt.h> header file. */
73 #cmakedefine HAVE_GETOPT_H 1
74
75 /* Define to 1 if you have the `getprotobynumber' function. */
76 #cmakedefine HAVE_GETPROTOBYNUMBER 1
77
78 /* Define to use GNU ADNS library */
79 #cmakedefine HAVE_GNU_ADNS 1
80
81 /* Define to 1 if you have the <grp.h> header file. */
82 #cmakedefine HAVE_GRP_H 1
83
84 /* Define to use heimdal kerberos */
85 #cmakedefine HAVE_HEIMDAL_KERBEROS 1
86
87 /* Define unless inet/aton.h needs to be included */
88 #cmakedefine HAVE_INET_ATON_H 1
89
90 /* Define if inet_ntop() prototype exists */
91 #cmakedefine HAVE_INET_NTOP_PROTO 1
92
93 /* Define to 1 if you have the `inflatePrime' function. */
94 #cmakedefine HAVE_INFLATEPRIME 1
95
96 /* Define to 1 if you have the <inttypes.h> header file. */
97 #cmakedefine HAVE_INTTYPES_H 1
98
99 /* Define to 1 if you have the `issetugid' function. */
100 #cmakedefine HAVE_ISSETUGID 1
101
102 /* Define to use kerberos */
103 #cmakedefine HAVE_KERBEROS 1
104
105 /* Define if krb5.h defines KEYTYPE_ARCFOUR_56 */
106 #cmakedefine HAVE_KEYTYPE_ARCFOUR_56 1
107
108 /* Define to use the libcap library */
109 #cmakedefine HAVE_LIBCAP 1
110
111 /* Define to use libgcrypt */
112 #cmakedefine HAVE_LIBGCRYPT 1
113
114 /* Define to use GnuTLS library */
115 #cmakedefine HAVE_LIBGNUTLS 1
116
117 /* Enable libnl support */
118 #cmakedefine HAVE_LIBNL 1
119
120 /* libnl version 1 */
121 #cmakedefine HAVE_LIBNL1 1
122
123 /* libnl version 2 */
124 #cmakedefine HAVE_LIBNL2 1
125
126 /* libnl version 3 */
127 #cmakedefine HAVE_LIBNL3 1
128
129 /* Define to use libpcap library */
130 #cmakedefine HAVE_LIBPCAP 1
131
132 /* Define to use libportaudio library */
133 #cmakedefine HAVE_LIBPORTAUDIO 1
134
135 /* Define to 1 if you have the `smi' library (-lsmi). */
136 #cmakedefine HAVE_LIBSMI 1
137
138 /* Define to use libz library */
139 #cmakedefine HAVE_LIBZ 1
140
141 /* Define to use Lua */
142 #cmakedefine HAVE_LUA 1
143
144 /* Define to 1 if you have the <lua.h> header file. */
145 #cmakedefine HAVE_LUA_H 1
146
147 /* Define to 1 if you have the <memory.h> header file. */
148 #cmakedefine HAVE_MEMORY_H 1
149
150 /* Define to use MIT kerberos */
151 #cmakedefine HAVE_MIT_KERBEROS 1
152
153 /* Define to 1 if you have the `mkdtemp' function. */
154 #cmakedefine HAVE_MKDTEMP 1
155
156 /* Define to 1 if you have the `mkstemp' function. */
157 #cmakedefine HAVE_MKSTEMP 1
158
159 /* Define to 1 if you have the `mmap' function. */
160 #cmakedefine HAVE_MMAP 1
161
162 /* Define to 1 if you have the `mprotect' function. */
163 #cmakedefine HAVE_MPROTECT 1
164
165 /* Define to 1 if you have the <netdb.h> header file. */
166 #cmakedefine HAVE_NETDB_H 1
167
168 /* Define to 1 if you have the <netinet/in.h> header file. */
169 #cmakedefine HAVE_NETINET_IN_H 1
170
171 /* nl80211.h is new enough */
172 #cmakedefine HAVE_NL80211 1
173
174 /* SET_CHANNEL is supported */
175 #cmakedefine HAVE_NL80211_CMD_SET_CHANNEL 1
176
177 /* Define to 1 if you have the <Ntddndis.h> header file. */
178 #cmakedefine HAVE_NTDDNDIS_H 1
179
180 /* Define to 1 if you have OS X frameworks */
181 #cmakedefine HAVE_OS_X_FRAMEWORKS 1
182
183 /* Define if pcap_breakloop is known */
184 #cmakedefine HAVE_PCAP_BREAKLOOP 1
185
186 /* FIXME: The code (at least) in dumpcap assumes that PCAP_CREATE is not
187  *        available on Windows - but we detect it in winpcap */
188 #ifndef _WIN32
189 /* Define to 1 if you have the `pcap_create' function. */
190 #cmakedefine HAVE_PCAP_CREATE 1
191 #endif
192
193 /* Define to 1 if you have the `pcap_datalink_name_to_val' function. */
194 #cmakedefine HAVE_PCAP_DATALINK_NAME_TO_VAL 1
195
196 /* Define to 1 if you have the `pcap_datalink_val_to_description' function. */
197 #cmakedefine HAVE_PCAP_DATALINK_VAL_TO_DESCRIPTION 1
198
199 /* Define to 1 if you have the `pcap_datalink_val_to_name' function. */
200 #cmakedefine HAVE_PCAP_DATALINK_VAL_TO_NAME 1
201
202 /* Define to 1 if you have the `pcap_findalldevs' function and a pcap.h that
203    declares pcap_if_t. */
204 #cmakedefine HAVE_PCAP_FINDALLDEVS 1
205
206 /* Define to 1 if you have the `pcap_freecode' function. */
207 #cmakedefine HAVE_PCAP_FREECODE 1
208
209 /* Define to 1 if you have the `pcap_free_datalinks' function. */
210 #cmakedefine HAVE_PCAP_FREE_DATALINKS 1
211
212 /* Define to 1 if you have the `pcap_get_selectable_fd' function. */
213 #cmakedefine HAVE_PCAP_GET_SELECTABLE_FD 1
214
215 /* Define to 1 if you have the `pcap_lib_version' function. */
216 #cmakedefine HAVE_PCAP_LIB_VERSION 1
217
218 /* Define to 1 if you have the `pcap_list_datalinks' function. */
219 #cmakedefine HAVE_PCAP_LIST_DATALINKS 1
220
221 /* Define to 1 if you have the `pcap_open_dead' function. */
222 #cmakedefine HAVE_PCAP_OPEN_DEAD 1
223
224 /* Define to 1 if you have WinPcap remote capturing support and prefer to use
225    these new API features. */
226 #cmakedefine HAVE_PCAP_REMOTE 1
227
228 /* Define to 1 if you have the `pcap_set_datalink' function. */
229 #cmakedefine HAVE_PCAP_SET_DATALINK 1
230
231 /* Define to 1 if you have the <portaudio.h> header file. */
232 #cmakedefine HAVE_PORTAUDIO_H 1
233
234 /* Define to 1 if you have the <pwd.h> header file. */
235 #cmakedefine HAVE_PWD_H 1
236
237 /* Define if python devel package available */
238 #cmakedefine HAVE_PYTHON 1
239
240 /* Define to 1 to enable remote capturing feature in WinPcap library */
241 #cmakedefine HAVE_REMOTE 1
242
243 /* Define if sa_len field exists in struct sockaddr */
244 #cmakedefine HAVE_SA_LEN 1
245
246 /* Define to 1 if you have the `setresgid' function. */
247 #cmakedefine HAVE_SETRESGID 1
248
249 /* Define to 1 if you have the `setresuid' function. */
250 #cmakedefine HAVE_SETRESUID 1
251
252 /* Define to 1 if you have the <stdarg.h> header file. */
253 #cmakedefine HAVE_STDARG_H 1
254
255 /* Define to 1 if you have the <stddef.h> header file. */
256 #cmakedefine HAVE_STDDEF_H 1
257
258 /* Define to 1 if you have the <stdint.h> header file. */
259 #cmakedefine HAVE_STDINT_H 1
260
261 /* Define to 1 if you have the <stdlib.h> header file. */
262 #cmakedefine HAVE_STDLIB_H 1
263
264 /* Define to 1 if you have the <strings.h> header file. */
265 #cmakedefine HAVE_STRINGS_H 1
266
267 /* Define to 1 if you have the <string.h> header file. */
268 #cmakedefine HAVE_STRING_H 1
269
270 /* Define if st_flags field exists in struct stat */
271 #cmakedefine HAVE_ST_FLAGS 1
272
273 /* Define to 1 if you have the `sysconf' function. */
274 #cmakedefine HAVE_SYSCONF 1
275
276 /* Define to 1 if you have the <sys/ioctl.h> header file. */
277 #cmakedefine HAVE_SYS_IOCTL_H 1
278
279 /* Define to 1 if you have the <sys/param.h> header file. */
280 #cmakedefine HAVE_SYS_PARAM_H 1
281
282 /* Define to 1 if you have the <sys/socket.h> header file. */
283 #cmakedefine HAVE_SYS_SOCKET_H 1
284
285 /* Define to 1 if you have the <sys/sockio.h> header file. */
286 #cmakedefine HAVE_SYS_SOCKIO_H 1
287
288 /* Define to 1 if you have the <sys/stat.h> header file. */
289 #cmakedefine HAVE_SYS_STAT_H 1
290
291 /* Define to 1 if you have the <sys/time.h> header file. */
292 #cmakedefine HAVE_SYS_TIME_H 1
293
294 /* Define to 1 if you have the <sys/types.h> header file. */
295 #cmakedefine HAVE_SYS_TYPES_H 1
296
297 /* Define to 1 if you have the <sys/utsname.h> header file. */
298 #cmakedefine HAVE_SYS_UTSNAME_H 1
299
300 /* Define to 1 if you have the <sys/wait.h> header file. */
301 #cmakedefine HAVE_SYS_WAIT_H 1
302
303 /* Define if tm_zone field exists in struct tm */
304 #cmakedefine HAVE_TM_ZONE 1
305
306 /* Define if tzname array exists */
307 #cmakedefine HAVE_TZNAME 1
308
309 /* Define to 1 if you have the <unistd.h> header file. */
310 #cmakedefine HAVE_UNISTD_H 1
311
312 /* Define to 1 if you have the <windows.h> header file. */
313 #cmakedefine HAVE_WINDOWS_H 1
314
315 /* Define to 1 if you have the <winsock2.h> header file. */
316 #cmakedefine HAVE_WINSOCK2_H 1
317
318 /* HTML viewer, e.g. mozilla */
319 #cmakedefine HTML_VIEWER
320
321 /* Define if inet/v6defs.h needs to be included */
322 #cmakedefine NEED_INET_V6DEFS_H 1
323
324 /* Define if strptime.h needs to be included */
325 #cmakedefine NEED_STRPTIME_H 1
326
327 /* Name of package */
328 #cmakedefine PACKAGE
329
330 /* Define to the address where bug reports for this package should be sent. */
331 #cmakedefine PACKAGE_BUGREPORT
332
333 /* Define to the full name of this package. */
334 #cmakedefine PACKAGE_NAME
335
336 /* Define to the full name and version of this package. */
337 #cmakedefine PACKAGE_STRING
338
339 /* Define to the one symbol short name of this package. */
340 #cmakedefine PACKAGE_TARNAME
341
342 /* Define to the version of this package. */
343 #cmakedefine PACKAGE_VERSION
344
345 /* Support for pcap-ng */
346 #cmakedefine PCAP_NG_DEFAULT 1
347
348 /* Plugin installation directory */
349 #cmakedefine PLUGIN_DIR
350
351 /* Define if we are using version of of the Portaudio library API */
352 #cmakedefine PORTAUDIO_API_1 1
353
354 /* Define if we have QtMacExtras */
355 #cmakedefine QT_MACEXTRAS_LIB 1
356
357 /* Define to 1 if your processor stores words with the most significant byte
358    first (like Motorola and SPARC, unlike Intel and VAX). */
359 #cmakedefine WORDS_BIGENDIAN 1
360
361 /* Large file support */
362 #cmakedefine _LARGEFILE_SOURCE
363 #cmakedefine _LARGEFILE64_SOURCE
364 #cmakedefine _LARGE_FILES
365 #cmakedefine _FILE_OFFSET_BITS @_FILE_OFFSET_BITS@
366
367 /* Define WS_MSVC_NORETURN appropriately for declarations of routines that
368    never return (just like Charlie on the MTA).
369
370    Note that MSVC++ expects __declspec(noreturn) to precede the function
371    name and GCC, as far as I know, expects __attribute__((noreturn)) to
372    follow the function name, so we need two different flavors of
373    noreturn tag.  */
374 #define WS_MSVC_NORETURN @WS_MSVC_NORETURN@
375
376 /* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a
377    `char[]'. */
378 /* Note: not use in the code */
379 #cmakedefine YYTEXT_POINTER
380
381 /* _U_ isn't needed for C++, simply don't name the variable.
382    However, we do need it for some headers that are shared between C and C++. */
383 #define _U_ ${C_UNUSED}
384
385 #if defined(_WIN32)
386
387    /* WpdPack/INclude/pcap/pcap.h checks for "#if defined(WIN32)" */
388 #  ifndef WIN32
389 #    define WIN32       1
390 #  endif
391
392 #  if !defined(QT_VERSION) || !defined(_SSIZE_T_DEFINED)
393    typedef int ssize_t;
394 #  endif
395
396    /* FIXME: Detection doesn't work */
397 #  define HAVE_NTDDNDIS_H 1
398    /* Visual C 9 (2008), Visual C 10 (2010) and Visual C 11 (2012) need these
399     * prototypes
400     * XXX: Can we use MSC_VER >= 1500 ?? */
401 #  if _MSC_VER == 1500 || _MSC_VER == 1600 || _MSC_VER == 1700
402 #    define NTDDI_VERSION NTDDI_WIN2K
403 #    define _WIN32_WINNT _WIN32_WINNT_WIN2K
404 #  endif
405
406    /*
407     * Flex (v 2.5.35) uses this symbol to "exclude" unistd.h
408     */
409 #  define YY_NO_UNISTD_H
410
411
412 #  define strncasecmp strnicmp
413 #  define popen       _popen
414 #  define pclose      _pclose
415
416 #  ifndef __STDC__
417 #    define __STDC__ 0
418 #  endif
419    /* Use Unicode in Windows runtime functions. */
420 #  define UNICODE 1
421 #  define _UNICODE 1
422
423 #  define INET6 1
424 #  define NEED_INET_V6DEFS_H 1
425 #  define NEED_STRPTIME_H 1
426 #endif