summaryrefslogtreecommitdiffstats
path: root/browser/configure.in
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2018-02-09 10:39:41 -0500
committerMatt A. Tobin <email@mattatobin.com>2018-02-09 10:39:41 -0500
commit30de4018913f0cdaea19d1dd12ecd8209e2ed08e (patch)
tree6deebaede10def16e627d489455b4856c4f49386 /browser/configure.in
parentac46df8daea09899ce30dc8fd70986e258c746bf (diff)
downloadUXP-30de4018913f0cdaea19d1dd12ecd8209e2ed08e.tar
UXP-30de4018913f0cdaea19d1dd12ecd8209e2ed08e.tar.gz
UXP-30de4018913f0cdaea19d1dd12ecd8209e2ed08e.tar.lz
UXP-30de4018913f0cdaea19d1dd12ecd8209e2ed08e.tar.xz
UXP-30de4018913f0cdaea19d1dd12ecd8209e2ed08e.zip
Rename Basilisk's webextensions component directory to better reflect what it is. Also, add an Application level configure option to disable webextensions
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