From: Jens Axboe Date: Wed, 26 Apr 2017 21:24:36 +0000 (-0600) Subject: configure: fix broken test for cuda X-Git-Tag: fio-2.20~28 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=4bd2c8b9251a2c88f44ad52168252ce2de660bf7;p=fio.git configure: fix broken test for cuda Fixes: 03553853 ("GPUDirect RDMA support") Signed-off-by: Jens Axboe --- 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