1
AC_LIB_HAVE_LINKFLAGS(gcrypt,,[
5
gcry_md_hash_buffer(GCRY_MD_MD5, digest, source, 0);
7
AS_IF([test "x$ac_cv_libgcrypt" = "xno"],[
8
AC_MSG_WARN([MD5 not found in libgcrypt: not building md5 plugin. On Debian this is found in libgcrypt11-dev. On RedHat it is in libgcrypt-devel.])
1
AC_LIB_HAVE_LINKFLAGS(gnutls-openssl,,
2
[#include <gnutls/openssl.h>],
7
AS_IF([test "x$ac_cv_libgnutls" = "xno"],
9
AC_LIB_HAVE_LINKFLAGS(crypto,,
10
[#include <openssl/md5.h>],
15
AS_IF([test "x$ac_cv_libcrypto" = "xno"],
16
AC_MSG_WARN([MD5 not found in either gnutls or crypto lib not building md5 plugin. On Debian this is found in libgnutls-dev. On RedHat it is in gnutls-devel.]))