~drizzle-trunk/drizzle/development

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
AC_LIB_HAVE_LINKFLAGS(gnutls-openssl,,
  [#include <gnutls/openssl.h>],
  [
    MD5_CTX context;
    MD5_Init (&context);
  ])
AS_IF([test "x$ac_cv_libgnutls" = "xno"],
  [
    AC_LIB_HAVE_LINKFLAGS(crypto,,
      [#include <openssl/md5.h>],
      [
        MD5_CTX context;
        MD5_Init (&context);
       ])
    AS_IF([test "x$ac_cv_libcrypto" = "xno"],
    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.]))
  ])