From 80035a190a97bbf8f6ee204f7cb65b13669e8dc4 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Sat, 9 Dec 2017 13:01:37 +0100 Subject: [PATCH] acinclude: minor format changes in --enable-reschange code Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/40859664209a778ddfa7b7ddc0fe64c6c2b86a2e Author: vanhofen Date: 2017-12-09 (Sat, 09 Dec 2017) Origin message was: ------------------ - acinclude: minor format changes in --enable-reschange code ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- acinclude.m4 | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/acinclude.m4 b/acinclude.m4 index bf7b891a3..b7c14d503 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -34,12 +34,9 @@ AC_ARG_ENABLE(libcoolstream-static, AM_CONDITIONAL(ENABLE_LIBCOOLSTREAM_STATIC, test "$enable_libcoolstream_static" = "yes") AC_ARG_ENABLE(reschange, - AS_HELP_STRING([--enable-reschange], [enable change the osd resolution @<:@default for hd2 and hd51@:>@])) - -AM_CONDITIONAL(ENABLE_RESCHANGE,test "$enable_reschange" = "yes") -if test "$enable_reschange" = "yes"; then - AC_DEFINE(ENABLE_CHANGE_OSD_RESOLUTION, 1, [enable change the osd resolution]) -fi + AS_HELP_STRING([--enable-reschange], [enable change the osd resolution @<:@default for hd2 and hd51@:>@]), + AC_DEFINE(ENABLE_CHANGE_OSD_RESOLUTION, 1, [enable change the osd resolution])) +AM_CONDITIONAL(ENABLE_RESCHANGE, test "$enable_reschange" = "yes") AC_MSG_CHECKING(target) @@ -404,9 +401,9 @@ if test "$BOXMODEL" = "hd1"; then AC_DEFINE(BOXMODEL_CS_HD1, 1, [coolstream hd1/neo/neo2/zee]) elif test "$BOXMODEL" = "hd2"; then AC_DEFINE(BOXMODEL_CS_HD2, 1, [coolstream tank/trinity/trinity v2/trinity duo/zee2/link]) - AC_DEFINE(ENABLE_CHANGE_OSD_RESOLUTION,1,[enable change the osd resolution]) + AC_DEFINE(ENABLE_CHANGE_OSD_RESOLUTION, 1, [enable change the osd resolution]) elif test "$BOXMODEL" = "hd51"; then - AC_DEFINE(ENABLE_CHANGE_OSD_RESOLUTION,1,[enable change the osd resolution]) + AC_DEFINE(ENABLE_CHANGE_OSD_RESOLUTION, 1, [enable change the osd resolution]) elif test "$BOXMODEL" = "raspi"; then AC_DEFINE(BOXMODEL_RASPI, 1, [Raspberry pi]) fi