configure: fix broken test for cuda
authorJens Axboe <axboe@fb.com>
Wed, 26 Apr 2017 21:24:36 +0000 (15:24 -0600)
committerJens Axboe <axboe@fb.com>
Wed, 26 Apr 2017 21:24:36 +0000 (15:24 -0600)
Fixes: 03553853 ("GPUDirect RDMA support")
Signed-off-by: Jens Axboe <axboe@fb.com>
configure

index 75d0978d305442b6a8e2306d9c4a1fd776f5a5ce..83a670292ada5f59df85a521b32a9e57b8d9998d 100755 (executable)
--- a/configure
+++ b/configure
@@ -2003,7 +2003,7 @@ int main(int argc, char **argv)
   return cuInit(0);
 }
 EOF
-if test "$enable_cuda" == "yes"  && compile_prog "" "-lcuda" "cuda"; then
+if test "$enable_cuda" = "yes" && compile_prog "" "-lcuda" "cuda"; then
   cuda="yes"
   LIBS="-lcuda $LIBS"
 fi