openmpi1/Fix-error-with-stricter-quoting-requirements-of-autoconf-2.70.patch

24 lines
1.0 KiB
Diff

commit 00e96b9cf66a9e424e9c60405996123c614a50d9
Author: Christoph Niethammer <niethammer@hlrs.de>
Date: Tue Jan 19 22:56:19 2021 +0100
Fix error with stricter quoting requirements of autoconf-2.70
Signed-off-by: Christoph Niethammer <niethammer@hlrs.de>
diff --git config/opal_check_cuda.m4 config/opal_check_cuda.m4
index 1248f15e3400..c86d8a396c25 100644
--- config/opal_check_cuda.m4
+++ config/opal_check_cuda.m4
@@ -85,8 +85,8 @@ AS_IF([test "$opal_check_cuda_happy"="yes"],
# If we have CUDA support, check to see if we have support for SYNC_MEMOPS
# which was first introduced in CUDA 6.0.
AS_IF([test "$opal_check_cuda_happy"="yes"],
- AC_CHECK_DECL([CU_POINTER_ATTRIBUTE_SYNC_MEMOPS], [CUDA_SYNC_MEMOPS=1], [CUDA_SYNC_MEMOPS=0],
- [#include <$opal_cuda_incdir/cuda.h>]),
+ [AC_CHECK_DECL([CU_POINTER_ATTRIBUTE_SYNC_MEMOPS], [CUDA_SYNC_MEMOPS=1], [CUDA_SYNC_MEMOPS=0],
+ [#include <$opal_cuda_incdir/cuda.h>])],
[])
# If we have CUDA support, check to see if we have CUDA 6.0 or later.