Skip to content

Commit daa6e77

Browse files
committed
opal_check_libfabric: correctly check for user intent
If the user asked for libfabric and we can't build for it, abort. Signed-off-by: Jeff Squyres <[email protected]> (cherry picked from commit open-mpi/ompi@ccdc10d)
1 parent e9c8d74 commit daa6e77

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)