bug 343640 - fixing Sunbird bustage - error out when building using --enable-calendar with a nice error message. r=dmose,sr=bsmedberg

This commit is contained in:
mattwillis%gmail.com 2006-07-13 00:54:13 +00:00
Родитель 737a21bd3a
Коммит 9d85b0f9ba
1 изменённых файлов: 5 добавлений и 3 удалений

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

@ -4761,15 +4761,17 @@ dnl =========================================================
dnl = Calendar client
dnl =========================================================
MOZ_ARG_ENABLE_BOOL(calendar,,
MOZ_CALENDAR=1,
MOZ_CALENDAR= )
MOZ_OLD_CALENDAR=1,
MOZ_OLD_CALENDAR= )
if test "$MOZ_CALENDAR"; then
if test "$MOZ_OLD_CALENDAR"; then
AC_MSG_WARN([Building with the calendar extension is no longer supported.])
if test "$MOZ_THUNDERBIRD"; then
AC_MSG_WARN([Since you're trying to build mail, you could try adding '--enable-extensions=default,lightning' to your mozconfig and building WITH A FRESH TREE.])
fi
AC_MSG_ERROR([See http://www.mozilla.org/projects/calendar/ for more information.])
else
AC_DEFINE(MOZ_CALENDAR)
fi
dnl =========================================================