Fix build if just one of libverbs or librdma is installed
authorJens Axboe <axboe@kernel.dk>
Thu, 28 Mar 2013 18:52:17 +0000 (12:52 -0600)
committerJens Axboe <axboe@kernel.dk>
Thu, 28 Mar 2013 18:52:17 +0000 (12:52 -0600)
Signed-off-by: Jens Axboe <axboe@kernel.dk>
configure

index 76da4ba597674a35ba9a14ef5a1d5cb2d1c20374..836d7ade7940979f1e39b2c40baa959f4f1321b0 100755 (executable)
--- a/configure
+++ b/configure
@@ -1017,7 +1017,7 @@ fi
 if test "$sfaa" = "yes" ; then
   output_sym "CONFIG_SFAA"
 fi
-if test "$libverbs" = "yes" -o "rdmacm" = "yes" ; then
+if test "$libverbs" = "yes" -a "rdmacm" = "yes" ; then
   output_sym "CONFIG_RDMA"
 fi
 if test "$clock_gettime" = "yes" ; then