Re: pkg-config zlib check in 3c13bc

Subject: Re: pkg-config zlib check in 3c13bc

Date: Thu, 08 May 2014 21:11:07 +0900

To: Tomi Ollila, Xīcò, notmuch@notmuchmail.org

Cc:

From: David Bremner


Tomi Ollila <tomi.ollila@iki.fi> writes:

>
> But, I'd like suggest alternate option to create a test c program
> and test whether it compiles (analogous to what there is already
> done with many other checks) -- this same would apply to fdatasync()
> case too.
>

I agree in principle, but I'm not sure it's detectable at compile time,
since the option we need is passed as a string (boo!).  

I guess the ZLIB_VERNUM hack would be preferable to adding platform
specific checks to configure. But note you'd need somehow to find
zlib.h.

See my other patch for fdatasync.

d

Thread: