Skip to content
This repository was archived by the owner on Sep 30, 2022. It is now read-only.

Commit 2d523ab

Browse files
committed
Merge pull request #483 from ggouaillardet/topic/v2.x/configury_ompi_ext
configury: fix fortran binding checks for ompi extensions
2 parents 186d98f + 6f61b14 commit 2d523ab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

config/ompi_ext.m4

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ EOF
176176
# Make an AM conditional to see whether we're building the mpi_ext
177177
# module. Note that we only build it if we support the ignore-tkr
178178
# mpi module.
179-
AS_IF([test $OMPI_BUILD_FORTRAN_USEMPI_BINDINGS -eq 1 && \
179+
AS_IF([test $OMPI_BUILD_FORTRAN_BINDINGS -ge $OMPI_FORTRAN_USEMPI_BINDINGS && \
180180
test $OMPI_FORTRAN_HAVE_IGNORE_TKR -eq 1],
181181
[OMPI_BUILD_FORTRAN_USEMPI_EXT=1],
182182
[OMPI_BUILD_FORTRAN_USEMPI_EXT=0])
@@ -213,7 +213,7 @@ EOF
213213

214214
# Only build this mpi_f08_ext module if we're building the "use
215215
# mpi_f08" module *and* it's the non-descriptor one.
216-
AS_IF([test $OMPI_BUILD_FORTRAN_USEMPIF08_BINDINGS -eq 1 && \
216+
AS_IF([test $OMPI_BUILD_FORTRAN_BINDINGS -ge $OMPI_FORTRAN_USEMPIF08_BINDINGS && \
217217
test $OMPI_BUILD_FORTRAN_F08_SUBARRAYS -eq 0],
218218
[OMPI_BUILD_FORTRAN_USEMPIF08_EXT=1],
219219
[OMPI_BUILD_FORTRAN_USEMPIF08_EXT=0])

0 commit comments

Comments
 (0)