diff options
author | Niels Möller <nisse@lysator.liu.se> | 2020-04-25 20:01:00 +0200 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2020-04-25 20:01:00 +0200 |
commit | 4489fd6fec38deadf58058c1ca8a16f8c597be95 (patch) | |
tree | 9711313211d72219a4dc19597a12c73ee510aa8d /configure.ac | |
parent | a865bd1d037860643e99168026fbf2553f345db9 (diff) | |
download | nettle-4489fd6fec38deadf58058c1ca8a16f8c597be95.tar.gz |
Require gmp-6.1.0 or later, for mpn_zero_p.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index e5824ae0..dd7d6605 100644 --- a/configure.ac +++ b/configure.ac @@ -243,9 +243,10 @@ fi # Checks for libraries if test "x$enable_public_key" = "xyes" ; then if test "x$enable_mini_gmp" = "xno" ; then - AC_CHECK_LIB(gmp, __gmpn_sec_div_r,, + # mpn_zero_p was added in GMP-6.1.0 + AC_CHECK_LIB(gmp, __gmpn_zero_p,, [AC_MSG_WARN( - [GNU MP not found, or too old. GMP-6.0 or later is needed, see https://gmplib.org/. + [GNU MP not found, or too old. GMP-6.1.0 or later is needed, see https://gmplib.org/. Support for public key algorithms will be unavailable.])] enable_public_key=no) |