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:
Luca Boccassi 2016-02-08 12:29:44 +00:00
parent c59670dbc2
commit 6681bcf08c

View File

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