summaryrefslogtreecommitdiff
path: root/m4/sha512.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/sha512.m4
parentcbf5993c43f49281173f185863577d86bfac6eae (diff)
downloadcoreutils-tarball-70e9163c9c18e995515598085cb824e554eb7ae7.tar.gz
Diffstat (limited to 'm4/sha512.m4')
-rw-r--r--m4/sha512.m413
1 files changed, 6 insertions, 7 deletions
diff --git a/m4/sha512.m4 b/m4/sha512.m4
index 2de0b2e..3247e0a 100644
--- a/m4/sha512.m4
+++ b/m4/sha512.m4
@@ -1,15 +1,14 @@
-# sha512.m4 serial 2
-dnl Copyright (C) 2005, 2006 Free Software Foundation, Inc.
+# sha512.m4 serial 9
+dnl Copyright (C) 2005-2006, 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_SHA512],
[
- AC_LIBSOURCES([sha512.c, sha512.h, u64.h])
- AC_LIBOBJ([sha512])
-
dnl Prerequisites of lib/sha512.c.
- AC_REQUIRE([AC_C_BIGENDIAN])
- :
+ AC_REQUIRE([gl_BIGENDIAN])
+
+ dnl Determine HAVE_OPENSSL_SHA512 and LIB_CRYPTO
+ gl_CRYPTO_CHECK([SHA512])
])