Mercurial > hg > octave-shane > gnulib-hg
diff m4/gc-hmac-md5.m4 @ 6363:bae11f33bf3c
Split parts of the gc module into gc-md5 and gc-hmac-md5 modules.
author | Simon Josefsson <simon@josefsson.org> |
---|---|
date | Wed, 12 Oct 2005 01:09:32 +0000 |
parents | |
children | 3a6f48afc45f |
line wrap: on
line diff
new file mode 100644 --- /dev/null +++ b/m4/gc-hmac-md5.m4 @@ -0,0 +1,17 @@ +# gc-hmac-md5.m4 serial 1 +dnl Copyright (C) 2005 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_GC_HMAC_MD5], +[ + AC_REQUIRE([gl_GC]) + AC_DEFINE(GC_USE_HMAC_MD5, 1, + [Define to if you want to support HMAC-MD5 through GC.]) + if test "$ac_cv_libgcrypt" != yes; then + gl_MD5 + gl_HMAC_MD5 + gl_MEMXOR + fi +])