Martin,

libzmq master is still using ABI v1 which is obviously incorrect. This
patch sets it to v3 which is the safest choice since functionality has been
removed versus ZeroMQ 3.0 which uses ABI v2.

Please apply.

Thanks,

-mato
>From 991f7e2c85919daef43c62175da046e0a085f8e3 Mon Sep 17 00:00:00 2001
From: Martin Lucina <[email protected]>
Date: Wed, 9 Nov 2011 13:12:46 +0100
Subject: [PATCH] Set libzmq ABI version to 3

libzmq master (3.1) is not ABI compatible with libzmq 2.1.x or 3.0 (removed
functionality), hence the ABI version needs to be set to 3.

Signed-off-by: Martin Lucina <[email protected]>
---
 configure.in |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/configure.in b/configure.in
index 86147ea..9006f03 100644
--- a/configure.in
+++ b/configure.in
@@ -25,11 +25,13 @@ AC_SUBST(PACKAGE_VERSION)
 #
 # Changes:
 #
-# ZeroMQ versions prior to 2.1.0 use 0.0.0 ("unstable")
-# ZeroMQ version 2.1.0: 1:0:0
+# ZeroMQ versions prior to 2.1.0 use 0:0:0 (undefined)
+# ZeroMQ versions 2.1.x: 1:0:0 (ABI version 1)
+# ZeroMQ version 3.0: 2:0:0 (ABI version 2)
+# ZeroMQ version 3.1: 3:0:0 (ABI version 3)
 #
 # libzmq -version-info current:revision:age
-LTVER="1:0:0"
+LTVER="3:0:0"
 AC_SUBST(LTVER)
 
 # Take a copy of original flags
-- 
1.7.2.5

_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to