~drizzle-trunk/drizzle/development

1377.3.15 by Monty Taylor
Took the last suggestion from Diego and used a library that doesn't have
1
AC_LIB_HAVE_LINKFLAGS(gcrypt,,[
2
    #include <gcrypt.h>
3
  ],[
4
    void *digest, *source;
5
    gcry_md_hash_buffer(GCRY_MD_MD5, digest, source, 0);
6
  ])
7
AS_IF([test "x$ac_cv_libgcrypt" = "xno"],[
1377.3.16 by Monty Taylor
Fixed warning message.
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.])
1093.7.1 by Monty Taylor
Merged me and also fixed the md5 linking error.
9
])