mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 15:32:59 +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
This commit is contained in:
@@ -41,6 +41,14 @@ AC_ARG_ENABLE(restore-prev-mode,
|
|||||||
[ --enable-restore-prev-mode enable return from graphics mode],
|
[ --enable-restore-prev-mode enable return from graphics mode],
|
||||||
[AC_DEFINE(RETURN_FROM_GRAPHICS_MODE,1,[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
|
# Check for libtdservicedb - the new one - for testing only
|
||||||
#
|
#
|
||||||
|
@@ -1,10 +1,7 @@
|
|||||||
#ifndef __scale_
|
#ifndef __scale_
|
||||||
#define __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>
|
#include <driver/framebuffer.h>
|
||||||
|
/* config.h is included by driver/framebuffer.h already */
|
||||||
#ifdef NO_BLINKENLIGHTS
|
#ifdef NO_BLINKENLIGHTS
|
||||||
#include <gui/widget/progressbar.h>
|
#include <gui/widget/progressbar.h>
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user