On 2010-05-02 15:58, Keith Packard wrote:
On Sun,  2 May 2010 18:33:40 +0300, Tiago Vignatti wrote:

-AC_CHECK_LIB([sha1], [sha1_begin], [HAVE_LIBSHA1=yes])
+PKG_CHECK_MODULES([LIBSHA1], [sha1], [HAVE_LIBSHA1=yes])

If the sha1.pc file isn't available, this causes an error and the build
fails:

checking for LIBSHA1... configure: error: Package requirements (sha1) were not 
met:

No package 'sha1' found

PKG_CHECK_MODULES([LIBSHA1], [sha1], [HAVE_LIBSHA1=yes], [HAVE_LIBSHA1=no])


Yaakov
Cygwin/X
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to