On May 18, 2012, at 11:55 AM, 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.

You could use AC_TRY_COMPILE() with a test program such as

        #ifndef Z_BLOCK
        #error "Z_BLOCK isn't available"
        #endif

and with zlib.h being one of its includes.
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <[email protected]>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:[email protected]?subject=unsubscribe

Reply via email to