diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2018-03-01 16:38:29 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2018-03-01 16:38:31 +0100 |
commit | 803f2e10748995c6386bb54cad4ceaca6bd1c1b3 (patch) | |
tree | 9ce9bd3265836c4fd8e56dcbda7fe01e38329913 /configure.ac | |
parent | 70213445fe3add019f2cff2669fd2439581922f1 (diff) | |
download | gnutls-803f2e10748995c6386bb54cad4ceaca6bd1c1b3.tar.gz |
configure: simplified nettle version check
Relates #401
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/configure.ac b/configure.ac index def64b5009..18be369534 100644 --- a/configure.ac +++ b/configure.ac @@ -522,13 +522,7 @@ if test "$enable_non_suiteb" = "yes";then fi AM_CONDITIONAL(ENABLE_NON_SUITEB_CURVES, test "$enable_non_suiteb" = "yes") -dnl nettle_rsa_pss_* are only available in the development version of nettle -AC_CHECK_LIB(hogweed, nettle_rsa_pss_sha256_verify_digest, have_nettle_rsa_pss=yes, have_nettle_rsa_pss=no, [$HOGWEED_LIBS]) - -if test "$have_nettle_rsa_pss" = "yes";then - AC_DEFINE([HAVE_NETTLE_RSA_PSS], 1, [Have nettle_rsa_pss_*]) -fi -AM_CONDITIONAL(HAVE_NETTLE_RSA_PSS, test "$have_nettle_rsa_pss" = "yes") +AM_CONDITIONAL(NETTLE_3_3_API, ! $PKG_CONFIG --atleast-version=3.4 nettle) AC_MSG_CHECKING([whether to build libdane]) AC_ARG_ENABLE(libdane, |