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:
parent
eb89555a24
commit
8cf5e9fd48
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user