23 lines
792 B
Plaintext
23 lines
792 B
Plaintext
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.]))
|
|
])
|
|
AC_SUBST([XCB_CFLAGS])
|
|
AC_SUBST([XCB_LIBS])
|
|
]
|
|
)],
|
|
[enable_senseapi_xcbxorg=no]
|
|
)
|