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