diff options
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 bd92bd0e9..75e11bd4f 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -1036,9 +1036,10 @@ AC_CHECK_LIB([kvm],[kvm_open]) | |||
1036 | AC_CHECK_LIB([kstat],[kstat_open]) | 1036 | AC_CHECK_LIB([kstat],[kstat_open]) |
1037 | 1037 | ||
1038 | libsodium=0 | 1038 | libsodium=0 |
1039 | # test for libsodium | 1039 | # test for libsodium >=1.017 (introduction of |
1040 | # crypto_scalarmult_ed25519_base_noclamp API) | ||
1040 | AC_CHECK_HEADER([sodium.h], | 1041 | AC_CHECK_HEADER([sodium.h], |
1041 | [AC_CHECK_LIB([sodium], [crypto_pwhash_argon2id], | 1042 | [AC_CHECK_LIB([sodium], [crypto_scalarmult_ed25519_base_noclamp], |
1042 | [libsodium=1])]) | 1043 | [libsodium=1])]) |
1043 | 1044 | ||
1044 | AS_IF([test x$libsodium = x0], | 1045 | AS_IF([test x$libsodium = x0], |