Skip to content

Commit

Permalink
prov/cxi: Turn off provider if headers not found
Browse files Browse the repository at this point in the history
Disables the provider if headers not found

Signed-off-by: James Swaro <james.swaro@hpe.com>
  • Loading branch information
jswaro committed Jan 30, 2024
1 parent c0ce1d5 commit 1737812
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions prov/cxi/configure.m4
Original file line number Diff line number Diff line change
Expand Up @@ -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],
Expand Down

0 comments on commit 1737812

Please sign in to comment.