From e8a266852d65707c4b6a3dc271009605109ed88a Mon Sep 17 00:00:00 2001 From: Stefan Seyfried Date: Mon, 14 Dec 2009 16:46:59 +0000 Subject: [PATCH] add "--disable-blinkenlights" configure switch git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@49 e54a6e83-5905-42d5-8d5c-058d10e6a962 Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/66bdbc68e2b1a1a7c7b2988c06e4ec8b04de1582 Author: Stefan Seyfried Date: 2009-12-14 (Mon, 14 Dec 2009) ------------------ This commit was generated by Migit --- configure.ac | 8 ++++++++ src/gui/scale.h | 5 +---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index 44ba69398..21108915f 100644 --- a/configure.ac +++ b/configure.ac @@ -41,6 +41,14 @@ AC_ARG_ENABLE(restore-prev-mode, [ --enable-restore-prev-mode enable return from graphics mode], [AC_DEFINE(RETURN_FROM_GRAPHICS_MODE,1,[enable return from graphics mode])]) +AC_ARG_ENABLE(blinkenlights, + AS_HELP_STRING(--disable-blinkenlights, disable colorful progress bars and use classical style), + ,[enable_blinkenlights=yes]) + +if test "$enable_blinkenlights" != "yes"; then +AC_DEFINE(NO_BLINKENLIGHTS, 1, [disable colorful progress bars, use classical style]) +fi + # # Check for libtdservicedb - the new one - for testing only # diff --git a/src/gui/scale.h b/src/gui/scale.h index 81d68461a..03c00f7a2 100644 --- a/src/gui/scale.h +++ b/src/gui/scale.h @@ -1,10 +1,7 @@ #ifndef __scale_ #define __scale_ -/* define this if you do not want colorful blinkenlights - the classical progressbars will be used instead. */ -// #define NO_BLINKENLIGHTS #include - +/* config.h is included by driver/framebuffer.h already */ #ifdef NO_BLINKENLIGHTS #include #endif