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..9638c1e4d 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(webextensions,
+[ --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