1
1

Fix a problem with fortran configure test.

Signed-off-by: Howard Pritchard <howardp@lanl.gov>
Этот коммит содержится в:
Howard Pritchard 2020-01-24 15:42:00 -06:00
родитель d12e0fdf32
Коммит 297505592a

Просмотреть файл

@ -234,7 +234,8 @@ AC_DEFUN([OPAL_SETUP_RUNPATH],[
[OPAL_LIBTOOL_CONFIG([wl],[wl_fc],[--tag=FC],[]) [OPAL_LIBTOOL_CONFIG([wl],[wl_fc],[--tag=FC],[])
LDFLAGS="$LDFLAGS_save ${wl_fc}--enable-new-dtags" LDFLAGS="$LDFLAGS_save ${wl_fc}--enable-new-dtags"
AC_LANG_PUSH([Fortran]) 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" [runpath_fc_args="${wl_fc}--enable-new-dtags"
AC_MSG_RESULT([yes (-Wl,--enable-new-dtags)])], AC_MSG_RESULT([yes (-Wl,--enable-new-dtags)])],
[AC_MSG_RESULT([no])]) [AC_MSG_RESULT([no])])