mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-26 15:02:56 +02:00
- acinclude: move theme handling to configure.ac
Conflicts: acinclude.m4
This commit is contained in:
25
acinclude.m4
25
acinclude.m4
@@ -129,31 +129,6 @@ AC_ARG_ENABLE(reschange,
|
||||
AC_DEFINE(ENABLE_CHANGE_OSD_RESOLUTION, 1, [enable to change osd resolution]))
|
||||
AM_CONDITIONAL(ENABLE_RESCHANGE, test "$enable_reschange" = "yes")
|
||||
|
||||
# default theme
|
||||
AC_ARG_WITH(default-theme,
|
||||
AS_HELP_STRING([--with-default-theme=THEMENAME], [Default theme for gui. Default it is empty for internal fallback to default colors.]),
|
||||
[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.])
|
||||
|
||||
# webif content
|
||||
AC_ARG_WITH(webif,
|
||||
AS_HELP_STRING([--without-webif], [disable installation of webif content within defined public httpd path provided by yWeb @<:@default it is enabled@:>@]),
|
||||
[ENABLE_WEBIF="$withval"],
|
||||
[ENABLE_WEBIF="yes"])
|
||||
AM_CONDITIONAL(ENABLE_WEBIF,test "$ENABLE_WEBIF" = "yes")
|
||||
if test "$ENABLE_WEBIF" = "yes"; then
|
||||
AC_DEFINE(ENABLE_WEBIF, 1, [Enable installation of webif content within defined public httpd path provided by yWeb.])
|
||||
fi
|
||||
|
||||
|
||||
AC_MSG_CHECKING(target)
|
||||
|
||||
if test "$TARGET" = "native"; then
|
||||
|
Reference in New Issue
Block a user