diff options
-rw-r--r-- | configure.ac | 5 | ||||
-rw-r--r-- | rpc/rpc-transport/Makefile.am | 2 |
2 files changed, 5 insertions, 2 deletions
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 diff --git a/rpc/rpc-transport/Makefile.am b/rpc/rpc-transport/Makefile.am index 61bd0a36abd..221fd640514 100644 --- a/rpc/rpc-transport/Makefile.am +++ b/rpc/rpc-transport/Makefile.am @@ -1 +1 @@ -SUBDIRS = socket rdma +SUBDIRS = socket $(RDMA_SUBDIR) |