build: Conditionally compile senseApis

This commit is contained in:
2025-01-08 18:27:40 -04:00
parent 396bcefbf4
commit 88df316013
6 changed files with 25 additions and 2 deletions
+6
View File
@@ -53,12 +53,16 @@ AC_SUBST([AM_CPPFLAGS])
AC_SUBST([YACC])
AC_SUBST([LEX])
m4_include([m4/senseApis.m4])
AC_SUBST([SENSEAPIS_ENABLED])
AC_CONFIG_HEADERS([include/config.h])
AC_CONFIG_FILES([
Makefile hcore/Makefile
hcore/deviceManager/Makefile
hcore/senseApis/Makefile
senseApis/Makefile
senseApis/xcbXorg/Makefile
])
AC_CONFIG_COMMANDS_POST([
@@ -66,6 +70,8 @@ AC_CONFIG_COMMANDS_POST([
AC_MSG_NOTICE(m4_normalize([* MIND_VOSCILLATOR_PERIOD_MS:
${MIND_VOSCILLATOR_PERIOD_MS} ms
(freq: ${MIND_VOSCILLATOR_FREQ_MS} Hz)]))
AC_MSG_NOTICE(m4_normalize(
[* SenseAPI backends enabled: ${SENSEAPIS_ENABLED}]))
])
AC_OUTPUT