configure.ac | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
New commits: commit 9aa2eee9d88df6f68befd4758bc5af847d07c805 Author: Mike Kaganski <[email protected]> AuthorDate: Fri Nov 10 18:17:18 2023 +0100 Commit: Mike Kaganski <[email protected]> CommitDate: Fri Nov 10 21:37:10 2023 +0100 Fix the fix Commit 87f0da8023081398d72372367db11d4a97d91833 put the check into a wrong position Change-Id: I459c11e00babfc604c5d35aac4f7cd0ce3701c3d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159237 Tested-by: Jenkins Reviewed-by: Mike Kaganski <[email protected]> diff --git a/configure.ac b/configure.ac index 7ec877ed5a78..545c3de33303 100644 --- a/configure.ac +++ b/configure.ac @@ -13581,9 +13581,6 @@ UPDATE_CONFIG= if test "$enable_online_update" = ""; then AC_MSG_RESULT([no]) else - if test "$enable_curl" != "yes"; then - AC_MSG_ERROR([--disable-online-update must be used when --disable-curl is used]) - fi if test "$enable_online_update" = "mar"; then AC_MSG_RESULT([yes - MAR-based online update]) ENABLE_ONLINE_UPDATE_MAR="TRUE" @@ -13593,6 +13590,9 @@ else UPDATE_CONFIG="$with_update_config" AC_DEFINE(HAVE_FEATURE_UPDATE_MAR) elif test "$enable_online_update" = "yes"; then + if test "$enable_curl" != "yes"; then + AC_MSG_ERROR([--disable-online-update must be used when --disable-curl is used]) + fi AC_MSG_RESULT([yes]) ENABLE_ONLINE_UPDATE="TRUE" else
