mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-12 18:40:27 +01:00
Problem: tweetnacl/contrib/randombytes need C++0x
Solution: disable -pedantic when building with tweetnacl to avoid warning about "long long" not existing in ISO C++ 98
This commit is contained in:
parent
c59670dbc2
commit
6681bcf08c
@ -470,6 +470,7 @@ if test "x$have_sodium_library" != "xno"; then
|
|||||||
elif test "x$with_tweetnacl" != "xno"; then
|
elif test "x$with_tweetnacl" != "xno"; then
|
||||||
AC_DEFINE(HAVE_LIBSODIUM, 1, [Sodium is provided by tweetnacl.])
|
AC_DEFINE(HAVE_LIBSODIUM, 1, [Sodium is provided by tweetnacl.])
|
||||||
AC_DEFINE(HAVE_TWEETNACL, 1, [Using tweetnacl.])
|
AC_DEFINE(HAVE_TWEETNACL, 1, [Using tweetnacl.])
|
||||||
|
libzmq_pedantic="no"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AM_CONDITIONAL(HAVE_SODIUM, test "x$have_sodium_library" != "xno")
|
AM_CONDITIONAL(HAVE_SODIUM, test "x$have_sodium_library" != "xno")
|
||||||
|
Loading…
Reference in New Issue
Block a user