[PATCH] configure: sha1: check libsha1 using pkg-config instead

Mikhail Gusarov dottedmag at dottedmag.net
Sun May 2 09:53:35 PDT 2010


Twas brillig at 18:33:40 02.05.2010 UTC+03 when tiago.vignatti at nokia.com did gyre and gimble:

 TV> Previously the code was using AC_CHECK_LIB, guaranteeing whether
 TV> the library is correct by tracking sha1_begin function. This
 TV> paranoic checking is not necessary given there's only one libsha1
 TV> in the market, which surely contains such function.

 TV> Moreover, this patch now improves a bit the sha1 implementation
 TV> checking behavior using pkg-config to find the right flags that
 TV> needs to link against.

 TV> Signed-off-by: Tiago Vignatti <tiago.vignatti at nokia.com>

Reviewed-by: Mikhail Gusarov <dottedmag at dottedmag.net>

-- 
  http://fossarchy.blogspot.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20100502/cc3c195f/attachment.pgp>


More information about the xorg-devel mailing list