aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2011-05-24 00:23:46 +0300
committerLasse Collin <lasse.collin@tukaani.org>2011-05-24 00:23:46 +0300
commitfe00f95828ef5627721b57e054f7eb2d42a2c961 (patch)
tree0e455813942328fce7c5c8a3623b863ef4c07751 /configure.ac
parentBuild: Set GZIP_ENV=-9n in top-level Makefile.am. (diff)
downloadxz-fe00f95828ef5627721b57e054f7eb2d42a2c961.tar.xz
Build: Fix checking for system-provided SHA-256.
Diffstat (limited to '')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index a75c520b..bc85fdd0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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