Wireshark-dev: Re: [Wireshark-dev] including GPLv3 autoconf macro in Wireshark
From: Jakub Zawadzki <[email protected]>
Date: Fri, 18 May 2012 21:16:03 +0200

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 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 */
    /* when no */