startupcache depends on zipwriter.
when enabled, check that zipwriter is also enabled.

Signed-off-by: Enrico Weigelt, metux IT consult <enrico.weig...@gr13.net>
---
 old-configure.in | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/old-configure.in b/old-configure.in
index daa593bfa..d76ebd547 100644
--- a/old-configure.in
+++ b/old-configure.in
@@ -4662,6 +4662,10 @@ if test -n "$MOZ_B2G"; then
 fi
 if test -n "$MOZ_DISABLE_STARTUPCACHE"; then
   AC_DEFINE(MOZ_DISABLE_STARTUPCACHE)
+else
+  if test -z "$MOZ_ZIPWRITER" ; then
+    AC_ERROR([startup cache depends on --enable-zipwriter])
+  fi
 fi
 AC_SUBST(MOZ_DISABLE_STARTUPCACHE)
 
-- 
2.11.0.rc0.7.gbe5a750

_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to