diff options
author | Tor Lillqvist <tml@collabora.com> | 2014-04-17 22:09:44 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2014-04-17 22:18:02 +0300 |
commit | 262aa2c2e540c803196d53779fb72226a8efeb5f (patch) | |
tree | 6e27c452faa73094b0590f493945b55ab3483f18 /config_host | |
parent | f5ccbfdc561c68099872d1abe07ac72fcddedd35 (diff) |
More generic way to disable avmedia
Introduce a configure option --disable-avmedia. For non-desktop,
avmedia is always disabled (for now), and for desktop enabled by
default. Add AVMEDIA to BUILD_TYPE when enabled. Don't build avmedia
when disabled. Add HAVE_FEATURE_AVMEDIA to <config_features.h>. Bypass
avmedia-related code when disabled.
Change-Id: I919c6e199bff87d9f142d55dff6373f0ed217f39
Diffstat (limited to 'config_host')
-rw-r--r-- | config_host/config_features.h.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/config_host/config_features.h.in b/config_host/config_features.h.in index 6a46e1c3dc09..612ceca03394 100644 --- a/config_host/config_features.h.in +++ b/config_host/config_features.h.in @@ -43,6 +43,12 @@ #define HAVE_FEATURE_X11 0 +/* AVMEDIA - Whether to have functionality to display and manipulate + * embedded AV media in documents + */ + +#define HAVE_FEATURE_AVMEDIA 0 + /* EXTENSIONS - Whether we have any extension mechanism at all * * Primarily intended for non-desktop platforms where supporting |