diff options
-rw-r--r-- | configure.ac | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index 0a895e1f8..e66103b58 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -1060,14 +1060,14 @@ AC_CHECK_LIB([kvm],[kvm_open]) | |||
1060 | AC_CHECK_LIB([kstat],[kstat_open]) | 1060 | AC_CHECK_LIB([kstat],[kstat_open]) |
1061 | 1061 | ||
1062 | libsodium=0 | 1062 | libsodium=0 |
1063 | # test for libsodium >=1.017 (introduction of | 1063 | # test for libsodium >=1.018 (introduction of |
1064 | # crypto_scalarmult_ed25519_base_noclamp API) | 1064 | # crypto_scalarmult_ed25519_base_noclamp API) |
1065 | AC_CHECK_HEADER([sodium.h], | 1065 | AC_CHECK_HEADER([sodium.h], |
1066 | [AC_CHECK_LIB([sodium], [crypto_scalarmult_ed25519_base_noclamp], | 1066 | [AC_CHECK_LIB([sodium], [crypto_core_ed25519_scalar_mul], |
1067 | [libsodium=1])]) | 1067 | [libsodium=1])]) |
1068 | 1068 | ||
1069 | AS_IF([test x$libsodium = x0], | 1069 | AS_IF([test x$libsodium = x0], |
1070 | [AC_MSG_ERROR([GNUnet requires libsodium.])]) | 1070 | [AC_MSG_ERROR([GNUnet requires libsodium >= 1.0.18.])]) |
1071 | 1071 | ||
1072 | # test for libextractor | 1072 | # test for libextractor |
1073 | extractor=0 | 1073 | extractor=0 |