From ccdc10dda3e5ed55974d91adf5a636ac288b7e45 Mon Sep 17 00:00:00 2001 From: Jeff Squyres Date: Mon, 28 Mar 2016 08:31:42 -0700 Subject: [PATCH] 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 --- config/opal_check_libfabric.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/opal_check_libfabric.m4 b/config/opal_check_libfabric.m4 index e14a1c12fc..3678404ea8 100644 --- a/config/opal_check_libfabric.m4 +++ b/config/opal_check_libfabric.m4 @@ -88,7 +88,7 @@ AC_DEFUN([OPAL_CHECK_LIBFABRIC],[ AS_IF([test $opal_check_libfabric_happy = yes], [$2], - [AS_IF([test "$opal_want_libfabric" = "yes"], + [AS_IF([test -n "$with_libfabric" && test "$with_libfabric" != "no"], [AC_MSG_WARN([libfabric support requested (via --with-libfabric), but not found.]) AC_MSG_ERROR([Cannot continue.])]) $3])