Generate randpkt_core/doxygen.cfg.
[metze/wireshark/wip.git] / cmakeconfig.h.in
index 6bf1d95a8194015b01094cb15e169c3c63d0e9c2..bff142b5201f99f024d663ad88402dd9b8536bc7 100644 (file)
@@ -5,21 +5,28 @@
 /* Name of package */
 #define PACKAGE "wireshark"
 
 /* Name of package */
 #define PACKAGE "wireshark"
 
+#define VERSION_EXTRA "$ENV{WIRESHARK_VERSION_EXTRA}"
+
 /* Version number of package */
 /* Version number of package */
-#define VERSION "${CPACK_PACKAGE_VERSION}"
-#define VERSION_MAJOR "${PROJECT_MAJOR_VERSION}"
-#define VERSION_MINOR "${PROJECT_MINOR_VERSION}"
-#define VERSION_MICRO "${PROJECT_PATCH_VERSION}"
+#define VERSION "${CPACK_PACKAGE_VERSION}${VERSION_EXTRA}"
+#define VERSION_MAJOR ${PROJECT_MAJOR_VERSION}
+#define VERSION_MINOR ${PROJECT_MINOR_VERSION}
+#define VERSION_MICRO ${PROJECT_PATCH_VERSION}
+
+#define VERSION_FLAVOR "${VERSION_FLAVOR}"
 
 /* FIXME: Move the path stuff to the CMakeInstallDirs.cmake file */
 /* Directory for data */
 #define DATAFILE_DIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATADIR}/${CPACK_PACKAGE_NAME}"
 
 
 /* FIXME: Move the path stuff to the CMakeInstallDirs.cmake file */
 /* Directory for data */
 #define DATAFILE_DIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATADIR}/${CPACK_PACKAGE_NAME}"
 
-/* Path to Python. */
-#cmakedefine PYTHON_DIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATADIR}/${CPACK_PACKAGE_NAME}/python/${CPACK_PACKAGE_VERSION}"
+/* Build wsutil with SIMD optimization */
+#cmakedefine HAVE_SSE4_2 1
+
+/* Directory where extcap hooks reside */
+#define EXTCAP_DIR "${EXTCAP_DIR}"
 
 
-/* Directory where plugins reside */
-#define PLUGIN_DIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}/@CPACK_PACKAGE_NAME@/plugins/${CPACK_PACKAGE_VERSION}"
+/* Define to 1 if we want to enable extcap */
+#cmakedefine HAVE_EXTCAP 1
 
 /* Define to 1 if we want to enable plugins */
 #cmakedefine HAVE_PLUGINS 1
 
 /* Define to 1 if we want to enable plugins */
 #cmakedefine HAVE_PLUGINS 1
 /* Define to use c-ares library */
 #cmakedefine HAVE_C_ARES 1
 
 /* Define to use c-ares library */
 #cmakedefine HAVE_C_ARES 1
 
-/* Define to 1 if you have the <direct.h> header file. */
-#cmakedefine HAVE_DIRECT_H 1
-
-/* Define to 1 if you have the <dirent.h> header file. */
-#cmakedefine HAVE_DIRENT_H 1
-
 /* Define to 1 if you have the `dladdr' function. */
 #cmakedefine HAVE_DLADDR 1
 
 /* Define to 1 if you have the `dladdr' function. */
 #cmakedefine HAVE_DLADDR 1
 
 /* Define if GeoIP supports IPv6 (GeoIP 1.4.5 and later) */
 #cmakedefine HAVE_GEOIP_V6 1
 
 /* Define if GeoIP supports IPv6 (GeoIP 1.4.5 and later) */
 #cmakedefine HAVE_GEOIP_V6 1
 
+/* Define if LIBSSH support is enabled */
+#cmakedefine HAVE_LIBSSH 1
+
+/* Define if LIBSSH has ssh_userauth_agent() function */
+#cmakedefine HAVE_SSH_USERAUTH_AGENT 1
+
+/* Define if you have the 'floorl' function. */
+#cmakedefine HAVE_FLOORL 1
+
+/* Define if you have the 'lrint' function. */
+#cmakedefine HAVE_LRINT 1
+
+/* Define to 1 if you have the `getaddrinfo' function. */
+#cmakedefine HAVE_GETADDRINFO 1
+
+/* 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
 
 /* Define to 1 if you have the `gethostbyname2' function. */
 #cmakedefine HAVE_GETHOSTBYNAME2 1
 
-/* Define to 1 if you have the getopt function. */
-#cmakedefine HAVE_GETOPT 1
+/* Define to 1 if you have the getopt_long function. */
+#cmakedefine HAVE_GETOPT_LONG 1
 
 /* Define to 1 if you have the <getopt.h> header file. */
 #cmakedefine HAVE_GETOPT_H 1
 
 
 /* Define to 1 if you have the <getopt.h> header file. */
 #cmakedefine HAVE_GETOPT_H 1
 
+/* Define if GLib's printf functions support thousands grouping. */
+#cmakedefine HAVE_GLIB_PRINTF_GROUPING 1
+
 /* Define to 1 if you have the `getprotobynumber' function. */
 #cmakedefine HAVE_GETPROTOBYNUMBER 1
 
 /* Define to 1 if you have the `getprotobynumber' function. */
 #cmakedefine HAVE_GETPROTOBYNUMBER 1
 
 /* Define to use heimdal kerberos */
 #cmakedefine HAVE_HEIMDAL_KERBEROS 1
 
 /* Define to use heimdal kerberos */
 #cmakedefine HAVE_HEIMDAL_KERBEROS 1
 
-/* Define unless inet/aton.h needs to be included */
-#cmakedefine HAVE_INET_ATON_H 1
+/* Define to 1 if you have the `inet_aton' function. */
+#cmakedefine HAVE_INET_ATON 1
 
 /* Define if inet_ntop() prototype exists */
 #cmakedefine HAVE_INET_NTOP_PROTO 1
 
 /* Define if inet_ntop() prototype exists */
 #cmakedefine HAVE_INET_NTOP_PROTO 1
 /* Define to use kerberos */
 #cmakedefine HAVE_KERBEROS 1
 
 /* Define to use kerberos */
 #cmakedefine HAVE_KERBEROS 1
 
-/* Define if krb5.h defines KEYTYPE_ARCFOUR_56 */
-#cmakedefine HAVE_KEYTYPE_ARCFOUR_56 1
-
-/* Define to 1 if you have the <lauxlib.h> header file. */
-#cmakedefine HAVE_LAUXLIB_H 1
-
 /* Define to use the libcap library */
 #cmakedefine HAVE_LIBCAP 1
 
 /* Define to use the libcap library */
 #cmakedefine HAVE_LIBCAP 1
 
 /* Define to use libportaudio library */
 #cmakedefine HAVE_LIBPORTAUDIO 1
 
 /* Define to use libportaudio library */
 #cmakedefine HAVE_LIBPORTAUDIO 1
 
-/* Define if we have QtMacExtras */
-#cmakedefine QT_MACEXTRAS_LIB 1
-
 /* Define to 1 if you have the `smi' library (-lsmi). */
 #cmakedefine HAVE_LIBSMI 1
 
 /* Define to use libz library */
 #cmakedefine HAVE_LIBZ 1
 
 /* Define to 1 if you have the `smi' library (-lsmi). */
 #cmakedefine HAVE_LIBSMI 1
 
 /* Define to use libz library */
 #cmakedefine HAVE_LIBZ 1
 
+/* 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
+
 /* Define to use Lua */
 #cmakedefine HAVE_LUA 1
 
 /* Define to use Lua */
 #cmakedefine HAVE_LUA 1
 
-/* Define to 1 if you have the <lualib.h> header file. */
-#cmakedefine HAVE_LUALIB_H 1
-
 /* Define to 1 if you have the <lua.h> header file. */
 #cmakedefine HAVE_LUA_H 1
 
 /* Define to 1 if you have the <lua.h> header file. */
 #cmakedefine HAVE_LUA_H 1
 
 /* SET_CHANNEL is supported */
 #cmakedefine HAVE_NL80211_CMD_SET_CHANNEL 1
 
 /* SET_CHANNEL is supported */
 #cmakedefine HAVE_NL80211_CMD_SET_CHANNEL 1
 
+/* SPLIT_WIPHY_DUMP is supported */
+#cmakedefine HAVE_NL80211_SPLIT_WIPHY_DUMP 1
+
 /* Define to 1 if you have the <Ntddndis.h> header file. */
 #cmakedefine HAVE_NTDDNDIS_H 1
 
 /* Define to 1 if you have OS X frameworks */
 #cmakedefine HAVE_OS_X_FRAMEWORKS 1
 
 /* Define to 1 if you have the <Ntddndis.h> header file. */
 #cmakedefine HAVE_NTDDNDIS_H 1
 
 /* Define to 1 if you have OS X frameworks */
 #cmakedefine HAVE_OS_X_FRAMEWORKS 1
 
+/* Define to 1 if you have the OS X CFPropertyListCreateWithStream function */
+#cmakedefine HAVE_CFPROPERTYLISTCREATEWITHSTREAM 1
+
 /* Define if pcap_breakloop is known */
 #cmakedefine HAVE_PCAP_BREAKLOOP 1
 
 /* Define if pcap_breakloop is known */
 #cmakedefine HAVE_PCAP_BREAKLOOP 1
 
-/* FIXME: The code (at least) in dumpcap assumes that PCAP_CREATE is not
- *        available on Windows - but we detect it in winpcap */
-#ifndef _WIN32
 /* Define to 1 if you have the `pcap_create' function. */
 #cmakedefine HAVE_PCAP_CREATE 1
 /* Define to 1 if you have the `pcap_create' function. */
 #cmakedefine HAVE_PCAP_CREATE 1
-#endif
+
+/* Define to 1 if the capture buffer size can be set. */
+#cmakedefine CAN_SET_CAPTURE_BUFFER_SIZE 1
 
 /* Define to 1 if you have the `pcap_datalink_name_to_val' function. */
 #cmakedefine HAVE_PCAP_DATALINK_NAME_TO_VAL 1
 
 /* Define to 1 if you have the `pcap_datalink_name_to_val' function. */
 #cmakedefine HAVE_PCAP_DATALINK_NAME_TO_VAL 1
 /* Define to 1 if you have the `pcap_list_datalinks' function. */
 #cmakedefine HAVE_PCAP_LIST_DATALINKS 1
 
 /* Define to 1 if you have the `pcap_list_datalinks' function. */
 #cmakedefine HAVE_PCAP_LIST_DATALINKS 1
 
+/* Define to 1 if you have the `pcap_open' function. */
+#cmakedefine HAVE_PCAP_OPEN 1
+
 /* Define to 1 if you have the `pcap_open_dead' function. */
 #cmakedefine HAVE_PCAP_OPEN_DEAD 1
 
 /* Define to 1 if you have the `pcap_open_dead' function. */
 #cmakedefine HAVE_PCAP_OPEN_DEAD 1
 
 /* Define to 1 if you have the `pcap_set_datalink' function. */
 #cmakedefine HAVE_PCAP_SET_DATALINK 1
 
 /* Define to 1 if you have the `pcap_set_datalink' function. */
 #cmakedefine HAVE_PCAP_SET_DATALINK 1
 
-/* Define if plugins are enabled */
-#cmakedefine HAVE_PLUGINS 1
+/* Define to 1 if you have the `pcap_setsampling' function. */
+#cmakedefine HAVE_PCAP_SETSAMPLING 1
+
+/* Define to 1 if you have the `pcap_set_tstamp_precision' function. */
+#cmakedefine HAVE_PCAP_SET_TSTAMP_PRECISION 1
+
+/* Define to 1 if you have the popcount function. */
+#cmakedefine HAVE_POPCOUNT 1
 
 /* Define to 1 if you have the <portaudio.h> header file. */
 #cmakedefine HAVE_PORTAUDIO_H 1
 
 /* Define to 1 if you have the <portaudio.h> header file. */
 #cmakedefine HAVE_PORTAUDIO_H 1
 /* Define to 1 if you have the <pwd.h> header file. */
 #cmakedefine HAVE_PWD_H 1
 
 /* Define to 1 if you have the <pwd.h> header file. */
 #cmakedefine HAVE_PWD_H 1
 
-/* Define if python devel package available */
-#cmakedefine HAVE_PYTHON 1
+/* Define to 1 if you have the optreset variable */
+#cmakedefine HAVE_OPTRESET 1
 
 /* Define to 1 to enable remote capturing feature in WinPcap library */
 #cmakedefine HAVE_REMOTE 1
 
 /* Define to 1 to enable remote capturing feature in WinPcap library */
 #cmakedefine HAVE_REMOTE 1
 /* Define if sa_len field exists in struct sockaddr */
 #cmakedefine HAVE_SA_LEN 1
 
 /* Define if sa_len field exists in struct sockaddr */
 #cmakedefine HAVE_SA_LEN 1
 
-/* Define to 1 if you have the <stdarg.h> header file. */
-#cmakedefine HAVE_STDARG_H 1
+/* Define to 1 if you want to playing SBC by standalone BlueZ SBC library */
+#cmakedefine HAVE_SBC 1
 
 
-/* Define to 1 if you have the <stddef.h> header file. */
-#cmakedefine HAVE_STDDEF_H 1
+/* 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
+
+/* Define to 1 if you have the WinSparkle library */
+#cmakedefine HAVE_SOFTWARE_UPDATE 1
 
 /* Define to 1 if you have the <stdint.h> header file. */
 #cmakedefine HAVE_STDINT_H 1
 
 
 /* Define to 1 if you have the <stdint.h> header file. */
 #cmakedefine HAVE_STDINT_H 1
 
-/* Define to 1 if you have the <stdlib.h> header file. */
-#cmakedefine HAVE_STDLIB_H 1
-
 /* Define to 1 if you have the <strings.h> header file. */
 #cmakedefine HAVE_STRINGS_H 1
 
 /* Define to 1 if you have the <strings.h> header file. */
 #cmakedefine HAVE_STRINGS_H 1
 
-/* Define to 1 if you have the <string.h> header file. */
-#cmakedefine HAVE_STRING_H 1
+/* Define if you have the 'strptime' function. */
+#cmakedefine HAVE_STRPTIME 1
+
+/* Define if st_flags field exists in struct stat */
+#cmakedefine HAVE_ST_FLAGS 1
 
 /* Define to 1 if you have the `sysconf' function. */
 #cmakedefine HAVE_SYSCONF 1
 
 /* Define to 1 if you have the `sysconf' function. */
 #cmakedefine HAVE_SYSCONF 1
 #cmakedefine HAVE_WINSOCK2_H 1
 
 /* HTML viewer, e.g. mozilla */
 #cmakedefine HAVE_WINSOCK2_H 1
 
 /* HTML viewer, e.g. mozilla */
-#cmakedefine HTML_VIEWER
-
-/* Define if <inttypes.h> defines PRI[doxu]64 macros */
-/* Note: always defines  PRI[doxu]64 macros so inttypes.h becomes useless.*/
-#cmakedefine INTTYPES_H_DEFINES_FORMATS 1
+#cmakedefine HTML_VIEWER "${HTML_VIEWER_EXECUTABLE}"
 
 /* Define if inet/v6defs.h needs to be included */
 #cmakedefine NEED_INET_V6DEFS_H 1
 
 
 /* Define if inet/v6defs.h needs to be included */
 #cmakedefine NEED_INET_V6DEFS_H 1
 
-/* Define if strptime.h needs to be included */
-#cmakedefine NEED_STRPTIME_H 1
-
 /* Name of package */
 #cmakedefine PACKAGE
 
 /* Name of package */
 #cmakedefine PACKAGE
 
 #cmakedefine PCAP_NG_DEFAULT 1
 
 /* Plugin installation directory */
 #cmakedefine PCAP_NG_DEFAULT 1
 
 /* Plugin installation directory */
-#cmakedefine PLUGIN_DIR
+#cmakedefine PLUGIN_INSTALL_DIR "${PLUGIN_INSTALL_DIR}"
 
 /* Define if we are using version of of the Portaudio library API */
 #cmakedefine PORTAUDIO_API_1 1
 
 
 /* Define if we are using version of of the Portaudio library API */
 #cmakedefine PORTAUDIO_API_1 1
 
-/* Define to 1 if you have the ANSI C header files. */
-/* Note: not use in the code */
-#cmakedefine STDC_HEADERS 1
+/* Define if we have QtMultimedia */
+#cmakedefine QT_MULTIMEDIA_LIB 1
+
+/* Define if we have QtMacExtras */
+#cmakedefine QT_MACEXTRAS_LIB 1
+
+/* Define if we have QtWinExtras */
+/* #cmakedefine QT_WINEXTRAS_LIB 1 */
+
+/* Support for packet editor */
+#cmakedefine WANT_PACKET_EDITOR 1
 
 /* Define to 1 if your processor stores words with the most significant byte
    first (like Motorola and SPARC, unlike Intel and VAX). */
 #cmakedefine WORDS_BIGENDIAN 1
 
 
 /* Define to 1 if your processor stores words with the most significant byte
    first (like Motorola and SPARC, unlike Intel and VAX). */
 #cmakedefine WORDS_BIGENDIAN 1
 
+/* Build androiddump with libpcap instead of wireshark stuff */
+#cmakedefine ANDROIDDUMP_USE_LIBPCAP 1
+
 /* Large file support */
 #cmakedefine _LARGEFILE_SOURCE
 #cmakedefine _LARGEFILE64_SOURCE
 /* Large file support */
 #cmakedefine _LARGEFILE_SOURCE
 #cmakedefine _LARGEFILE64_SOURCE
 #define _U_ ${C_UNUSED}
 
 #if defined(_WIN32)
 #define _U_ ${C_UNUSED}
 
 #if defined(_WIN32)
+
+   /* WpdPack/INclude/pcap/pcap.h checks for "#if defined(WIN32)" */
+#  ifndef WIN32
+#    define WIN32      1
+#  endif
+
 #  if !defined(QT_VERSION) || !defined(_SSIZE_T_DEFINED)
    typedef int ssize_t;
 #  endif
 
    /* FIXME: Detection doesn't work */
 #  define HAVE_NTDDNDIS_H 1
 #  if !defined(QT_VERSION) || !defined(_SSIZE_T_DEFINED)
    typedef int ssize_t;
 #  endif
 
    /* FIXME: Detection doesn't work */
 #  define HAVE_NTDDNDIS_H 1
-   /* Visual C 9 (2008), Visual C 10 (2010) and Visual C 11 (2012) need these
-    * prototypes
+   /* Visual C 9 (2008), Visual C 10 (2010), Visual C 11 (2012) and Visual C 12 (2013)
+    *  need these prototypes
     * XXX: Can we use MSC_VER >= 1500 ?? */
     * XXX: Can we use MSC_VER >= 1500 ?? */
-#  if _MSC_VER == 1500 || _MSC_VER == 1600 || _MSC_VER == 1700
-#    define NTDDI_VERSION NTDDI_WIN2K
-#    define _WIN32_WINNT _WIN32_WINNT_WIN2K
+#  if _MSC_VER == 1500 || _MSC_VER == 1600 || _MSC_VER == 1700 || _MSC_VER == 1800
+#    define NTDDI_VERSION NTDDI_WINXPSP3
+#    define _WIN32_WINNT _WIN32_WINNT_WINXP
 #  endif
 
    /*
 #  endif
 
    /*
 #  define UNICODE 1
 #  define _UNICODE 1
 
 #  define UNICODE 1
 #  define _UNICODE 1
 
-#  define INET6 1
 #  define NEED_INET_V6DEFS_H 1
 #  define NEED_INET_V6DEFS_H 1
-#  define HTML_VIEWER "mozilla"
 #  define NEED_STRPTIME_H 1
 #endif
 #  define NEED_STRPTIME_H 1
 #endif