Commit 65050b1b authored by Pieter Hintjens's avatar Pieter Hintjens

Added --with-relaxed to disable pedantic compiles

parent 1ee7b9b1
......@@ -102,8 +102,17 @@ if test "x$zmq_search_libsodium_lib" = "xyes"; then
fi
fi
# Set pedantic
libzmq_pedantic="yes"
AC_ARG_WITH([relaxed],
[AS_HELP_STRING([--with-relaxed],
[Switch off pedantic compiler])],
[zmq_relaxed="yes"],
[])
if test "x$zmq_relaxed" = "xyes"; then
libzmq_pedantic="no"
else
libzmq_pedantic="yes"
fi
# By default compiling with -Werror except OSX.
libzmq_werror="yes"
......
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