diff --git a/config/ompi_check_ucx.m4 b/config/ompi_check_ucx.m4 index 62cb693bb9b..ac0c176a07b 100644 --- a/config/ompi_check_ucx.m4 +++ b/config/ompi_check_ucx.m4 @@ -83,6 +83,18 @@ AC_DEFUN([OMPI_CHECK_UCX],[ [$ompi_check_ucx_libdir], [ompi_check_ucx_happy="yes"], [ompi_check_ucx_happy="no"]) + + + OPAL_CHECK_PACKAGE([ompi_check_ucx], + [uct/api/uct.h], + [uct], + [ucp_md_query], + [], + [$ompi_check_ucx_dir], + [$ompi_check_ucx_libdir], + [ompi_check_ucx_happy="yes"], + [ompi_check_ucx_happy="no"]) + CPPFLAGS="$ompi_check_ucx_$1_save_CPPFLAGS" LDFLAGS="$ompi_check_ucx_$1_save_LDFLAGS" LIBS="$ompi_check_ucx_$1_save_LIBS"