make the extupdate build conditional

extupdate is not very useful for most platforms, so only
build it if --enable-extupdate is passed to configure
This commit is contained in:
Stefan Seyfried
2013-02-22 17:14:38 +01:00
parent 901b7cbd38
commit 5b72a7fe3c
5 changed files with 27 additions and 2 deletions

View File

@@ -27,6 +27,7 @@
#ifndef __CEXTUPDATE__
#define __CEXTUPDATE__
#if ENABLE_EXTUPDATE
#include <gui/widget/menue.h>
#include <system/helpers.h>
@@ -114,4 +115,6 @@ static unsigned int timer_msec;
snprintf(updateLogBuf, sizeof(updateLogBuf), "[update:%d] " fmt, __LINE__ , ## args); \
updateLog(updateLogBuf);
#endif
#endif // __CEXTUPDATE__