diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2017-05-21 00:12:58 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2017-05-21 02:29:21 +0200 |
commit | 3964bfa04f5aa09a9199225a8763cdec74d92ee3 (patch) | |
tree | dea8bb4091ab82ff3988cdc3f34ddb043e49a1c5 /configure.ac | |
parent | ca5b8804f0bda6f04974b037fb71a6d594379eb4 (diff) |
check that a update config is specified for mar based updater
Change-Id: I1fb87b33d4db8e5b0608aef13013be6dc9e8657e
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 585c47efdfb7..cd4f0fa2ebaf 100644 --- a/configure.ac +++ b/configure.ac @@ -11299,6 +11299,9 @@ else if test "$enable_online_update" = "mar"; then AC_MSG_RESULT([yes - MAR-based online update]) ENABLE_ONLINE_UPDATE_MAR="TRUE" + if test "$with_update_config" = ""; then + AC_MSG_ERROR([mar based online updater needs an update config specified with "with-update-config]) + fi UPDATE_CONFIG="$with_update_config" AC_DEFINE(HAVE_FEATURE_UPDATE_MAR) elif test "$enable_online_update" = "yes"; then |