On Sun,  2 May 2010 18:33:40 +0300, Tiago Vignatti <[email protected]> 
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

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables LIBSHA1_CFLAGS
and LIBSHA1_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

-- 
[email protected]

Attachment: pgpVfmWaOXVTq.pgp
Description: PGP signature

_______________________________________________
[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