summaryrefslogtreecommitdiffstats
path: root/browser/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'browser/configure.in')
-rw-r--r--browser/configure.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/browser/configure.in b/browser/configure.in
index fe3e5acf1..7a1d72ae6 100644
--- a/browser/configure.in
+++ b/browser/configure.in
@@ -13,3 +13,16 @@ AC_SUBST(MC_BASILISK)
dnl Optional parts of the build.
+dnl ========================================================
+dnl = Disable WebExtensions
+dnl ========================================================
+MOZ_ARG_DISABLE_BOOL(browser-statusbar,
+[ --disable-webextensions Disable WebExtensions],
+ MOZ_WEBEXTENSIONS=,
+ MOZ_WEBEXTENSIONS=1)
+
+if test -n "$MOZ_WEBEXTENSIONS"; then
+ AC_DEFINE(MOZ_WEBEXTENSIONS)
+fi
+
+AC_SUBST(MOZ_WEBEXTENSIONS) \ No newline at end of file