Skip to content

Commit 9aa2a1d

Browse files
committed
Merge pull request open-mpi#1052 from jsquyres/pr/v2.0.0/fix-libfabric-user-intent
opal_check_libfabric: correctly check for user intent
2 parents e9c8d74 + daa6e77 commit 9aa2a1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/opal_check_libfabric.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ AC_DEFUN([OPAL_CHECK_LIBFABRIC],[
7474

7575
AS_IF([test $opal_check_libfabric_happy -eq 1],
7676
[$2],
77-
[AS_IF([test "$opal_want_libfabric" = "yes"],
77+
[AS_IF([test -n "$with_libfabric" && test "$with_libfabric" != "no"],
7878
[AC_MSG_WARN([libfabric support requested (via --with-libfabric), but not found.])
7979
AC_MSG_ERROR([Cannot continue.])])
8080
$3])

0 commit comments

Comments
 (0)