]> code.delx.au - gnu-emacs/blobdiff - m4/sha256.m4
Fix an error in Tramp for rsync
[gnu-emacs] / m4 / sha256.m4
index 7eede32fad63a17a0eaa6fbbed27b28717e03311..91f63b75c9195617c96c2398e8e38f45bdb1e9d2 100644 (file)
@@ -1,5 +1,5 @@
-# sha256.m4 serial 6
-dnl Copyright (C) 2005, 2008-2013 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.
@@ -8,4 +8,7 @@ AC_DEFUN([gl_SHA256],
 [
   dnl Prerequisites of lib/sha256.c.
   AC_REQUIRE([gl_BIGENDIAN])
+
+  dnl Determine HAVE_OPENSSL_SHA256 and LIB_CRYPTO
+  gl_CRYPTO_CHECK([SHA256])
 ])