configure: define SCREENSHOT in config.h

defining it in video.h does not work as it is not
included everywhere where the define is needed
This commit is contained in:
Stefan Seyfried
2015-02-25 21:13:05 +01:00
parent d1836f497c
commit dfdd1976e9
2 changed files with 7 additions and 2 deletions

View File

@@ -125,6 +125,13 @@ PKG_CHECK_MODULES([LUA], [lua >= 5.2], echo "lua >= 5.2 found", [
AC_DEFINE(STATIC_LUAPOSIX,1,[Define to 1 for static lua build.])
])
])
if test "$BOXTYPE" = "coolstream" ||
test "$BOXTYPE" = "tripledragon" ||
test "$BOXTYPE" = "spark"; then
AC_DEFINE(SCREENSHOT,1,[Define to 1 if the platform supports screenshots])
fi
TUXBOX_APPS_LIB_PKGCONFIG(SIGC,sigc++-2.0)
#TUXBOX_APPS_LIB_PKGCONFIG(CONFIGFILE,tuxbox-configfile)

View File

@@ -19,8 +19,6 @@
#define CS_VIDEO_PDATA void
#endif
#define SCREENSHOT 1
typedef enum {
ANALOG_SD_RGB_CINCH = 0x00,
ANALOG_SD_YPRPB_CINCH,