From 69f8fad56e942054bda1f7623de09c525c62b6c1 Mon Sep 17 00:00:00 2001 From: "Schanzenbach, Martin" Date: Fri, 24 Apr 2020 10:18:16 +0200 Subject: [PATCH] fix #6220 --- configure.ac | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index b6e44f90e..bfaf8cf14 100644 --- a/configure.ac +++ b/configure.ac @@ -1033,8 +1033,15 @@ AS_IF([test x$nss = xfalse], AC_CHECK_LIB([kvm],[kvm_open]) AC_CHECK_LIB([kstat],[kstat_open]) +argon=0 # test for argon2 (for POW) -AC_CHECK_LIB([argon2],[argon2d_hash_raw]) +AC_CHECK_LIB([argon2],[argon2d_hash_raw], argon=1, argon=0) +AS_IF([test x$argon = x1], +[ + AC_MSG_RESULT([argon2 found]) +],[ + AC_MSG_ERROR([GNUnet requires argon2.]) +]) # test for libextractor extractor=0 -- 2.25.1