summaryrefslogtreecommitdiff
path: root/old-configure.in
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2018-02-17 14:06:01 -0500
committerMatt A. Tobin <email@mattatobin.com>2018-02-17 14:06:01 -0500
commitf28984b853667da9f9841e9fa090162e4a3af499 (patch)
tree8f0bff3a8de032b489bea081d270439a1351fac0 /old-configure.in
parent8a119434ac94d18b888550bea1b125aba1ad446e (diff)
downloaduxp-f28984b853667da9f9841e9fa090162e4a3af499.tar.gz
Add a configure option to disable including jetpack
Diffstat (limited to 'old-configure.in')
-rw-r--r--old-configure.in15
1 files changed, 15 insertions, 0 deletions
diff --git a/old-configure.in b/old-configure.in
index 045257cd82..0b78f2b232 100644
--- a/old-configure.in
+++ b/old-configure.in
@@ -2315,6 +2315,7 @@ MOZ_GMP_SANDBOX=
MOZ_SANDBOX=1
MOZ_BINARY_EXTENSIONS=
MOZ_DEVTOOLS=server
+MOZ_JETPACK=1
case "$target_os" in
mingw*)
@@ -4792,6 +4793,20 @@ dnl ========================================================
MOZ_ARG_HEADER(Misc. Options)
dnl ========================================================
+dnl = Disable Jetpack
+dnl ========================================================
+MOZ_ARG_DISABLE_BOOL(jetpack,
+[ --disable-jetpack Disable Jetpack Support Code],
+ MOZ_JETPACK=,
+ MOZ_JETPACK=1)
+
+if test -n "$MOZ_JETPACK"; then
+ AC_DEFINE(MOZ_JETPACK)
+fi
+
+AC_SUBST(MOZ_JETPACK)
+
+dnl ========================================================
dnl = Define default location for MOZILLA_FIVE_HOME
dnl ========================================================
MOZ_ARG_WITH_STRING(default-mozilla-five-home,