Wireshark-dev: Re: [Wireshark-dev] including GPLv3 autoconf macro in Wireshark

From: Jeff Morriss <jeff.morriss.ws@xxxxxxxxx>
Date: Fri, 18 May 2012 17:14:40 -0400
Jakub Zawadzki wrote:
Hi,

On Fri, May 18, 2012 at 02:55:06PM -0400, Jeff Morriss wrote:
I found out recently that Wireshark needs the Z_BLOCK macro which is only in zlib 1.2.0.5 and later. Rather than checking explicitly for the version (which seemed like it would be a pain) I thought I'd check for the macro.
[...]
Or do I have to find another solution?

I propose another solution:
  #ifdef Z_BLOCK
    /* when preset */
  #else
    /* when no */
  #endif

That would obviously be great--but is it reasonably possible? I assumed this was needed for our fancy new zipped-file processing.