acinclude: move theme handling to configure.ac

Origin commit data
------------------
Branch: ni/coolstream
Commit: eac0dd2f7d
Author: vanhofen <vanhofen@gmx.de>
Date: 2023-01-28 (Sat, 28 Jan 2023)

Origin message was:
------------------
- acinclude: move theme handling to configure.ac

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

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2023-01-28 12:06:17 +01:00
parent aac05ecb7b
commit 7668a70557
2 changed files with 14 additions and 14 deletions

View File

@@ -343,6 +343,20 @@ AC_ARG_ENABLE(fribidi,
AC_DEFINE(ENABLE_FRIBIDI, 1, [enable fribidi support]))
AM_CONDITIONAL(ENABLE_FRIBIDI, test "$enable_fribidi" = "yes")
# default theme
AC_ARG_WITH(default-theme,
AS_HELP_STRING([--with-default-theme=THEMENAME], [default theme for gui @<:@default is empty@:>@]),
[default_theme="$withval"],
[default_theme=""])
AC_DEFINE_UNQUOTED([DEFAULT_THEME], ["$default_theme"], [default theme for gui])
# default oled theme
AC_ARG_WITH(default-oled-theme,
AS_HELP_STRING([--with-default-oled-theme=THEMENAME], [default theme for oled @<:@default is empty@:>@]),
[default_oled_theme="$withval"],
[default_oled_theme=""])
AC_DEFINE_UNQUOTED([DEFAULT_OLED_THEME], ["$default_oled_theme"], [default theme for oled])
AC_ARG_WITH(stb-hal-includes,
AS_HELP_STRING([--with-stb-hal-includes=PATH], [path to libstb-hal includes [[NONE]]]),
[STB_HAL_INC="$withval"],