From 10985f6e275f3e231cf1945d1f32d4e223de80fe Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Sat, 19 Dec 2020 06:16:04 +0000 Subject: [PATCH] In Wireshark's version info, indicate whether we were built with Minizip. We can't determine the version number, as there's nothing in the header to indicate the version with which we were compiled, nor is there an API to determine the version with which we're running. (cherry picked from commit 6498bde741afdd55904fc80b692a5590471a5069) --- ui/qt/main.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ui/qt/main.cpp b/ui/qt/main.cpp index 8ba244f682..ecfd07dce1 100644 --- a/ui/qt/main.cpp +++ b/ui/qt/main.cpp @@ -250,6 +250,12 @@ get_gui_compiled_info(GString *str) #else g_string_append(str, ", with SpeexDSP (using bundled resampler)"); #endif + +#ifdef HAVE_MINIZIP + g_string_append(str, ", with Minizip"); +#else + g_string_append(str, ", without Minizip"); +#endif } // xxx copied from ../gtk/main.c