summaryrefslogtreecommitdiff
path: root/old-configure.in
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-06-01 13:21:30 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-06-01 13:21:30 +0200
commit526232f0f4dde4c8ef9adb5b562d66eceefdd7aa (patch)
tree899ada7b0b1f70e65a0a9b9a7f345d5c0758311b /old-configure.in
parent45af1b069fc104a6aa6c07fe01c2358ff2da0959 (diff)
downloadaura-central-526232f0f4dde4c8ef9adb5b562d66eceefdd7aa.tar.gz
Add build config option to disable startup cache precompilation.
This resolves %418.
Diffstat (limited to 'old-configure.in')
-rw-r--r--old-configure.in16
1 files changed, 16 insertions, 0 deletions
diff --git a/old-configure.in b/old-configure.in
index 13f6915b4..120abdf8a 100644
--- a/old-configure.in
+++ b/old-configure.in
@@ -4340,6 +4340,22 @@ MOZ_ARG_ENABLE_BOOL(debug-js-modules,
AC_SUBST(DEBUG_JS_MODULES)
dnl ========================================================
+dnl = Don't precompile the startup cache
+dnl ========================================================
+MOZ_DISABLE_PRECOMPILED_STARTUPCACHE=
+
+MOZ_ARG_DISABLE_BOOL(precompiled-startupcache,
+[ --disable-precompiled-startupcache Don't precompile the startup cache ],
+ MOZ_DISABLE_PRECOMPILED_STARTUPCACHE=1,
+ MOZ_DISABLE_PRECOMPILED_STARTUPCACHE= )
+
+if test -n "$MOZ_DISABLE_PRECOMPILED_STARTUPCACHE"; then
+ AC_DEFINE(MOZ_DISABLE_PRECOMPILED_STARTUPCACHE)
+fi
+
+AC_SUBST(MOZ_DISABLE_PRECOMPILED_STARTUPCACHE)
+
+dnl ========================================================
dnl =
dnl = Profiling and Instrumenting
dnl =