summaryrefslogtreecommitdiff
path: root/m4/sha1.m4
diff options
context:
space:
mode:
authorLeo Liu <sdl.web@gmail.com>2011-05-24 16:12:52 +0800
committerLeo Liu <sdl.web@gmail.com>2011-05-24 16:12:52 +0800
commit13c3daa4aed4b185596dd0bb6bc45bd941f1e3ab (patch)
tree0178a565b32a1aa8a1b748096fc1ef26771b07f9 /m4/sha1.m4
parent5a95c00237a294c17452ab66ebae2f34de25c133 (diff)
Add crypto/sha1 module from gnulib
Diffstat (limited to 'm4/sha1.m4')
-rw-r--r--m4/sha1.m415
1 files changed, 15 insertions, 0 deletions
diff --git a/m4/sha1.m4 b/m4/sha1.m4
new file mode 100644
index 00000000000..e40505f2f70
--- /dev/null
+++ b/m4/sha1.m4
@@ -0,0 +1,15 @@
+# sha1.m4 serial 9
+dnl Copyright (C) 2002-2006, 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_SHA1],
+[
+ AC_LIBOBJ([sha1])
+
+ dnl Prerequisites of lib/sha1.c.
+ AC_REQUIRE([gl_BIGENDIAN])
+ AC_REQUIRE([AC_C_INLINE])
+ :
+])