Wireshark mailing list archives
Re: including GPLv3 autoconf macro in Wireshark
From: Guy Harris <guy () alum mit edu>
Date: Fri, 18 May 2012 14:29:03 -0700
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 <wireshark-dev () wireshark org> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- including GPLv3 autoconf macro in Wireshark Jeff Morriss (May 18)
- Re: including GPLv3 autoconf macro in Wireshark Jakub Zawadzki (May 18)
- Re: including GPLv3 autoconf macro in Wireshark Jeff Morriss (May 18)
- Re: including GPLv3 autoconf macro in Wireshark Guy Harris (May 18)
- Re: including GPLv3 autoconf macro in Wireshark Jakub Zawadzki (May 19)
- Re: including GPLv3 autoconf macro in Wireshark Jeff Morriss (May 21)
- Re: including GPLv3 autoconf macro in Wireshark Jakub Zawadzki (May 19)
- Re: including GPLv3 autoconf macro in Wireshark Jakub Zawadzki (May 18)