2006-09-06 22:28:19 +00:00
|
|
|
/* cmakeconfig.h.in */
|
|
|
|
|
2009-09-21 00:19:07 +00:00
|
|
|
/* Note: You cannot use earlier #defines in later #cmakedefines (cmake 2.6.2). */
|
|
|
|
|
2011-08-02 21:23:00 +00:00
|
|
|
/* Name of package */
|
|
|
|
#define PACKAGE "wireshark"
|
|
|
|
|
2015-01-10 21:29:57 +00:00
|
|
|
#define VERSION_EXTRA "$ENV{WIRESHARK_VERSION_EXTRA}"
|
|
|
|
|
2009-09-12 17:20:08 +00:00
|
|
|
/* Version number of package */
|
2015-01-10 21:29:57 +00:00
|
|
|
#define VERSION "${CPACK_PACKAGE_VERSION}${VERSION_EXTRA}"
|
2014-01-02 19:11:06 +00:00
|
|
|
#define VERSION_MAJOR ${PROJECT_MAJOR_VERSION}
|
|
|
|
#define VERSION_MINOR ${PROJECT_MINOR_VERSION}
|
|
|
|
#define VERSION_MICRO ${PROJECT_PATCH_VERSION}
|
2009-09-12 17:20:08 +00:00
|
|
|
|
2015-02-10 21:48:48 +00:00
|
|
|
#define VERSION_FLAVOR "${VERSION_FLAVOR}"
|
|
|
|
|
2009-09-21 00:19:07 +00:00
|
|
|
/* FIXME: Move the path stuff to the CMakeInstallDirs.cmake file */
|
2006-09-06 22:28:19 +00:00
|
|
|
/* Directory for data */
|
2009-09-21 00:19:07 +00:00
|
|
|
#define DATAFILE_DIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATADIR}/${CPACK_PACKAGE_NAME}"
|
2006-09-06 22:28:19 +00:00
|
|
|
|
2014-06-13 15:59:02 +00:00
|
|
|
/* Build wsutil with SIMD optimization */
|
|
|
|
#cmakedefine HAVE_SSE4_2 1
|
|
|
|
|
2014-02-25 13:05:11 +00:00
|
|
|
/* Directory where extcap hooks reside */
|
2015-04-21 09:08:19 +00:00
|
|
|
#define EXTCAP_DIR "${EXTCAP_DIR}"
|
2014-02-25 13:05:11 +00:00
|
|
|
|
|
|
|
/* Define to 1 if we want to enable extcap */
|
|
|
|
#cmakedefine HAVE_EXTCAP 1
|
|
|
|
|
2009-09-21 00:19:07 +00:00
|
|
|
/* Define to 1 if we want to enable plugins */
|
|
|
|
#cmakedefine HAVE_PLUGINS 1
|
2009-09-15 12:22:13 +00:00
|
|
|
|
2006-09-06 22:28:19 +00:00
|
|
|
/* Link plugins statically into Wireshark */
|
2006-10-24 17:39:32 +00:00
|
|
|
#cmakedefine ENABLE_STATIC 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
2013-10-10 21:02:50 +00:00
|
|
|
/* Enable AirPcap */
|
|
|
|
#cmakedefine HAVE_AIRPCAP 1
|
|
|
|
|
2006-09-06 22:28:19 +00:00
|
|
|
/* Define to 1 if you have the <arpa/inet.h> header file. */
|
2006-10-24 17:39:32 +00:00
|
|
|
#cmakedefine HAVE_ARPA_INET_H 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
|
|
|
/* Define to 1 if you have the <arpa/nameser.h> header file. */
|
2006-10-24 17:39:32 +00:00
|
|
|
#cmakedefine HAVE_ARPA_NAMESER_H 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
2013-10-10 20:36:11 +00:00
|
|
|
/* Define to 1 if you have the `bpf_image' function. */
|
|
|
|
#cmakedefine HAVE_BPF_IMAGE 1
|
|
|
|
|
2013-10-10 21:02:50 +00:00
|
|
|
/* Define to use c-ares library */
|
|
|
|
#cmakedefine HAVE_C_ARES 1
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `dladdr' function. */
|
|
|
|
#cmakedefine HAVE_DLADDR 1
|
|
|
|
|
2006-09-06 22:28:19 +00:00
|
|
|
/* Define to 1 if you have the <dlfcn.h> header file. */
|
2006-10-24 17:39:32 +00:00
|
|
|
#cmakedefine HAVE_DLFCN_H 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
|
|
|
/* Define to 1 if you have the <fcntl.h> header file. */
|
2006-10-24 17:39:32 +00:00
|
|
|
#cmakedefine HAVE_FCNTL_H 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
2013-10-10 21:02:50 +00:00
|
|
|
/* Define to use GeoIP library */
|
|
|
|
#cmakedefine HAVE_GEOIP 1
|
2013-07-16 21:12:12 +00:00
|
|
|
|
2013-10-10 21:02:50 +00:00
|
|
|
/* Define if GeoIP supports IPv6 (GeoIP 1.4.5 and later) */
|
|
|
|
#cmakedefine HAVE_GEOIP_V6 1
|
2007-10-28 23:49:15 +00:00
|
|
|
|
2015-11-19 10:30:44 +00:00
|
|
|
/* Define if LIBSSH support is enabled */
|
|
|
|
#cmakedefine HAVE_LIBSSH 1
|
|
|
|
|
|
|
|
/* Define if LIBSSH has ssh_userauth_agent() function */
|
|
|
|
#cmakedefine HAVE_SSH_USERAUTH_AGENT 1
|
|
|
|
|
2014-12-20 05:18:27 +00:00
|
|
|
/* Define if you have the 'floorl' function. */
|
|
|
|
#cmakedefine HAVE_FLOORL 1
|
|
|
|
|
2015-02-04 20:18:37 +00:00
|
|
|
/* Define to 1 if you have the `getaddrinfo' function. */
|
|
|
|
#cmakedefine HAVE_GETADDRINFO 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
2015-03-01 03:20:07 +00:00
|
|
|
/* Define to 1 if you have the `gethostbyname' function. */
|
|
|
|
#cmakedefine HAVE_GETHOSTBYNAME 1
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `gethostbyname2' function. */
|
|
|
|
#cmakedefine HAVE_GETHOSTBYNAME2 1
|
|
|
|
|
2014-12-25 01:10:40 +00:00
|
|
|
/* Define to 1 if you have the getopt_long function. */
|
|
|
|
#cmakedefine HAVE_GETOPT_LONG 1
|
2009-09-12 17:20:08 +00:00
|
|
|
|
2013-10-10 21:02:50 +00:00
|
|
|
/* Define to 1 if you have the <getopt.h> header file. */
|
|
|
|
#cmakedefine HAVE_GETOPT_H 1
|
2011-10-08 06:09:38 +00:00
|
|
|
|
2015-01-05 01:43:19 +00:00
|
|
|
/* Define if GLib's printf functions support thousands grouping. */
|
|
|
|
#cmakedefine HAVE_GLIB_PRINTF_GROUPING 1
|
|
|
|
|
2013-10-10 21:02:50 +00:00
|
|
|
/* Define to 1 if you have the `getprotobynumber' function. */
|
|
|
|
#cmakedefine HAVE_GETPROTOBYNUMBER 1
|
2009-09-12 17:20:08 +00:00
|
|
|
|
2006-09-06 22:28:19 +00:00
|
|
|
/* Define to use GNU ADNS library */
|
2006-10-24 17:39:32 +00:00
|
|
|
#cmakedefine HAVE_GNU_ADNS 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
2013-10-10 21:02:50 +00:00
|
|
|
/* Define to 1 if you have the <grp.h> header file. */
|
|
|
|
#cmakedefine HAVE_GRP_H 1
|
|
|
|
|
2006-09-06 22:28:19 +00:00
|
|
|
/* Define to use heimdal kerberos */
|
2006-10-24 17:39:32 +00:00
|
|
|
#cmakedefine HAVE_HEIMDAL_KERBEROS 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
2015-12-12 03:51:07 +00:00
|
|
|
/* Define to 1 if you have the `inet_aton' function. */
|
|
|
|
#cmakedefine HAVE_INET_ATON 1
|
2013-10-10 21:02:50 +00:00
|
|
|
|
2006-09-06 22:28:19 +00:00
|
|
|
/* Define if inet_ntop() prototype exists */
|
2006-10-24 17:39:32 +00:00
|
|
|
#cmakedefine HAVE_INET_NTOP_PROTO 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
2013-10-10 21:02:50 +00:00
|
|
|
/* Define to 1 if you have the `inflatePrime' function. */
|
|
|
|
#cmakedefine HAVE_INFLATEPRIME 1
|
|
|
|
|
2006-09-06 22:28:19 +00:00
|
|
|
/* Define to 1 if you have the <inttypes.h> header file. */
|
2006-10-24 17:39:32 +00:00
|
|
|
#cmakedefine HAVE_INTTYPES_H 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
|
|
|
/* Define to 1 if you have the `issetugid' function. */
|
2006-10-24 17:39:32 +00:00
|
|
|
#cmakedefine HAVE_ISSETUGID 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
|
|
|
/* Define to use kerberos */
|
2006-10-24 17:39:32 +00:00
|
|
|
#cmakedefine HAVE_KERBEROS 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
2013-10-10 21:02:50 +00:00
|
|
|
/* Define to use the libcap library */
|
|
|
|
#cmakedefine HAVE_LIBCAP 1
|
|
|
|
|
2006-09-06 22:28:19 +00:00
|
|
|
/* Define to use libgcrypt */
|
2006-10-24 17:39:32 +00:00
|
|
|
#cmakedefine HAVE_LIBGCRYPT 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
2013-10-10 21:02:50 +00:00
|
|
|
/* Define to use GnuTLS library */
|
2006-10-24 17:39:32 +00:00
|
|
|
#cmakedefine HAVE_LIBGNUTLS 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
2013-10-10 21:02:50 +00:00
|
|
|
/* Enable libnl support */
|
|
|
|
#cmakedefine HAVE_LIBNL 1
|
|
|
|
|
|
|
|
/* libnl version 1 */
|
|
|
|
#cmakedefine HAVE_LIBNL1 1
|
|
|
|
|
|
|
|
/* libnl version 2 */
|
|
|
|
#cmakedefine HAVE_LIBNL2 1
|
|
|
|
|
|
|
|
/* libnl version 3 */
|
|
|
|
#cmakedefine HAVE_LIBNL3 1
|
|
|
|
|
2006-09-06 22:28:19 +00:00
|
|
|
/* Define to use libpcap library */
|
2006-10-24 17:39:32 +00:00
|
|
|
#cmakedefine HAVE_LIBPCAP 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
|
|
|
/* Define to use libportaudio library */
|
2006-10-24 17:39:32 +00:00
|
|
|
#cmakedefine HAVE_LIBPORTAUDIO 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
2013-10-10 21:02:50 +00:00
|
|
|
/* Define to 1 if you have the `smi' library (-lsmi). */
|
|
|
|
#cmakedefine HAVE_LIBSMI 1
|
|
|
|
|
2006-09-06 22:28:19 +00:00
|
|
|
/* Define to use libz library */
|
2006-10-24 17:39:32 +00:00
|
|
|
#cmakedefine HAVE_LIBZ 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
2015-03-30 22:55:15 +00:00
|
|
|
/* Define to 1 if you have the <linux/sockios.h> header file. */
|
|
|
|
#cmakedefine HAVE_LINUX_SOCKIOS_H 1
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <linux/if_bonding.h> header file. */
|
|
|
|
#cmakedefine HAVE_LINUX_IF_BONDING_H 1
|
|
|
|
|
2013-10-10 20:14:12 +00:00
|
|
|
/* Define to use Lua */
|
|
|
|
#cmakedefine HAVE_LUA 1
|
|
|
|
|
2006-09-06 22:28:19 +00:00
|
|
|
/* Define to 1 if you have the <lua.h> header file. */
|
2006-10-24 17:39:32 +00:00
|
|
|
#cmakedefine HAVE_LUA_H 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
|
|
|
/* Define to 1 if you have the <memory.h> header file. */
|
2006-10-24 17:39:32 +00:00
|
|
|
#cmakedefine HAVE_MEMORY_H 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
|
|
|
/* Define to use MIT kerberos */
|
2006-10-24 17:39:32 +00:00
|
|
|
#cmakedefine HAVE_MIT_KERBEROS 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
2009-09-01 19:19:41 +00:00
|
|
|
/* Define to 1 if you have the `mkdtemp' function. */
|
|
|
|
#cmakedefine HAVE_MKDTEMP 1
|
|
|
|
|
2009-08-31 23:11:52 +00:00
|
|
|
/* Define to 1 if you have the `mkstemp' function. */
|
|
|
|
#cmakedefine HAVE_MKSTEMP 1
|
|
|
|
|
2006-09-06 22:28:19 +00:00
|
|
|
/* Define to 1 if you have the `mmap' function. */
|
2006-10-24 17:39:32 +00:00
|
|
|
#cmakedefine HAVE_MMAP 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
|
|
|
/* Define to 1 if you have the `mprotect' function. */
|
2006-10-24 17:39:32 +00:00
|
|
|
#cmakedefine HAVE_MPROTECT 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
|
|
|
/* Define to 1 if you have the <netdb.h> header file. */
|
2006-10-24 17:39:32 +00:00
|
|
|
#cmakedefine HAVE_NETDB_H 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
|
|
|
/* Define to 1 if you have the <netinet/in.h> header file. */
|
2006-10-24 17:39:32 +00:00
|
|
|
#cmakedefine HAVE_NETINET_IN_H 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
2013-10-10 21:02:50 +00:00
|
|
|
/* nl80211.h is new enough */
|
|
|
|
#cmakedefine HAVE_NL80211 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
2013-10-10 21:02:50 +00:00
|
|
|
/* SET_CHANNEL is supported */
|
|
|
|
#cmakedefine HAVE_NL80211_CMD_SET_CHANNEL 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
2015-01-05 00:11:56 +00:00
|
|
|
/* SPLIT_WIPHY_DUMP is supported */
|
|
|
|
#cmakedefine HAVE_NL80211_SPLIT_WIPHY_DUMP 1
|
|
|
|
|
2009-09-01 19:27:59 +00:00
|
|
|
/* Define to 1 if you have the <Ntddndis.h> header file. */
|
|
|
|
#cmakedefine HAVE_NTDDNDIS_H 1
|
|
|
|
|
2006-09-06 22:28:19 +00:00
|
|
|
/* Define to 1 if you have OS X frameworks */
|
2006-10-24 17:39:32 +00:00
|
|
|
#cmakedefine HAVE_OS_X_FRAMEWORKS 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
2014-11-10 20:24:18 +00:00
|
|
|
/* Define to 1 if you have the OS X CFPropertyListCreateWithStream function */
|
|
|
|
#cmakedefine HAVE_CFPROPERTYLISTCREATEWITHSTREAM 1
|
|
|
|
|
2013-10-10 21:02:50 +00:00
|
|
|
/* Define if pcap_breakloop is known */
|
2006-10-24 17:39:32 +00:00
|
|
|
#cmakedefine HAVE_PCAP_BREAKLOOP 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
2010-05-06 18:34:30 +00:00
|
|
|
/* Define to 1 if you have the `pcap_create' function. */
|
|
|
|
#cmakedefine HAVE_PCAP_CREATE 1
|
|
|
|
|
2015-03-25 03:22:00 +00:00
|
|
|
/* Define to 1 if the capture buffer size can be set. */
|
|
|
|
#cmakedefine CAN_SET_CAPTURE_BUFFER_SIZE 1
|
|
|
|
|
2006-09-06 22:28:19 +00:00
|
|
|
/* Define to 1 if you have the `pcap_datalink_name_to_val' function. */
|
2006-10-24 17:39:32 +00:00
|
|
|
#cmakedefine HAVE_PCAP_DATALINK_NAME_TO_VAL 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
2010-03-17 19:31:33 +00:00
|
|
|
/* Define to 1 if you have the `pcap_datalink_val_to_description' function. */
|
|
|
|
#cmakedefine HAVE_PCAP_DATALINK_VAL_TO_DESCRIPTION 1
|
|
|
|
|
2006-09-06 22:28:19 +00:00
|
|
|
/* Define to 1 if you have the `pcap_datalink_val_to_name' function. */
|
2006-10-24 17:39:32 +00:00
|
|
|
#cmakedefine HAVE_PCAP_DATALINK_VAL_TO_NAME 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
|
|
|
/* Define to 1 if you have the `pcap_findalldevs' function and a pcap.h that
|
|
|
|
declares pcap_if_t. */
|
2006-10-24 17:39:32 +00:00
|
|
|
#cmakedefine HAVE_PCAP_FINDALLDEVS 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
|
|
|
/* Define to 1 if you have the `pcap_freecode' function. */
|
2006-10-24 17:39:32 +00:00
|
|
|
#cmakedefine HAVE_PCAP_FREECODE 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
2010-03-17 19:31:33 +00:00
|
|
|
/* Define to 1 if you have the `pcap_free_datalinks' function. */
|
|
|
|
#cmakedefine HAVE_PCAP_FREE_DATALINKS 1
|
|
|
|
|
2006-09-06 22:28:19 +00:00
|
|
|
/* Define to 1 if you have the `pcap_get_selectable_fd' function. */
|
2006-10-24 17:39:32 +00:00
|
|
|
#cmakedefine HAVE_PCAP_GET_SELECTABLE_FD 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
|
|
|
/* Define to 1 if you have the `pcap_lib_version' function. */
|
2006-10-24 17:39:32 +00:00
|
|
|
#cmakedefine HAVE_PCAP_LIB_VERSION 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
|
|
|
/* Define to 1 if you have the `pcap_list_datalinks' function. */
|
2006-10-24 17:39:32 +00:00
|
|
|
#cmakedefine HAVE_PCAP_LIST_DATALINKS 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
2014-08-21 22:48:48 +00:00
|
|
|
/* Define to 1 if you have the `pcap_open' function. */
|
|
|
|
#cmakedefine HAVE_PCAP_OPEN 1
|
|
|
|
|
2006-09-06 22:28:19 +00:00
|
|
|
/* Define to 1 if you have the `pcap_open_dead' function. */
|
2006-10-24 17:39:32 +00:00
|
|
|
#cmakedefine HAVE_PCAP_OPEN_DEAD 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
2013-10-10 21:02:50 +00:00
|
|
|
/* Define to 1 if you have WinPcap remote capturing support and prefer to use
|
|
|
|
these new API features. */
|
|
|
|
#cmakedefine HAVE_PCAP_REMOTE 1
|
|
|
|
|
2006-09-06 22:28:19 +00:00
|
|
|
/* Define to 1 if you have the `pcap_set_datalink' function. */
|
2006-10-24 17:39:32 +00:00
|
|
|
#cmakedefine HAVE_PCAP_SET_DATALINK 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
2014-09-28 23:28:36 +00:00
|
|
|
/* Define to 1 if you have the `pcap_setsampling' function. */
|
2014-08-21 22:48:48 +00:00
|
|
|
#cmakedefine HAVE_PCAP_SETSAMPLING 1
|
|
|
|
|
2014-09-28 23:28:36 +00:00
|
|
|
/* Define to 1 if you have the `pcap_set_tstamp_precision' function. */
|
|
|
|
#cmakedefine HAVE_PCAP_SET_TSTAMP_PRECISION 1
|
|
|
|
|
2014-12-23 05:03:46 +00:00
|
|
|
/* Define to 1 if you have the popcount function. */
|
|
|
|
#cmakedefine HAVE_POPCOUNT 1
|
|
|
|
|
2006-09-06 22:28:19 +00:00
|
|
|
/* Define to 1 if you have the <portaudio.h> header file. */
|
2006-10-24 17:39:32 +00:00
|
|
|
#cmakedefine HAVE_PORTAUDIO_H 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
2013-10-10 21:02:50 +00:00
|
|
|
/* Define to 1 if you have the <pwd.h> header file. */
|
|
|
|
#cmakedefine HAVE_PWD_H 1
|
|
|
|
|
2014-12-27 02:21:05 +00:00
|
|
|
/* Define to 1 if you have the optreset variable */
|
|
|
|
#cmakedefine HAVE_OPTRESET 1
|
|
|
|
|
2013-10-10 21:02:50 +00:00
|
|
|
/* Define to 1 to enable remote capturing feature in WinPcap library */
|
|
|
|
#cmakedefine HAVE_REMOTE 1
|
|
|
|
|
2006-09-06 22:28:19 +00:00
|
|
|
/* Define if sa_len field exists in struct sockaddr */
|
2006-10-24 17:39:32 +00:00
|
|
|
#cmakedefine HAVE_SA_LEN 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
2014-02-16 10:12:35 +00:00
|
|
|
/* Define to 1 if you want to playing SBC by standalone BlueZ SBC library */
|
|
|
|
#cmakedefine HAVE_SBC 1
|
|
|
|
|
2013-10-10 23:54:53 +00:00
|
|
|
/* Define to 1 if you have the `setresgid' function. */
|
|
|
|
#cmakedefine HAVE_SETRESGID 1
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `setresuid' function. */
|
|
|
|
#cmakedefine HAVE_SETRESUID 1
|
|
|
|
|
2014-08-20 21:29:33 +00:00
|
|
|
/* Define to 1 if you have the WinSparkle library */
|
|
|
|
#cmakedefine HAVE_SOFTWARE_UPDATE 1
|
|
|
|
|
2006-09-06 22:28:19 +00:00
|
|
|
/* Define to 1 if you have the <stdint.h> header file. */
|
2006-10-24 17:39:32 +00:00
|
|
|
#cmakedefine HAVE_STDINT_H 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
|
|
|
/* Define to 1 if you have the <strings.h> header file. */
|
2006-10-24 17:39:32 +00:00
|
|
|
#cmakedefine HAVE_STRINGS_H 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
2014-12-20 05:18:27 +00:00
|
|
|
/* Define if you have the 'strptime' function. */
|
|
|
|
#cmakedefine HAVE_STRPTIME 1
|
|
|
|
|
2013-10-10 23:54:53 +00:00
|
|
|
/* Define if st_flags field exists in struct stat */
|
|
|
|
#cmakedefine HAVE_ST_FLAGS 1
|
|
|
|
|
2006-09-06 22:28:19 +00:00
|
|
|
/* Define to 1 if you have the `sysconf' function. */
|
2006-10-24 17:39:32 +00:00
|
|
|
#cmakedefine HAVE_SYSCONF 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
|
|
|
/* Define to 1 if you have the <sys/ioctl.h> header file. */
|
2006-10-24 17:39:32 +00:00
|
|
|
#cmakedefine HAVE_SYS_IOCTL_H 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
|
|
|
/* Define to 1 if you have the <sys/param.h> header file. */
|
2006-10-24 17:39:32 +00:00
|
|
|
#cmakedefine HAVE_SYS_PARAM_H 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
|
|
|
/* Define to 1 if you have the <sys/socket.h> header file. */
|
2006-10-24 17:39:32 +00:00
|
|
|
#cmakedefine HAVE_SYS_SOCKET_H 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
|
|
|
/* Define to 1 if you have the <sys/sockio.h> header file. */
|
2006-10-24 17:39:32 +00:00
|
|
|
#cmakedefine HAVE_SYS_SOCKIO_H 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
|
|
|
/* Define to 1 if you have the <sys/stat.h> header file. */
|
2006-10-24 17:39:32 +00:00
|
|
|
#cmakedefine HAVE_SYS_STAT_H 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
|
|
|
/* Define to 1 if you have the <sys/time.h> header file. */
|
2006-10-24 17:39:32 +00:00
|
|
|
#cmakedefine HAVE_SYS_TIME_H 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
|
|
|
/* Define to 1 if you have the <sys/types.h> header file. */
|
2006-10-24 17:39:32 +00:00
|
|
|
#cmakedefine HAVE_SYS_TYPES_H 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
|
|
|
/* Define to 1 if you have the <sys/utsname.h> header file. */
|
2006-10-24 17:39:32 +00:00
|
|
|
#cmakedefine HAVE_SYS_UTSNAME_H 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
|
|
|
/* Define to 1 if you have the <sys/wait.h> header file. */
|
2006-10-24 17:39:32 +00:00
|
|
|
#cmakedefine HAVE_SYS_WAIT_H 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
2013-10-10 21:02:50 +00:00
|
|
|
/* Define if tm_zone field exists in struct tm */
|
|
|
|
#cmakedefine HAVE_TM_ZONE 1
|
|
|
|
|
|
|
|
/* Define if tzname array exists */
|
|
|
|
#cmakedefine HAVE_TZNAME 1
|
|
|
|
|
2006-09-06 22:28:19 +00:00
|
|
|
/* Define to 1 if you have the <unistd.h> header file. */
|
2006-10-24 17:39:32 +00:00
|
|
|
#cmakedefine HAVE_UNISTD_H 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
2009-09-01 19:27:59 +00:00
|
|
|
/* Define to 1 if you have the <windows.h> header file. */
|
|
|
|
#cmakedefine HAVE_WINDOWS_H 1
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <winsock2.h> header file. */
|
|
|
|
#cmakedefine HAVE_WINSOCK2_H 1
|
|
|
|
|
2006-09-06 22:28:19 +00:00
|
|
|
/* HTML viewer, e.g. mozilla */
|
2014-07-08 22:14:40 +00:00
|
|
|
#cmakedefine HTML_VIEWER "${HTML_VIEWER_EXECUTABLE}"
|
2006-09-06 22:28:19 +00:00
|
|
|
|
|
|
|
/* Define if inet/v6defs.h needs to be included */
|
2006-10-24 17:39:32 +00:00
|
|
|
#cmakedefine NEED_INET_V6DEFS_H 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
|
|
|
/* Name of package */
|
|
|
|
#cmakedefine PACKAGE
|
|
|
|
|
|
|
|
/* Define to the address where bug reports for this package should be sent. */
|
|
|
|
#cmakedefine PACKAGE_BUGREPORT
|
|
|
|
|
|
|
|
/* Define to the full name of this package. */
|
|
|
|
#cmakedefine PACKAGE_NAME
|
|
|
|
|
|
|
|
/* Define to the full name and version of this package. */
|
|
|
|
#cmakedefine PACKAGE_STRING
|
|
|
|
|
|
|
|
/* Define to the one symbol short name of this package. */
|
|
|
|
#cmakedefine PACKAGE_TARNAME
|
|
|
|
|
|
|
|
/* Define to the version of this package. */
|
|
|
|
#cmakedefine PACKAGE_VERSION
|
|
|
|
|
2013-10-10 21:02:50 +00:00
|
|
|
/* Support for pcap-ng */
|
|
|
|
#cmakedefine PCAP_NG_DEFAULT 1
|
|
|
|
|
2006-09-06 22:28:19 +00:00
|
|
|
/* Plugin installation directory */
|
2014-05-28 17:32:20 +00:00
|
|
|
#cmakedefine PLUGIN_INSTALL_DIR "${PLUGIN_INSTALL_DIR}"
|
2006-09-06 22:28:19 +00:00
|
|
|
|
|
|
|
/* Define if we are using version of of the Portaudio library API */
|
2006-10-24 17:39:32 +00:00
|
|
|
#cmakedefine PORTAUDIO_API_1 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
2014-12-13 00:51:40 +00:00
|
|
|
/* Define if we have QtMultimedia */
|
|
|
|
#cmakedefine QT_MULTIMEDIA_LIB 1
|
2014-11-19 00:21:42 +00:00
|
|
|
|
2013-10-10 23:54:53 +00:00
|
|
|
/* Define if we have QtMacExtras */
|
|
|
|
#cmakedefine QT_MACEXTRAS_LIB 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
2014-08-14 00:27:26 +00:00
|
|
|
/* Define if we have QtWinExtras */
|
|
|
|
/* #cmakedefine QT_WINEXTRAS_LIB 1 */
|
|
|
|
|
2014-10-21 05:29:11 +00:00
|
|
|
/* Support for packet editor */
|
|
|
|
#cmakedefine WANT_PACKET_EDITOR 1
|
|
|
|
|
2006-09-06 22:28:19 +00:00
|
|
|
/* Define to 1 if your processor stores words with the most significant byte
|
|
|
|
first (like Motorola and SPARC, unlike Intel and VAX). */
|
2006-10-24 17:39:32 +00:00
|
|
|
#cmakedefine WORDS_BIGENDIAN 1
|
2006-09-06 22:28:19 +00:00
|
|
|
|
2015-02-14 18:10:21 +00:00
|
|
|
/* Build androiddump with libpcap instead of wireshark stuff */
|
|
|
|
#cmakedefine ANDROIDDUMP_USE_LIBPCAP 1
|
|
|
|
|
2013-07-23 09:41:35 +00:00
|
|
|
/* Large file support */
|
|
|
|
#cmakedefine _LARGEFILE_SOURCE
|
|
|
|
#cmakedefine _LARGEFILE64_SOURCE
|
|
|
|
#cmakedefine _LARGE_FILES
|
|
|
|
#cmakedefine _FILE_OFFSET_BITS @_FILE_OFFSET_BITS@
|
|
|
|
|
2011-02-21 21:33:54 +00:00
|
|
|
/* Define WS_MSVC_NORETURN appropriately for declarations of routines that
|
|
|
|
never return (just like Charlie on the MTA).
|
2011-04-29 18:29:26 +00:00
|
|
|
|
2011-02-21 21:33:54 +00:00
|
|
|
Note that MSVC++ expects __declspec(noreturn) to precede the function
|
|
|
|
name and GCC, as far as I know, expects __attribute__((noreturn)) to
|
|
|
|
follow the function name, so we need two different flavors of
|
|
|
|
noreturn tag. */
|
|
|
|
#define WS_MSVC_NORETURN @WS_MSVC_NORETURN@
|
|
|
|
|
2006-09-06 22:28:19 +00:00
|
|
|
/* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a
|
|
|
|
`char[]'. */
|
2006-10-24 17:39:32 +00:00
|
|
|
/* Note: not use in the code */
|
2006-09-06 22:28:19 +00:00
|
|
|
#cmakedefine YYTEXT_POINTER
|
2012-02-02 12:04:22 +00:00
|
|
|
|
|
|
|
/* _U_ isn't needed for C++, simply don't name the variable.
|
2012-10-18 22:20:36 +00:00
|
|
|
However, we do need it for some headers that are shared between C and C++. */
|
|
|
|
#define _U_ ${C_UNUSED}
|
2013-10-04 21:59:18 +00:00
|
|
|
|
|
|
|
#if defined(_WIN32)
|
2013-11-29 09:45:44 +00:00
|
|
|
|
|
|
|
/* WpdPack/INclude/pcap/pcap.h checks for "#if defined(WIN32)" */
|
|
|
|
# ifndef WIN32
|
|
|
|
# define WIN32 1
|
|
|
|
# endif
|
|
|
|
|
2013-10-06 16:11:50 +00:00
|
|
|
# if !defined(QT_VERSION) || !defined(_SSIZE_T_DEFINED)
|
|
|
|
typedef int ssize_t;
|
|
|
|
# endif
|
2013-10-06 20:51:13 +00:00
|
|
|
|
2013-10-06 16:11:50 +00:00
|
|
|
/* FIXME: Detection doesn't work */
|
|
|
|
# define HAVE_NTDDNDIS_H 1
|
2014-06-19 23:48:07 +00:00
|
|
|
/* Visual C 9 (2008), Visual C 10 (2010), Visual C 11 (2012) and Visual C 12 (2013)
|
|
|
|
* need these prototypes
|
2013-10-06 20:51:13 +00:00
|
|
|
* XXX: Can we use MSC_VER >= 1500 ?? */
|
2014-06-19 23:48:07 +00:00
|
|
|
# if _MSC_VER == 1500 || _MSC_VER == 1600 || _MSC_VER == 1700 || _MSC_VER == 1800
|
2014-06-20 23:37:58 +00:00
|
|
|
# define NTDDI_VERSION NTDDI_WINXPSP3
|
|
|
|
# define _WIN32_WINNT _WIN32_WINNT_WINXP
|
2013-10-06 20:51:13 +00:00
|
|
|
# endif
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Flex (v 2.5.35) uses this symbol to "exclude" unistd.h
|
|
|
|
*/
|
|
|
|
# define YY_NO_UNISTD_H
|
|
|
|
|
|
|
|
|
2013-10-06 16:11:50 +00:00
|
|
|
# define strncasecmp strnicmp
|
2013-10-06 20:51:13 +00:00
|
|
|
# define popen _popen
|
|
|
|
# define pclose _pclose
|
|
|
|
|
2013-10-06 16:11:50 +00:00
|
|
|
# ifndef __STDC__
|
|
|
|
# define __STDC__ 0
|
|
|
|
# endif
|
|
|
|
/* Use Unicode in Windows runtime functions. */
|
|
|
|
# define UNICODE 1
|
|
|
|
# define _UNICODE 1
|
2013-10-06 20:51:13 +00:00
|
|
|
|
|
|
|
# define NEED_INET_V6DEFS_H 1
|
2013-10-07 00:21:23 +00:00
|
|
|
# define NEED_STRPTIME_H 1
|
2013-10-04 21:59:18 +00:00
|
|
|
#endif
|