Build: Fix checking for system-provided SHA-256.

This commit is contained in:
Lasse Collin 2011-05-24 00:23:46 +03:00
parent 21b45b9bab
commit fe00f95828
1 changed files with 1 additions and 1 deletions

View File

@ -563,7 +563,7 @@ if test "x$enable_check_sha256" = "xyes"; then
[sha256_header_found=yes ; break])
if test "x$sha256_header_found" = xyes; then
AC_CHECK_TYPES([CC_SHA256_CTX, SHA256_CTX, SHA2_CTX], [], [],
[[#ifdef HAVE_SYS_TYPES
[[#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#ifdef HAVE_COMMONCRYPTO_COMMONDIGEST_H