aboutsummaryrefslogtreecommitdiff
path: root/guilib
diff options
context:
space:
mode:
authoralthekiller <althekiller@svn>2009-10-27 21:38:01 +0000
committeralthekiller <althekiller@svn>2009-10-27 21:38:01 +0000
commite72e74934ca447541b46ae141a34adfb880c6019 (patch)
tree22812a88158879285eb99c4db7c2183eb0e4f1d2 /guilib
parent32949dbb7f1ba890eccc1d624c80aad5fca34b28 (diff)
added: [LINUX/OSX] "--disable-non-free" configure option to disable components with questionable licenses
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@24075 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'guilib')
-rw-r--r--guilib/system.h21
1 files changed, 16 insertions, 5 deletions
diff --git a/guilib/system.h b/guilib/system.h
index 993bd598da..d14242ca91 100644
--- a/guilib/system.h
+++ b/guilib/system.h
@@ -21,6 +21,10 @@
*
*/
+#if defined(_LINUX) || defined(__APPLE__)
+#include "../config.h"
+#endif
+
/*****************
* All platforms
*****************/
@@ -33,7 +37,6 @@
#define HAS_DVDPLAYER
#define HAS_EVENT_SERVER
#define HAS_KARAOKE
-#define HAS_RAR
#define HAS_SCREENSAVER
#define HAS_PYTHON
#define HAS_SHOUTCAST
@@ -58,6 +61,18 @@
#define HAS_FILESYSTEM_MMS
#define HAS_CCXSTREAM
+/**********************
+ * Non-free Components
+ **********************/
+
+#if defined(_LINUX) || defined(__APPLE__)
+ #if defined(HAVE_XBMC_NONFREE)
+ #define HAS_RAR
+ #endif
+#else
+ #define HAS_RAR
+#endif
+
/*****************
* Win32 Specific
*****************/
@@ -117,10 +132,6 @@
#define SVN_REV "Unknown"
#endif
-#if defined(_LINUX) || defined(__APPLE__)
-#include "../config.h"
-#endif
-
/****************************************
* Additional platform specific includes
****************************************/