1
1

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.
Этот коммит содержится в:
Jeff Squyres 2015-07-10 06:24:59 -07:00
родитель 4341639a66
Коммит fc686f5538

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

@ -94,10 +94,13 @@ AC_DEFUN([_OPAL_BTL_USNIC_DO_CONFIG],[
])
# The usnic BTL requires libfabric support.
AS_IF([test "$opal_btl_usnic_happy" = "yes" && \
test "$opal_common_libfabric_happy" = "yes"],
[opal_btl_usnic_happy=yes],
[opal_btl_usnic_happy=no])
AS_IF([test "$opal_btl_usnic_happy" = "yes"],
[AC_MSG_CHECKING([whether libfabric support is available])
AS_IF([test "$opal_common_libfabric_happy" = "yes"],
[opal_btl_usnic_happy=yes],
[opal_btl_usnic_happy=no])
AC_MSG_RESULT([$opal_btl_usnic_happy])
])
# Make sure we can find the libfabric usnic extensions header
AS_IF([test "$opal_btl_usnic_happy" = "yes" ],