summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorMohammed Rafi KC <rkavunga@redhat.com>2015-03-27 23:43:05 +0530
committerKaleb KEITHLEY <kkeithle@redhat.com>2015-03-30 09:45:10 -0700
commit8277b02a947ea63d438a77eb1335466ae5060b00 (patch)
tree94dc9c2b7446abfeb9e9c1f649be3dabc1b59667 /configure.ac
parent0a3420dbd57361174eb30fc054754f8c5499ecfb (diff)
build:change dependency for librdmacm to version >= 1.0.15
Thanks to Niels for the fix Change-Id: I0954b6f498461dde2b986da9e0e45775175249c9 BUG: 1206744 Signed-off-by: Mohammed Rafi KC <rkavunga@redhat.com> Reviewed-on: http://review.gluster.org/10028 Reviewed-by: Niels de Vos <ndevos@redhat.com> Reviewed-by: Humble Devassy Chirammal <humble.devassy@gmail.com> Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 89ea35ce6f1..7392b706bb8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -605,6 +605,13 @@ if test "x$enable_ibverbs" != "xno"; then
[HAVE_LIBIBVERBS="yes"],
[HAVE_LIBIBVERBS="no"])
AC_CHECK_LIB([rdmacm], [rdma_create_id], [HAVE_RDMACM="yes"], [HAVE_RDMACM="no"])
+ if test "x$HAVE_RDMACM" = "xyes" ; then
+ AC_CHECK_DECLS(
+ [RDMA_OPTION_ID_REUSEADDR],
+ [],
+ [AC_ERROR([Need at least version 1.0.15 of librdmacm])],
+ [[#include <rdma/rdma_cma.h>]])
+ fi
fi
if test "x$enable_ibverbs" = "xyes"; then