diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-08-24 19:47:42 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2017-05-19 03:43:18 +0200 |
commit | 1ec49a08d1ad896f7c0902510f5da463651c392a (patch) | |
tree | ea9b187c20e658aa430f05655f656d3a49158240 | |
parent | 961ee71303c29b2c9d974c7221fdd4433eddb4ea (diff) |
make it possible to use mar feature in ifdefs
Change-Id: Ibfaf3ec8bf9a1e831ac18ad5ff7f2c519d9cb56f
-rw-r--r-- | config_host/config_features.h.in | 5 | ||||
-rw-r--r-- | configure.ac | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/config_host/config_features.h.in b/config_host/config_features.h.in index 8c5de70a84e8..9c8dff7a603b 100644 --- a/config_host/config_features.h.in +++ b/config_host/config_features.h.in @@ -189,4 +189,9 @@ */ #define HAVE_MORE_FONTS 0 +/* + * Whether the automatic online updater is available + */ +#define HAVE_FEATURE_UPDATE_MAR 0 + #endif diff --git a/configure.ac b/configure.ac index e535e9b7f871..8e38624282f7 100644 --- a/configure.ac +++ b/configure.ac @@ -11314,6 +11314,7 @@ else if test "$enable_online_update" = "mar"; then AC_MSG_RESULT([yes - MAR-based online update]) ENABLE_ONLINE_UPDATE_MAR="TRUE" + AC_DEFINE(HAVE_FEATURE_UPDATE_MAR) elif test "$enable_online_update" = "yes"; then AC_MSG_RESULT([yes]) ENABLE_ONLINE_UPDATE="TRUE" |