Bug 355444: make --disable-feeds trigger a configure error when building Firefox, r=bsmedberg

This commit is contained in:
gavin%gavinsharp.com 2006-10-16 17:49:49 +00:00
Родитель c6edb6852a
Коммит 8f3cf0dad8
1 изменённых файлов: 6 добавлений и 2 удалений

Просмотреть файл

@ -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 ========================================================