From 17378124bb5eef078908db1840e77163ecfc607e Mon Sep 17 00:00:00 2001 From: James Swaro Date: Thu, 25 Jan 2024 21:23:01 +0100 Subject: [PATCH] prov/cxi: Turn off provider if headers not found Disables the provider if headers not found Signed-off-by: James Swaro --- prov/cxi/configure.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/prov/cxi/configure.m4 b/prov/cxi/configure.m4 index d6b632da566..ba70adf2d47 100644 --- a/prov/cxi/configure.m4 +++ b/prov/cxi/configure.m4 @@ -46,11 +46,11 @@ AC_DEFUN([FI_CXI_CONFIGURE],[ [ AC_CHECK_HEADER(cxi_prov_hw.h, [], - [AC_MSG_ERROR("cxi_prov_hw.h not found")]) + [cxi_happy=0]) AC_CHECK_HEADER(uapi/misc/cxi.h, [], - [AC_MSG_ERROR("cxi.h not found")]) + [cxi_happy=0]) FI_CHECK_PACKAGE([libcxi], [libcxi/libcxi.h],