From 8f3cf0dad82b1c8588d728e65861669a9d379497 Mon Sep 17 00:00:00 2001 From: "gavin%gavinsharp.com" Date: Mon, 16 Oct 2006 17:49:49 +0000 Subject: [PATCH] Bug 355444: make --disable-feeds trigger a configure error when building Firefox, r=bsmedberg --- configure.in | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/configure.in b/configure.in index be98afdd10e..9e9951a5087 100644 --- a/configure.in +++ b/configure.in @@ -5917,14 +5917,18 @@ fi dnl ======================================================== -dnl = Disable feeds (new feed handling/processing) - Firefox +dnl = Disable feed handling components dnl ======================================================== MOZ_ARG_DISABLE_BOOL(feeds, -[ --disable-feeds Disable in-page feed handling and processing], +[ --disable-feeds Disable feed handling and processing components], MOZ_FEEDS=, MOZ_FEEDS=1 ) if test -n "$MOZ_FEEDS"; then AC_DEFINE(MOZ_FEEDS) +else + if test "$MOZ_BUILD_APP" = "browser"; then + AC_MSG_ERROR([Cannot build Firefox with --disable-feeds.]) + fi fi dnl ========================================================