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

Origin commit data
------------------
Branch: ni/coolstream
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

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2020-01-18 11:36:58 +01:00
parent ffd1e44d40
commit d9b720b2b0

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])