From cd5d2fc036003eb0c1a7f91755d3f5aa327067b4 Mon Sep 17 00:00:00 2001 From: Raghavendra G Date: Tue, 31 Aug 2010 03:20:29 +0000 Subject: rpc-transport/rdma: By default, enable building of rdma only if libibverbs is installed. Signed-off-by: Raghavendra G Signed-off-by: Vijay Bellur BUG: 513 (Introduce 0 copy rdma) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=513 --- configure.ac | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index d274fe6bc5c..b2cad35de74 100644 --- a/configure.ac +++ b/configure.ac @@ -275,14 +275,17 @@ if test "x$enable_ibverbs" = "xyes" -a "x$HAVE_LIBIBVERBS" = "xno"; then exit 1 fi - +BUILD_RDMA=no BUILD_IBVERBS=no if test "x$enable_ibverbs" != "xno" -a "x$HAVE_LIBIBVERBS" = "xyes"; then IBVERBS_SUBDIR=ib-verbs BUILD_IBVERBS=yes + RDMA_SUBDIR=rdma + BUILD_RDMA=yes fi AC_SUBST(IBVERBS_SUBDIR) +AC_SUBST(RDMA_SUBDIR) # end IBVERBS section -- cgit