Commit 08d90e8a authored by Pieter Hintjens's avatar Pieter Hintjens

Merge pull request #1210 from pmienk/master

Correct libsodium inclusion.
parents eb89555a 8cf5e9fd
......@@ -393,7 +393,11 @@ else
[AC_MSG_WARN(libsodium is needed for CURVE security)])
fi
AM_CONDITIONAL(HAVE_SODIUM, test "x$have_sodium_library" = "xyes")
if test "x$have_sodium_library" != "xno"; then
AC_DEFINE(HAVE_LIBSODIUM, 1, [The libsodium library is to be used.])
fi
AM_CONDITIONAL(HAVE_SODIUM, test "x$have_sodium_library" != "xno")
# build using pgm
have_pgm_library="no"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment