Browse Source

configure.ac: Fix test

Nathalie Furmento 14 years ago
parent
commit
6f43a089a6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      configure.ac

+ 1 - 1
configure.ac

@@ -481,7 +481,7 @@ if test x$enable_cuda = xyes; then
     AC_CHECK_FUNC([cudaMemcpyPeer], have_cuda_memcpy_peer=yes, have_cuda_memcpy_peer=no)
     LDFLAGS="${SAVED_LDFLAGS}"
 fi
-if test x$have_cuda_memcpy_peer=yes; then
+if test x$have_cuda_memcpy_peer = xyes; then
     AC_DEFINE(HAVE_CUDA_MEMCPY_PEER,[],[Peer transfers are supported in CUDA])
 fi