mirror of
https://git.tukaani.org/xz.git
synced 2024-04-04 12:36:23 +02:00
Build: Fix checking for system-provided SHA-256.
This commit is contained in:
parent
21b45b9bab
commit
fe00f95828
1 changed files with 1 additions and 1 deletions
|
@ -563,7 +563,7 @@ if test "x$enable_check_sha256" = "xyes"; then
|
||||||
[sha256_header_found=yes ; break])
|
[sha256_header_found=yes ; break])
|
||||||
if test "x$sha256_header_found" = xyes; then
|
if test "x$sha256_header_found" = xyes; then
|
||||||
AC_CHECK_TYPES([CC_SHA256_CTX, SHA256_CTX, SHA2_CTX], [], [],
|
AC_CHECK_TYPES([CC_SHA256_CTX, SHA256_CTX, SHA2_CTX], [], [],
|
||||||
[[#ifdef HAVE_SYS_TYPES
|
[[#ifdef HAVE_SYS_TYPES_H
|
||||||
# include <sys/types.h>
|
# include <sys/types.h>
|
||||||
#endif
|
#endif
|
||||||
#ifdef HAVE_COMMONCRYPTO_COMMONDIGEST_H
|
#ifdef HAVE_COMMONCRYPTO_COMMONDIGEST_H
|
||||||
|
|
Loading…
Reference in a new issue