Procházet zdrojové kódy

configure.ac: Fix test

Nathalie Furmento před 14 roky
rodič
revize
6f43a089a6
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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