From d9b720b2b0d1a5aeed8c19510a093a130d87a17a Mon Sep 17 00:00:00 2001 From: vanhofen Date: Sat, 18 Jan 2020 11:36:58 +0100 Subject: [PATCH] acinclude: add HAVE_LIBSTB_HAL to clarify that function is not available in libcoolstream Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/2f0e7ab1528d27cfbcc67b9e3a8141f9da5beb5e Author: vanhofen 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 --- acinclude.m4 | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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])