gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnunet] 01/03: check for libsodium


From: gnunet
Subject: [gnunet] 01/03: check for libsodium
Date: Wed, 06 May 2020 16:49:56 +0200

This is an automated email from the git hooks/post-receive script.

dold pushed a commit to branch master
in repository gnunet.

commit 35698918f80cb0b10c21fa450bf265564faf981a
Author: Florian Dold <address@hidden>
AuthorDate: Wed May 6 16:09:43 2020 +0530

    check for libsodium
---
 configure.ac | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/configure.ac b/configure.ac
index 089f0493c..94c0a7689 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1046,6 +1046,15 @@ AS_IF([test x$argon = x1],
  AC_MSG_ERROR([GNUnet requires argon2.])
 ])
 
+libsodium=0
+# test for libsodium
+AC_CHECK_HEADER([sodium.h],
+                [AC_CHECK_LIB([sodium], [sodium_init],
+                              [libsodium=1])])
+
+AS_IF([test x$libsodium = x0],
+      [AC_MSG_ERROR([GNUnet requires libsodium.])])
+
 # test for libextractor
 extractor=0
 AC_MSG_CHECKING(for libextractor)

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]