summaryrefslogtreecommitdiff
path: root/m4/sha256.m4
diff options
context:
space:
mode:
authorLeo Liu <sdl.web@gmail.com>2011-06-21 16:45:39 +0800
committerLeo Liu <sdl.web@gmail.com>2011-06-21 16:45:39 +0800
commit3ce9d0d41be2eb2050c73727dac0154109333755 (patch)
tree2c951b040775dfa8826956dc3ebc32eff13f930c /m4/sha256.m4
parent327c8fb10ae31b2733e94333e04d1a30fcc2c0f2 (diff)
downloademacs-3ce9d0d41be2eb2050c73727dac0154109333755.tar.gz
Add crypto/sha256 and crypto/sha512 modules from gnulib
Diffstat (limited to 'm4/sha256.m4')
-rw-r--r--m4/sha256.m412
1 files changed, 12 insertions, 0 deletions
diff --git a/m4/sha256.m4 b/m4/sha256.m4
new file mode 100644
index 00000000000..a3429ed3423
--- /dev/null
+++ b/m4/sha256.m4
@@ -0,0 +1,12 @@
+# sha256.m4 serial 5
+dnl Copyright (C) 2005, 2008-2011 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],
+[
+ dnl Prerequisites of lib/sha256.c.
+ AC_REQUIRE([gl_BIGENDIAN])
+ AC_REQUIRE([AC_C_INLINE])
+])