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

Origin commit data
------------------
Commit: 2f0e7ab152
Author: vanhofen <vanhofen@gmx.de>
Date: 2020-01-18 (Sat, 18 Jan 2020)

Origin message was:
------------------
- acinclude: add HAVE_LIBSTB_HAL to clarify that function is not available in libcoolstream
This commit is contained in:
vanhofen
2020-01-18 11:36:58 +01:00
parent e17012dfba
commit a3ff29b108

View File

@@ -546,6 +546,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])