Assume we HAVE_GZCLEARERR on Windows and when using cmake
[obnox/wireshark/wip.git] / cmakeconfig.h.in
index 701b535e16ed3135d2ddb5761a77ad38c3fae878..77c562b06189bd040cfa6140487d13a273d16cb2 100644 (file)
@@ -1,7 +1,22 @@
 /* cmakeconfig.h.in */
 
+/* Note: You cannot use earlier #defines in later #cmakedefines (cmake 2.6.2). */
+
+/* Version number of package */
+#define VERSION "${CPACK_PACKAGE_VERSION}"
+
+/* FIXME: Move the path stuff to the CMakeInstallDirs.cmake file */
 /* Directory for data */
-#define DATAFILE_DIR "@CMAKE_INSTALL_PREFIX@/share/@CPACK_PACKAGE_NAME@"
+#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}"
+
+/* 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 plugins */
+#cmakedefine HAVE_PLUGINS 1
 
 /* Link plugins statically into Wireshark */
 #cmakedefine ENABLE_STATIC 1
 /* Define to 1 if you have the <fcntl.h> header file. */
 #cmakedefine HAVE_FCNTL_H 1
 
+/* Define to 1 if you have the <getopt.h> header file. */
+#cmakedefine HAVE_GETOPT_H 1
+
+/* Define to 1 if you have the `chown' function. */
+#cmakedefine HAVE_CHOWN 1
+
 /* Define to 1 if you have the `gethostbyname2' function. */
 #cmakedefine HAVE_GETHOSTBYNAME2 1
 
 /* Define to 1 if you have the `getprotobynumber' function. */
 #cmakedefine HAVE_GETPROTOBYNUMBER 1
 
+/* Define to use the airpcap library */
+#cmakedefine HAVE_AIRPCAP 1
+
+/* Define to use C ares library */
+#cmakedefine HAVE_C_ARES 1
+
+/* Define to use SMI SNMP library */
+#cmakedefine HAVE_LIBSMI 1
+
+/* Define to use GEOIP library */
+#cmakedefine HAVE_GEOIP 1
+
+/* Define to use capabilities library */
+#cmakedefine HAVE_LIBCAP 1
+
 /* Define to use GNU ADNS library */
 #cmakedefine HAVE_GNU_ADNS 1
 
 /* Define to use heimdal kerberos */
 #cmakedefine HAVE_HEIMDAL_KERBEROS 1
 
-/* Define if you have the iconv() function. */
-#cmakedefine HAVE_ICONV 1
-
 /* Define if inet_ntop() prototype exists */
 #cmakedefine HAVE_INET_NTOP_PROTO 1
 
 /* Define to use libz library */
 #cmakedefine HAVE_LIBZ 1
 
+/* Define to 1 if you have the `gzclearerr' function */
+#cmakedefine HAVE_GZCLEARERR 1
+
 /* Define to 1 if you have the <lua5.1/lauxlib.h> header file. */
 #cmakedefine HAVE_LUA5_1_LAUXLIB_H 1
 
 /* Define to 1 if you have the <lua.h> header file. */
 #cmakedefine HAVE_LUA_H 1
 
+/* Define to 1 if you have libpython. */
+#cmakedefine HAVE_PYTHON 1
+
 /* Define to 1 if you have the <memory.h> header file. */
 #cmakedefine HAVE_MEMORY_H 1
 
 /* Define to use MIT kerberos */
 #cmakedefine HAVE_MIT_KERBEROS 1
 
+/* Define to 1 if you have the `mkdtemp' function. */
+#cmakedefine HAVE_MKDTEMP 1
+
+/* Define to 1 if you have the `mkstemp' function. */
+#cmakedefine HAVE_MKSTEMP 1
+
 /* Define to 1 if you have the `mmap' function. */
 #cmakedefine HAVE_MMAP 1
 
 /* Define to 1 if you have the <net-snmp/net-snmp-config.h> header file. */
 #cmakedefine HAVE_NET_SNMP_NET_SNMP_CONFIG_H 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 `pcap_breakloop' function. */
 #cmakedefine HAVE_PCAP_BREAKLOOP 1
 
+/* Define to 1 if you have the `pcap_create' function. */
+#cmakedefine HAVE_PCAP_CREATE 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_val_to_description' function. */
+#cmakedefine HAVE_PCAP_DATALINK_VAL_TO_DESCRIPTION 1
+
 /* Define to 1 if you have the `pcap_datalink_val_to_name' function. */
 #cmakedefine HAVE_PCAP_DATALINK_VAL_TO_NAME 1
 
 /* Define to 1 if you have the `pcap_freecode' function. */
 #cmakedefine HAVE_PCAP_FREECODE 1
 
+/* Define to 1 if you have the `pcap_free_datalinks' function. */
+#cmakedefine HAVE_PCAP_FREE_DATALINKS 1
+
 /* Define to 1 if you have the `pcap_get_selectable_fd' function. */
 #cmakedefine HAVE_PCAP_GET_SELECTABLE_FD 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_buffer_size' function. */
+#define HAVE_PCAP_SET_BUFFER_SIZE 1
+
 /* Define to 1 if you have the `pcap_set_datalink' function. */
 #cmakedefine HAVE_PCAP_SET_DATALINK 1
 
 /* Define if sa_len field exists in struct sockaddr */
 #cmakedefine HAVE_SA_LEN 1
 
-/* Define to 1 if some SNMP support is to be used */
-#cmakedefine HAVE_SOME_SNMP 1
-
 /* Define to 1 if you have the <stdarg.h> header file. */
 #cmakedefine HAVE_STDARG_H 1
 
 /* Define to 1 if you have the <sys/wait.h> header file. */
 #cmakedefine HAVE_SYS_WAIT_H 1
 
-/* Define to enable support for UCD-SNMP */
-#cmakedefine HAVE_UCD_SNMP 1
-
 /* Define to 1 if you have the <unistd.h> header file. */
 #cmakedefine HAVE_UNISTD_H 1
 
+/* 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
+
 /* HTML viewer, e.g. mozilla */
 #cmakedefine HTML_VIEWER
 
-/* Define as const if the declaration of iconv() needs const. */
-#cmakedefine ICONV_CONST 1
-
 /* 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
 
-/* Define if getopt.h needs to be included */
-#cmakedefine NEED_GETOPT_H 1
-
 /* Define if g_ascii_strtoull.h needs to be included */
 #cmakedefine NEED_G_ASCII_STRTOULL_H 1
 
 /* Define if we are using version of of the Portaudio library API */
 #cmakedefine PORTAUDIO_API_1 1
 
-/* Format for printing 64-bit unsigned hexadecimal numbers (upper-case) */
-#cmakedefine PRIX64 @PRIX64@
-
-/* Format for printing 64-bit signed decimal numbers */
-#cmakedefine PRId64 @PRId64@
+/* Define to 1 if you have the <pwd.h> header file. */
+#cmakedefine HAVE_PWD_H 1
 
-/* Format for printing 64-bit unsigned octal numbers */
-#cmakedefine PRIo64 @PRIo64@
-
-/* Format for printing 64-bit unsigned decimal numbers */
-#cmakedefine PRIu64 @PRIu64@
-
-/* Format for printing 64-bit unsigned hexadecimal numbers (lower-case) */
-#cmakedefine PRIx64 @PRIx64@
+/* Define to 1 if you have the <grp.h> header file. */
+#cmakedefine HAVE_GRP_H 1
 
 /* Define to 1 if you have the ANSI C header files. */
 /* Note: not use in the code */
 #cmakedefine STDC_HEADERS 1
 
-/* Version number of package */
-#define VERSION "@CPACK_PACKAGE_VERSION@"
-
 /* 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