summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-05-21 00:12:58 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-05-21 02:29:21 +0200
commit3964bfa04f5aa09a9199225a8763cdec74d92ee3 (patch)
treedea8bb4091ab82ff3988cdc3f34ddb043e49a1c5 /configure.ac
parentca5b8804f0bda6f04974b037fb71a6d594379eb4 (diff)
check that a update config is specified for mar based updater
Change-Id: I1fb87b33d4db8e5b0608aef13013be6dc9e8657e
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
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