configure: fix broken test for cuda
[fio.git] / 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