Skip to content

Commit 7460d66

Browse files
committed
prov/cxi: Turn off provider if headers not found
Disables the provider if headers not found Signed-off-by: James Swaro <james.swaro@hpe.com> (cherry picked from commit f94b21e4fba9038e1b8deddc46836311c67a0054)
1 parent 9ff318f commit 7460d66

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

prov/cxi/configure.m4

+2-2
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,11 @@ AC_DEFUN([FI_CXI_CONFIGURE],[
4646
[
4747
AC_CHECK_HEADER(cxi_prov_hw.h,
4848
[],
49-
[AC_MSG_ERROR("cxi_prov_hw.h not found")])
49+
[cxi_happy=0])
5050
5151
AC_CHECK_HEADER(uapi/misc/cxi.h,
5252
[],
53-
[AC_MSG_ERROR("cxi.h not found")])
53+
[cxi_happy=0])
5454
5555
FI_CHECK_PACKAGE([libcxi],
5656
[libcxi/libcxi.h],

0 commit comments

Comments
 (0)