From a.piesk:
[obnox/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
11 /* FIXME: Move the path stuff to the CMakeInstallDirs.cmake file */
12 /* Directory for data */
13 #define DATAFILE_DIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATADIR}/${CPACK_PACKAGE_NAME}"
14
15 /* Path to Python. */
16 #cmakedefine PYTHON_DIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATADIR}/${CPACK_PACKAGE_NAME}/python/${CPACK_PACKAGE_VERSION}"
17
18 /* Directory where plugins reside */
19 #define PLUGIN_DIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}/@CPACK_PACKAGE_NAME@/plugins/${CPACK_PACKAGE_VERSION}"
20
21 /* Define to 1 if we want to use pcap-ng as our default file format */
22 #cmakedefine PCAP_NG_DEFAULT 1
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 /* Define to 1 if you have the <arpa/inet.h> header file. */
31 #cmakedefine HAVE_ARPA_INET_H 1
32
33 /* Define to 1 if you have the <arpa/nameser.h> header file. */
34 #cmakedefine HAVE_ARPA_NAMESER_H 1
35
36 /* Define to 1 if you have the <direct.h> header file. */
37 #cmakedefine HAVE_DIRECT_H 1
38
39 /* Define to 1 if you have the <dirent.h> header file. */
40 #cmakedefine HAVE_DIRENT_H 1
41
42 /* Define to 1 if you have the <dlfcn.h> header file. */
43 #cmakedefine HAVE_DLFCN_H 1
44
45 /* Define to 1 if you have the <fcntl.h> header file. */
46 #cmakedefine HAVE_FCNTL_H 1
47
48 /* Define to 1 if you have the <getopt.h> header file. */
49 #cmakedefine HAVE_GETOPT 1
50
51 /* Define to 1 if you have the `chown' function. */
52 #cmakedefine HAVE_CHOWN 1
53
54 /* Define to 1 if you have the `gethostbyname2' function. */
55 #cmakedefine HAVE_GETHOSTBYNAME2 1
56
57 /* Define to 1 if you have the `getprotobynumber' function. */
58 #cmakedefine HAVE_GETPROTOBYNUMBER 1
59
60 /* Define to use the airpcap library */
61 #cmakedefine HAVE_AIRPCAP 1
62
63 /* Define to use C ares library */
64 #cmakedefine HAVE_C_ARES 1
65
66 /* Define to use SMI SNMP library */
67 #cmakedefine HAVE_LIBSMI 1
68
69 /* Define to use GEOIP library */
70 #cmakedefine HAVE_GEOIP 1
71
72 /* Define if GEOIP library supports IPv6 (GeoIP 1.4.5 and later) */
73 #cmakedefine HAVE_GEOIP_V6 1
74
75 /* Define to use capabilities library */
76 #cmakedefine HAVE_LIBCAP 1
77
78 /* Define to use GNU ADNS library */
79 #cmakedefine HAVE_GNU_ADNS 1
80
81 /* Define to use heimdal kerberos */
82 #cmakedefine HAVE_HEIMDAL_KERBEROS 1
83
84 /* Define if inet_ntop() prototype exists */
85 #cmakedefine HAVE_INET_NTOP_PROTO 1
86
87 /* Define to 1 if you have the <inttypes.h> header file. */
88 #cmakedefine HAVE_INTTYPES_H 1
89
90 /* Define to 1 if you have the `issetugid' function. */
91 #cmakedefine HAVE_ISSETUGID 1
92
93 /* Define to use kerberos */
94 #cmakedefine HAVE_KERBEROS 1
95
96 /* Define if krb5.h defines KEYTYPE_ARCFOUR_56 */
97 #cmakedefine HAVE_KEYTYPE_ARCFOUR_56 1
98
99 /* Define to 1 if you have the <lauxlib.h> header file. */
100 #cmakedefine HAVE_LAUXLIB_H 1
101
102 /* Define to use libgcrypt */
103 #cmakedefine HAVE_LIBGCRYPT 1
104
105 /* Define to use gnutls library */
106 #cmakedefine HAVE_LIBGNUTLS 1
107
108 /* Define to use libpcap library */
109 #cmakedefine HAVE_LIBPCAP 1
110
111 /* Define to use dbus-glib library */
112 #cmakedefine HAVE_LIBDBUS 1
113
114 /* Define to use libportaudio library */
115 #cmakedefine HAVE_LIBPORTAUDIO 1
116
117 /* Define to use libz library */
118 #cmakedefine HAVE_LIBZ 1
119
120 /* Define to 1 if you have the `inflatePrime' function */
121 #cmakedefine HAVE_INFLATEPRIME 1
122
123 /* Define to 1 if you have the <lua5.1/lauxlib.h> header file. */
124 #cmakedefine HAVE_LUA5_1_LAUXLIB_H 1
125
126 /* Define to 1 if you have the <lua5.1/lualib.h> header file. */
127 #cmakedefine HAVE_LUA5_1_LUALIB_H 1
128
129 /* Define to 1 if you have the <lua5.1/lua.h> header file. */
130 #cmakedefine HAVE_LUA5_1_LUA_H 1
131
132 /* Define to 1 if you have the <lualib.h> header file. */
133 #cmakedefine HAVE_LUALIB_H 1
134
135 /* Define to use Lua 5.1 */
136 #cmakedefine HAVE_LUA_5_1 1
137
138 /* Define to 1 if you have the <lua.h> header file. */
139 #cmakedefine HAVE_LUA_H 1
140
141 /* Define to 1 if you have libpython. */
142 #cmakedefine HAVE_PYTHON 1
143
144 /* Define to 1 if you have the <memory.h> header file. */
145 #cmakedefine HAVE_MEMORY_H 1
146
147 /* Define to use MIT kerberos */
148 #cmakedefine HAVE_MIT_KERBEROS 1
149
150 /* Define to 1 if you have the `mkdtemp' function. */
151 #cmakedefine HAVE_MKDTEMP 1
152
153 /* Define to 1 if you have the `mkstemp' function. */
154 #cmakedefine HAVE_MKSTEMP 1
155
156 /* Define to 1 if you have the `mmap' function. */
157 #cmakedefine HAVE_MMAP 1
158
159 /* Define to 1 if you have the `mprotect' function. */
160 #cmakedefine HAVE_MPROTECT 1
161
162 /* Define to 1 if you have the <netdb.h> header file. */
163 #cmakedefine HAVE_NETDB_H 1
164
165 /* Define to 1 if you have the <netinet/in.h> header file. */
166 #cmakedefine HAVE_NETINET_IN_H 1
167
168 /* Define to enable support for Net-SNMP */
169 #cmakedefine HAVE_NET_SNMP 1
170
171 /* Define to 1 if you have the <net-snmp/library/default_store.h> header file.
172    */
173 #cmakedefine HAVE_NET_SNMP_LIBRARY_DEFAULT_STORE_H 1
174
175 /* Define to 1 if you have the <net-snmp/net-snmp-config.h> header file. */
176 #cmakedefine HAVE_NET_SNMP_NET_SNMP_CONFIG_H 1
177
178 /* Define to 1 if you have the <Ntddndis.h> header file. */
179 #cmakedefine HAVE_NTDDNDIS_H 1
180
181 /* Define to 1 if you have OS X frameworks */
182 #cmakedefine HAVE_OS_X_FRAMEWORKS 1
183
184 /* Define to 1 if you have the `pcap_breakloop' function. */
185 #cmakedefine HAVE_PCAP_BREAKLOOP 1
186
187 /* Define to 1 if you have the `pcap_create' function. */
188 #cmakedefine HAVE_PCAP_CREATE 1
189
190 /* Define to 1 if you have the `pcap_datalink_name_to_val' function. */
191 #cmakedefine HAVE_PCAP_DATALINK_NAME_TO_VAL 1
192
193 /* Define to 1 if you have the `pcap_datalink_val_to_description' function. */
194 #cmakedefine HAVE_PCAP_DATALINK_VAL_TO_DESCRIPTION 1
195
196 /* Define to 1 if you have the `pcap_datalink_val_to_name' function. */
197 #cmakedefine HAVE_PCAP_DATALINK_VAL_TO_NAME 1
198
199 /* Define to 1 if you have the `pcap_findalldevs' function and a pcap.h that
200    declares pcap_if_t. */
201 #cmakedefine HAVE_PCAP_FINDALLDEVS 1
202
203 /* Define to 1 if you have the `pcap_freecode' function. */
204 #cmakedefine HAVE_PCAP_FREECODE 1
205
206 /* Define to 1 if you have the `pcap_free_datalinks' function. */
207 #cmakedefine HAVE_PCAP_FREE_DATALINKS 1
208
209 /* Define to 1 if you have the `pcap_get_selectable_fd' function. */
210 #cmakedefine HAVE_PCAP_GET_SELECTABLE_FD 1
211
212 /* Define to 1 if you have the `pcap_lib_version' function. */
213 #cmakedefine HAVE_PCAP_LIB_VERSION 1
214
215 /* Define to 1 if you have the `pcap_list_datalinks' function. */
216 #cmakedefine HAVE_PCAP_LIST_DATALINKS 1
217
218 /* Define to 1 if you have the `pcap_open_dead' function. */
219 #cmakedefine HAVE_PCAP_OPEN_DEAD 1
220
221 /* Define to 1 if you have the `pcap_set_datalink' function. */
222 #cmakedefine HAVE_PCAP_SET_DATALINK 1
223
224 /* Define if libpcap version is known */
225 #cmakedefine HAVE_PCAP_VERSION 1
226
227 /* Define if plugins are enabled */
228 #cmakedefine HAVE_PLUGINS 1
229
230 /* Define if rpcap:// type remote capture is supported */
231 #cmakedefine HAVE_PCAP_REMOTE 1
232 #cmakedefine HAVE_REMOTE 1
233
234 /* Define to 1 if you have the <portaudio.h> header file. */
235 #cmakedefine HAVE_PORTAUDIO_H 1
236
237 /* Define if sa_len field exists in struct sockaddr */
238 #cmakedefine HAVE_SA_LEN 1
239
240 /* Define to 1 if you have the <stdarg.h> header file. */
241 #cmakedefine HAVE_STDARG_H 1
242
243 /* Define to 1 if you have the <stddef.h> header file. */
244 #cmakedefine HAVE_STDDEF_H 1
245
246 /* Define to 1 if you have the <stdint.h> header file. */
247 #cmakedefine HAVE_STDINT_H 1
248
249 /* Define to 1 if you have the <stdlib.h> header file. */
250 #cmakedefine HAVE_STDLIB_H 1
251
252 /* Define to 1 if you have the <strings.h> header file. */
253 #cmakedefine HAVE_STRINGS_H 1
254
255 /* Define to 1 if you have the <string.h> header file. */
256 #cmakedefine HAVE_STRING_H 1
257
258 /* Define to 1 if you have the `sysconf' function. */
259 #cmakedefine HAVE_SYSCONF 1
260
261 /* Define to 1 if you have the <sys/ioctl.h> header file. */
262 #cmakedefine HAVE_SYS_IOCTL_H 1
263
264 /* Define to 1 if you have the <sys/param.h> header file. */
265 #cmakedefine HAVE_SYS_PARAM_H 1
266
267 /* Define to 1 if you have the <sys/socket.h> header file. */
268 #cmakedefine HAVE_SYS_SOCKET_H 1
269
270 /* Define to 1 if you have the <sys/sockio.h> header file. */
271 #cmakedefine HAVE_SYS_SOCKIO_H 1
272
273 /* Define to 1 if you have the <sys/stat.h> header file. */
274 #cmakedefine HAVE_SYS_STAT_H 1
275
276 /* Define to 1 if you have the <sys/time.h> header file. */
277 #cmakedefine HAVE_SYS_TIME_H 1
278
279 /* Define to 1 if you have the <sys/types.h> header file. */
280 #cmakedefine HAVE_SYS_TYPES_H 1
281
282 /* Define to 1 if you have the <sys/utsname.h> header file. */
283 #cmakedefine HAVE_SYS_UTSNAME_H 1
284
285 /* Define to 1 if you have the <sys/wait.h> header file. */
286 #cmakedefine HAVE_SYS_WAIT_H 1
287
288 /* Define to 1 if you have the <unistd.h> header file. */
289 #cmakedefine HAVE_UNISTD_H 1
290
291 /* Define to 1 if you have the <windows.h> header file. */
292 #cmakedefine HAVE_WINDOWS_H 1
293
294 /* Define to 1 if you have the <winsock2.h> header file. */
295 #cmakedefine HAVE_WINSOCK2_H 1
296
297 /* HTML viewer, e.g. mozilla */
298 #cmakedefine HTML_VIEWER
299
300 /* Define if <inttypes.h> defines PRI[doxu]64 macros */
301 /* Note: always defines  PRI[doxu]64 macros so inttypes.h becomes useless.*/
302 #cmakedefine INTTYPES_H_DEFINES_FORMATS 1
303
304 /* Define if g_ascii_strtoull.h needs to be included */
305 #cmakedefine NEED_G_ASCII_STRTOULL_H 1
306
307 /* Define if inet/aton.h needs to be included */
308 #cmakedefine NEED_INET_ATON_H 1
309
310 /* Define if inet/v6defs.h needs to be included */
311 #cmakedefine NEED_INET_V6DEFS_H 1
312
313 /* Define if strptime.h needs to be included */
314 #cmakedefine NEED_STRPTIME_H 1
315
316 /* Name of package */
317 #cmakedefine PACKAGE
318
319 /* Define to the address where bug reports for this package should be sent. */
320 #cmakedefine PACKAGE_BUGREPORT
321
322 /* Define to the full name of this package. */
323 #cmakedefine PACKAGE_NAME
324
325 /* Define to the full name and version of this package. */
326 #cmakedefine PACKAGE_STRING
327
328 /* Define to the one symbol short name of this package. */
329 #cmakedefine PACKAGE_TARNAME
330
331 /* Define to the version of this package. */
332 #cmakedefine PACKAGE_VERSION
333
334 /* Plugin installation directory */
335 #cmakedefine PLUGIN_DIR
336
337 /* Define if we are using version of of the Portaudio library API */
338 #cmakedefine PORTAUDIO_API_1 1
339
340 /* Define to 1 if you have the <pwd.h> header file. */
341 #cmakedefine HAVE_PWD_H 1
342
343 /* Define to 1 if you have the <grp.h> header file. */
344 #cmakedefine HAVE_GRP_H 1
345
346 /* Define to 1 if you have the ANSI C header files. */
347 /* Note: not use in the code */
348 #cmakedefine STDC_HEADERS 1
349
350 /* Define to 1 if your processor stores words with the most significant byte
351    first (like Motorola and SPARC, unlike Intel and VAX). */
352 #cmakedefine WORDS_BIGENDIAN 1
353
354 /* Define as the string to precede external variable declarations in
355    dynamically-linked libraries */
356 #define WS_VAR_IMPORT @WS_VAR_IMPORT@
357
358 /* Define WS_MSVC_NORETURN appropriately for declarations of routines that
359    never return (just like Charlie on the MTA).
360
361    Note that MSVC++ expects __declspec(noreturn) to precede the function
362    name and GCC, as far as I know, expects __attribute__((noreturn)) to
363    follow the function name, so we need two different flavors of
364    noreturn tag.  */
365 #define WS_MSVC_NORETURN @WS_MSVC_NORETURN@
366
367 /* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a
368    `char[]'. */
369 /* Note: not use in the code */
370 #cmakedefine YYTEXT_POINTER
371
372 /* _U_ isn't needed for C++, simply don't name the variable.
373    Also, running moc with -D_U_... breaks cmake's auto escaping magic. */
374 #ifndef __cplusplus
375 # define _U_ ${C_UNUSED}
376 #endif
377