[xserver] add libc as a choice for SHA1 implementation

Keith Packard keithp at keithp.com
Sun Nov 1 14:54:13 PST 2009


Excerpts from Matthieu Herrb's message of Sun Nov 01 09:34:35 -0800 2009:

> +AC_CHECK_FUNCS([SHA1Init], [HAVE_LIBC_SHA1=yes])

I'd suggest AC_CHECK_FUNC instead; as far as I can tell, AC_CHECK_FUNCS
will also define HAVE_SHA1INIT. Also, can you  use HAVE_LIBC_SHA1
consistently rather than having two separate names (HAVE_LIBC_SHA1 and
HAVE_SHA1_IN_LIBC)? Yes, I know one is a preprocessor symbol and the
other is a cpp shell variable, but I think that will work anyway.

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: not available
Url : http://lists.x.org/archives/xorg-devel/attachments/20091101/92aed15a/attachment.pgp 


More information about the xorg-devel mailing list