Commit 8cf5e9fd authored by Phillip Mienk's avatar Phillip Mienk

Correct declaration of HAVE_LIBSODIUM.

parent eb89555a
......@@ -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