0
0
mirror of https://github.com/zeromq/libzmq.git synced 2024-12-27 07:31:03 +08:00

Correct declaration of HAVE_LIBSODIUM.

This commit is contained in:
Phillip Mienk 2014-10-16 04:44:08 -07:00
parent eb89555a24
commit 8cf5e9fd48

View File

@ -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"