Build: Check for libXCB when building XcbXorg sense API

This commit is contained in:
2025-01-08 18:36:34 -04:00
parent 88df316013
commit 2a397ae064
+4
View File
@@ -10,6 +10,10 @@ AC_ARG_ENABLE([senseapi-xcbxorg],
AC_DEFINE([XCBXORG_ENABLED], [1],
[Define to 1 if you have XCB/Xorg SenseAPI backend])
SENSEAPIS_ENABLED="${SENSEAPIS_ENABLED} xcbXorg"
PKG_CHECK_MODULES([XCB], [xcb], [], [
AC_MSG_ERROR(m4_normalize([XCB library not found. Sense API
XCB/Xorg requires the XCB dev headers and shlib.]))
])
]
)],
[enable_senseapi_xcbxorg=no]