From 5354b9b41c8790fc4d4d84e1c59b3a51bf931c01 Mon Sep 17 00:00:00 2001 From: Howard Pritchard Date: Tue, 28 Jan 2020 12:34:49 -0700 Subject: [PATCH] PR 7268 follow-up Forgot to include a fix for the fortran test used to check if new dtags is supported. Related to #7268 This patch is already included on v4.0.x branch. Signed-off-by: Howard Pritchard --- config/opal_setup_wrappers.m4 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/opal_setup_wrappers.m4 b/config/opal_setup_wrappers.m4 index 016b89c7f3..36795a5697 100644 --- a/config/opal_setup_wrappers.m4 +++ b/config/opal_setup_wrappers.m4 @@ -234,7 +234,8 @@ AC_DEFUN([OPAL_SETUP_RUNPATH],[ [OPAL_LIBTOOL_CONFIG([wl],[wl_fc],[--tag=FC],[]) LDFLAGS="$LDFLAGS_save ${wl_fc}--enable-new-dtags" AC_LANG_PUSH([Fortran]) - AC_LINK_IFELSE([AC_LANG_SOURCE([[program test end program]])], + AC_LINK_IFELSE([AC_LANG_SOURCE([[program test +end program]])], [runpath_fc_args="${wl_fc}--enable-new-dtags" AC_MSG_RESULT([yes (-Wl,--enable-new-dtags)])], [AC_MSG_RESULT([no])])