Skip to content

Commit 936967e

Browse files
Merge pull request #1887 from ggouaillardet/topic/configury_fix
configury: fix autogen-sh --no-ompi
2 parents 252fadf + 3a32c7d commit 936967e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

config/opal_setup_wrappers.m4

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,7 @@ AC_DEFUN([OPAL_SETUP_RUNPATH],[
231231
AC_MSG_RESULT([yes (-Wl,--enable-new-dtags)])],
232232
[AC_MSG_RESULT([no])])
233233
AC_LANG_POP([C])
234+
m4_ifdef([project_ompi],[
234235
# Output goes into globally-visible $rpath_args. Run this in a
235236
# sub-process so that we don't pollute the current process
236237
# environment.
@@ -268,7 +269,7 @@ EOF
268269
end program]])],
269270
[runpath_fc_args="${wl_fc}--enable-new-dtags"],
270271
[runpath_fc_args=""])
271-
AC_LANG_POP([Fortran])
272+
AC_LANG_POP([Fortran])])
272273
LDFLAGS=$LDFLAGS_save
273274

274275
OPAL_VAR_SCOPE_POP
@@ -303,7 +304,6 @@ AC_DEFUN([RPATHIFY_LDFLAGS],[RPATHIFY_LDFLAGS_INTERNAL([$1], [rpath_args], [runp
303304

304305
AC_DEFUN([RPATHIFY_FC_LDFLAGS],[RPATHIFY_LDFLAGS_INTERNAL([$1], [rpath_fc_args], [runpath_fc_args])])
305306

306-
307307
dnl
308308
dnl Avoid some repetitive code below
309309
dnl

0 commit comments

Comments
 (0)