projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f225e56
)
fix #6220
author
Schanzenbach, Martin
<mschanzenbach@posteo.de>
Fri, 24 Apr 2020 08:18:16 +0000
(10:18 +0200)
committer
Schanzenbach, Martin
<mschanzenbach@posteo.de>
Fri, 24 Apr 2020 08:18:16 +0000
(10:18 +0200)
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index b6e44f90e0e159e4b706aac0b1d08e1da03dccd1..bfaf8cf1499f12150a4ee817713d993d324b1ec2 100644
(file)
--- 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