diff --git a/acinclude.m4 b/acinclude.m4 index 7e683221b..02b0a8a55 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -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])