Skip to content

Commit fc686f5

Browse files
committed
usnic: make configure complain if libfabric cannot be found
Instead of silently determining that the usnic BTL can't be built, announce that usnic is checking for libfabric support, and then AC_MSG_RESULT the result of that check.
1 parent 4341639 commit fc686f5

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

opal/mca/btl/usnic/configure.m4

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,10 +94,13 @@ AC_DEFUN([_OPAL_BTL_USNIC_DO_CONFIG],[
9494
])
9595

9696
# The usnic BTL requires libfabric support.
97-
AS_IF([test "$opal_btl_usnic_happy" = "yes" && \
98-
test "$opal_common_libfabric_happy" = "yes"],
99-
[opal_btl_usnic_happy=yes],
100-
[opal_btl_usnic_happy=no])
97+
AS_IF([test "$opal_btl_usnic_happy" = "yes"],
98+
[AC_MSG_CHECKING([whether libfabric support is available])
99+
AS_IF([test "$opal_common_libfabric_happy" = "yes"],
100+
[opal_btl_usnic_happy=yes],
101+
[opal_btl_usnic_happy=no])
102+
AC_MSG_RESULT([$opal_btl_usnic_happy])
103+
])
101104

102105
# Make sure we can find the libfabric usnic extensions header
103106
AS_IF([test "$opal_btl_usnic_happy" = "yes" ],

0 commit comments

Comments
 (0)