diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 16f0520db900..b1aa254b40c2 100644 --- a/configure.ac +++ b/configure.ac @@ -1318,6 +1318,11 @@ AC_ARG_ENABLE(online-update, LibreOffice. By default, it is enabled on Windows and Mac, disabled on Linux.]), ,) +AC_ARG_ENABLE(extension-update, + AS_HELP_STRING([--disable-extension-update], + [Disable possibility to update installed extensions.]), +,) + AC_ARG_ENABLE(release-build, AS_HELP_STRING([--enable-release-build], [Enable release build. @@ -11739,6 +11744,22 @@ fi AC_SUBST(ENABLE_ONLINE_UPDATE) dnl =================================================================== +dnl Test whether to enable extension update +dnl =================================================================== +AC_MSG_CHECKING([whether to enable extension update]) +ENABLE_EXTENSION_UPDATE= +if test "x$enable_extension_update" = "xno"; then + AC_MSG_RESULT([no]) +else + AC_MSG_RESULT([yes]) + ENABLE_EXTENSION_UPDATE="TRUE" + AC_DEFINE(ENABLE_EXTENSION_UPDATE) + SCPDEFS="$SCPDEFS -DENABLE_EXTENSION_UPDATE" +fi +AC_SUBST(ENABLE_EXTENSION_UPDATE) + + +dnl =================================================================== dnl Test whether to create MSI with LIMITUI=1 (silent install) dnl =================================================================== AC_MSG_CHECKING([whether to create MSI with LIMITUI=1 (silent install)]) @@ -12984,6 +13005,7 @@ AC_CONFIG_FILES([config_host.mk AC_CONFIG_HEADERS([config_host/config_buildid.h]) AC_CONFIG_HEADERS([config_host/config_clang.h]) AC_CONFIG_HEADERS([config_host/config_eot.h]) +AC_CONFIG_HEADERS([config_host/config_extension_update.h]) AC_CONFIG_HEADERS([config_host/config_cairo_canvas.h]) AC_CONFIG_HEADERS([config_host/config_cups.h]) AC_CONFIG_HEADERS([config_host/config_features.h]) |