mcst-linux-kernel/patches-2024.06.26/openmpi-4.1.5/0001-Patch-configure-test-f...

30 lines
788 B
Diff

From fb9c599c9c0c6a86ece3a141555a60a420876970 Mon Sep 17 00:00:00 2001
Date: Wed, 4 Nov 2020 09:48:34 +0300
Subject: [PATCH] Patch configure test for fortran underscore detect
Original issue: Bug 117161 Bug 112824
Update for: Bug 126498 Bug 126920
Change configure test to check fortran symbol mangling of common block, not function name
---
configure | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/configure b/configure
index 7aa973b..19242d8 100755
--- a/configure
+++ b/configure
@@ -44506,7 +44506,8 @@ else
ompi_cv_fortran_external_symbol="skipped"
else
cat >conftest.f <<EOF
- subroutine FOO_bar(a)
+ subroutine FOObar()
+ common /FOO_bar/ a
integer a
a = 1
return
--
2.1.4