Przeglądaj źródła

configure.ac: Fix test

Nathalie Furmento 14 lat temu
rodzic
commit
6f43a089a6
1 zmienionych plików z 1 dodań i 1 usunięć
  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