- acinclude: add HAVE_LIBSTB_HAL to clarify that function is not available in libcoolstream

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2020-01-18 11:36:58 +01:00
committed by Thilo Graf
parent 55bbe2c364
commit fd5bb78036

View File

@@ -559,6 +559,18 @@ elif test "$BOXTYPE" = "mipsbox"; then
AC_DEFINE(HAVE_MIPS_HARDWARE, 1, [building for an mipsbox])
fi
# BOXTYPEs that use libstb-hal
case "$BOXTYPE" in
coolstream)
libstb_hal=no
;;
*)
AC_DEFINE(HAVE_LIBSTB_HAL, 1, [use libstb-hal])
libstb_hal=yes
;;
esac
AM_CONDITIONAL(HAVE_LIBSTB_HAL, test "$libstb_hal" = "yes")
# TODO: do we need more defines?
if test "$BOXMODEL" = "generic"; then
AC_DEFINE(BOXMODEL_GENERIC, 1, [generic pc])