Build: Add AX_BOOST_[BASE/ASIO].m4, check for BOOST_ASIO

This commit is contained in:
2025-01-09 18:21:21 -04:00
parent 9e35748d9a
commit 49d03df73b
4 changed files with 427 additions and 3 deletions
+20
View File
@@ -0,0 +1,20 @@
SENSEAPIS_ENABLED=
AC_ARG_ENABLE([senseapi-xcbxorg],
[AS_HELP_STRING([--enable-senseapi-xcbxorg],
[Enable XCB/Xorg SenseAPI backend])],
[AS_CASE([$enableval],
[no], [enable_senseapi_xcbxorg=no],
[yes|*], [
enable_senseapi_xcbxorg=yes
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]
)