about summary refs log tree commit homepage
path: root/m4/gnulib-cache.m4
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2012-03-25 09:22:10 +0000
committerEric Wong <normalperson@yhbt.net>2012-03-25 10:25:17 +0000
commit10c75b0d61b7f57b9b00b7fd811c77d60a131540 (patch)
tree71484125350ebb43638ebda83c41e27f29f7170f /m4/gnulib-cache.m4
parentc454730febd2ad584ef7c2f4b0459af5cc71c551 (diff)
downloadcmogstored-10c75b0d61b7f57b9b00b7fd811c77d60a131540.tar.gz
This will allow us to add support for SHA1 (and other
algorithms) more easily in the future.

This also enables building against libgcrypt in case libgcrypt
gains optimized ASM routines or if users want a smaller binary.
Diffstat (limited to 'm4/gnulib-cache.m4')
-rw-r--r--m4/gnulib-cache.m45
1 files changed, 3 insertions, 2 deletions
diff --git a/m4/gnulib-cache.m4 b/m4/gnulib-cache.m4
index c050eec..618f656 100644
--- a/m4/gnulib-cache.m4
+++ b/m4/gnulib-cache.m4
@@ -27,7 +27,7 @@
 
 
 # Specification in the form of a command-line invocation:
-#   gnulib-tool --import --dir=. --lib=libgnu --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --avoid=alloca --avoid=fstatat --avoid=ioctl --avoid=openat --avoid=sleep --no-conditional-dependencies --no-libtool --macro-prefix=gl argp base64 canonicalize crypto/md5 dprintf git-version-gen hash mempcpy minmax mountlist pipe2 random_r verify warnings xvasprintf
+#   gnulib-tool --import --dir=. --lib=libgnu --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --avoid=alloca --avoid=fstatat --avoid=ioctl --avoid=openat --avoid=sleep --no-conditional-dependencies --no-libtool --macro-prefix=gl argp base64 canonicalize crypto/gc-md5 crypto/gc-sha1 dprintf git-version-gen hash mempcpy minmax mountlist pipe2 random_r verify warnings xvasprintf
 
 # Specification in the form of a few gnulib-tool.m4 macro invocations:
 gl_LOCAL_DIR([])
@@ -35,7 +35,8 @@ gl_MODULES([
   argp
   base64
   canonicalize
-  crypto/md5
+  crypto/gc-md5
+  crypto/gc-sha1
   dprintf
   git-version-gen
   hash