From: Fred Morcos Date: Tue, 22 Aug 2023 10:10:21 +0000 (+0200) Subject: Meson: Set HAVE_ZMQ_MSG_SEND in ZeroMQ module X-Git-Tag: rec-5.1.0-alpha1~80^2~165 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=581036ff7bd95480e03c2570b1b6e8fb17da60a7;p=thirdparty%2Fpdns.git Meson: Set HAVE_ZMQ_MSG_SEND in ZeroMQ module --- diff --git a/meson/zeromq/meson.build b/meson/zeromq/meson.build index 86aff43a68..45a23a65d1 100644 --- a/meson/zeromq/meson.build +++ b/meson/zeromq/meson.build @@ -7,6 +7,10 @@ endif conf.set('HAVE_LIBZMQ', dep_zeromq.found(), description: 'Have libzmq') conf.set('REMOTEBACKEND_ZEROMQ', dep_zeromq.found(), description: 'Have ZeroMQ connector') + +have_zmq_msg_send = cxx.has_function('zmq_msg_send', dependencies: dep_zeromq) +conf.set('HAVE_ZMQ_MSG_SEND', have_zmq_msg_send, description: 'Have zmq_msg_send') + summary('ZeroMQ', dep_zeromq.found(), bool_yn: true, section: 'ZeroMQ') if dep_zeromq.found()