diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2011-05-26 18:50:08 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2011-05-26 18:50:08 +0200 |
commit | 7eef1c79e399f4d14ac9741681d5f7afc2ed7193 (patch) | |
tree | 34fab221a35f4aa44276e6e82460d94eea8080db /m4 | |
parent | 592b925b4aa5d5e0b79c58abd5d509db8a9db246 (diff) | |
download | gnutls-7eef1c79e399f4d14ac9741681d5f7afc2ed7193.tar.gz |
libgcrypt support was removed.
Diffstat (limited to 'm4')
-rw-r--r-- | m4/hooks.m4 | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/m4/hooks.m4 b/m4/hooks.m4 index 5af3831392..e117eecd5c 100644 --- a/m4/hooks.m4 +++ b/m4/hooks.m4 @@ -41,7 +41,7 @@ AC_DEFUN([LIBGNUTLS_HOOKS], # Interfaces added: AGE++ # Interfaces removed: AGE=0 AC_SUBST(LT_CURRENT, 27) - AC_SUBST(LT_REVISION, 0) + AC_SUBST(LT_REVISION, 1) AC_SUBST(LT_AGE, 0) AC_SUBST(LT_SSL_CURRENT, 27) @@ -58,24 +58,24 @@ AC_DEFUN([LIBGNUTLS_HOOKS], cryptolib="nettle" - AC_ARG_WITH(libgcrypt, - AS_HELP_STRING([--with-libgcrypt], [use libgcrypt as crypto library]), - libgcrypt=$withval, - libgcrypt=no) - if test "$libgcrypt" = "yes"; then - cryptolib=libgcrypt - AC_DEFINE([HAVE_GCRYPT], 1, [whether the gcrypt library is in use]) - AC_LIB_HAVE_LINKFLAGS([gcrypt], [gpg-error], [#include <gcrypt.h>], - [enum gcry_cipher_algos i = GCRY_CIPHER_CAMELLIA128]) - if test "$ac_cv_libgcrypt" != yes; then - AC_MSG_ERROR([[ -*** -*** Libgcrypt v1.4.0 or later was not found. You may want to get it from -*** ftp://ftp.gnupg.org/gcrypt/libgcrypt/ -*** - ]]) - fi - fi +dnl AC_ARG_WITH(libgcrypt, +dnl AS_HELP_STRING([--with-libgcrypt], [use libgcrypt as crypto library]), +dnl libgcrypt=$withval, +dnl libgcrypt=no) +dnl if test "$libgcrypt" = "yes"; then +dnl cryptolib=libgcrypt +dnl AC_DEFINE([HAVE_GCRYPT], 1, [whether the gcrypt library is in use]) +dnl AC_LIB_HAVE_LINKFLAGS([gcrypt], [gpg-error], [#include <gcrypt.h>], +dnl [enum gcry_cipher_algos i = GCRY_CIPHER_CAMELLIA128]) +dnl if test "$ac_cv_libgcrypt" != yes; then +dnl AC_MSG_ERROR([[ +dnl*** +dnl*** Libgcrypt v1.4.0 or later was not found. You may want to get it from +dnl*** ftp://ftp.gnupg.org/gcrypt/libgcrypt/ +dnl*** +dnl ]]) +dnl fi +dnl fi AC_MSG_CHECKING([whether to use nettle]) if test "$cryptolib" = "nettle";then |