From 4bd2c8b9251a2c88f44ad52168252ce2de660bf7 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Wed, 26 Apr 2017 15:24:36 -0600 Subject: [PATCH] configure: fix broken test for cuda Fixes: 03553853 ("GPUDirect RDMA support") Signed-off-by: Jens Axboe --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 75d0978d..83a67029 100755 --- 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 -- 2.25.1