mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-26 15:02:50 +02:00
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: 66bdbc68e2
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2009-12-14 (Mon, 14 Dec 2009)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -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
|
||||
#
|
||||
|
@@ -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 <driver/framebuffer.h>
|
||||
|
||||
/* config.h is included by driver/framebuffer.h already */
|
||||
#ifdef NO_BLINKENLIGHTS
|
||||
#include <gui/widget/progressbar.h>
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user