summaryrefslogtreecommitdiff
path: root/m4/sha256.m4
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@lorry>2016-01-20 10:55:18 +0000
committerLorry Tar Creator <lorry-tar-importer@lorry>2016-01-20 10:55:18 +0000
commit70e9163c9c18e995515598085cb824e554eb7ae7 (patch)
treea42dc8b2a6c031354bf31472de888bfc8a060132 /m4/sha256.m4
parentcbf5993c43f49281173f185863577d86bfac6eae (diff)
downloadcoreutils-tarball-70e9163c9c18e995515598085cb824e554eb7ae7.tar.gz
Diffstat (limited to 'm4/sha256.m4')
-rw-r--r--m4/sha256.m413
1 files changed, 6 insertions, 7 deletions
diff --git a/m4/sha256.m4 b/m4/sha256.m4
index 4284e3f..91f63b7 100644
--- a/m4/sha256.m4
+++ b/m4/sha256.m4
@@ -1,15 +1,14 @@
-# sha256.m4 serial 1
-dnl Copyright (C) 2005 Free Software Foundation, Inc.
+# sha256.m4 serial 8
+dnl Copyright (C) 2005, 2008-2016 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
AC_DEFUN([gl_SHA256],
[
- AC_LIBSOURCES([sha256.c, sha256.h])
- AC_LIBOBJ([sha256])
-
dnl Prerequisites of lib/sha256.c.
- AC_REQUIRE([AC_C_BIGENDIAN])
- :
+ AC_REQUIRE([gl_BIGENDIAN])
+
+ dnl Determine HAVE_OPENSSL_SHA256 and LIB_CRYPTO
+ gl_CRYPTO_CHECK([SHA256])
])