summaryrefslogtreecommitdiff
path: root/m4/md5.m4
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2011-02-18 00:07:03 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2011-02-18 00:07:03 -0800
commit942f733fd1251da4486cf1d72ec5569532dfd19d (patch)
tree7c04854c15370219b6282c302ebcaed75a2f0eb8 /m4/md5.m4
parent37b3d30244ad822e049b6b20c2eadf5946cb02cc (diff)
downloademacs-942f733fd1251da4486cf1d72ec5569532dfd19d.tar.gz
Import crypto/md5 module from gnulib.
* Makefile.in (MAKEFILE_MODULES): Add crypto/md5. * admin/notes/copyright: Remove src/md5.c and src/md5.h as special cases. * src/Makefile.in (base_obj): Remove md5.o, since this file is in lib now. * src/deps.mk (md5.o): Remove. * aclocal.m4, configure, lib/Makefile.in, lib/gnulib.mk, m4/gl-comp.m4: Regenerate. * lib/md5.c: Regenerate. This renames the file from src/md5.c, and adds some porting improvements from gnulib. * lib/md5.h: Regenerate, likwise; rename from src/md5.h. * m4/md5.m4: New file, from gnulib. 2011-02-18 Paul Eggert <eggert@cs.ucla.edu>
Diffstat (limited to 'm4/md5.m4')
-rw-r--r--m4/md5.m415
1 files changed, 15 insertions, 0 deletions
diff --git a/m4/md5.m4 b/m4/md5.m4
new file mode 100644
index 00000000000..ce7671d6cea
--- /dev/null
+++ b/m4/md5.m4
@@ -0,0 +1,15 @@
+# md5.m4 serial 11
+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_MD5],
+[
+ AC_LIBOBJ([md5])
+
+ dnl Prerequisites of lib/md5.c.
+ AC_REQUIRE([gl_BIGENDIAN])
+ AC_REQUIRE([AC_C_INLINE])
+ :
+])