From: Schanzenbach, Martin Date: Fri, 24 Apr 2020 08:18:16 +0000 (+0200) Subject: fix #6220 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=69f8fad56e942054bda1f7623de09c525c62b6c1;p=oweals%2Fgnunet.git fix #6220 --- 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