build: Conditionally compile senseApis
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
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"
|
||||
]
|
||||
)],
|
||||
[enable_senseapi_xcbxorg=no]
|
||||
)
|
||||
Reference in New Issue
Block a user