Split parts of the gc module into gc-md5 and gc-hmac-md5 modules.
[gnulib.git] / m4 / gc-md5.m4
1 # gc-md5.m4 serial 1
2 dnl Copyright (C) 2005 Free Software Foundation, Inc.
3 dnl This file is free software; the Free Software Foundation
4 dnl gives unlimited permission to copy and/or distribute it,
5 dnl with or without modifications, as long as this notice is preserved.
6
7 AC_DEFUN([gl_GC_MD5],
8 [
9   AC_REQUIRE([gl_GC])
10   AC_DEFINE(GC_USE_MD5, 1, [Define to if you want to support MD5 through GC.])
11   if test "$ac_cv_libgcrypt" != yes; then
12     gl_MD5
13   fi
14 ])