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)