[zeromq-dev] .configure on libzmq loose libsodium when the option -std=c++11 is set

Laurent Alebarde l.alebarde at free.fr
Thu Oct 17 17:12:06 CEST 2013


It is strange, if I add -std=c++11 in configure.ac, like this (here 
unconditionaly for test) :

ZMQ_ORIG_CPPFLAGS="-std=c++11 ${ZMQ_ORIG_CPPFLAGS}"
CPPFLAGS="-std=c++11  ${CPPFLAGS}"

then .configure does not find anymore libsodium :

checking for sodium_init in -lsodium... no
configure: WARNING: libsodium is needed for CURVE security

If I revert :

checking for sodium_init in -lsodium... yes

I will try to build libsodium with c++11 too, but it looks strange.

Any clue please ?



Laurent
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20131017/6eb7c045/attachment.htm>


More information about the zeromq-dev mailing list