File Fix-error-with-stricter-quoting-requirements-of-autoconf-2.70.patch of Package openmpi2.34857

commit cb992424a2d67b70aad35925c9027f43e61c1ae6
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 fd7816e3ea7a..67059a8c851e 100644
--- config/opal_check_cuda.m4
+++ config/opal_check_cuda.m4
@@ -91,8 +91,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.
openSUSE Build Service is sponsored by