[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: zlib autoconf question
From: |
Paul Eggert |
Subject: |
Re: zlib autoconf question |
Date: |
Thu, 08 Aug 2013 05:47:30 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130803 Thunderbird/17.0.8 |
On 08/08/2013 04:14 AM, Lars Magne Ingebrigtsen wrote:
> AC_CHECK_LIB(z, inflateInit2_, HAVE_ZLIB=yes, HAVE_ZLIB=no)
>
> works!
>
> What's up with that?
inflateInit2 is a macro that invokes inflateInit2_,
a function that user code isn't supposed to call directly.
AC_CHECK_LIB can't check for macros, only functions.
I'd check for something that's a function, zlibVersion say.