bug 343640 - trying again - 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:25:05 +00:00
Родитель 6f1b58e5f2
Коммит 26459bccb0
1 изменённых файлов: 12 добавлений и 6 удалений

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

@ -4098,7 +4098,7 @@ MOZ_ARG_ENABLE_STRING(application,
mail (Thunderbird) mail (Thunderbird)
minimo minimo
composer composer
calendar calendar (Sunbird)
xulrunner xulrunner
macbrowser (Camino) macbrowser (Camino)
content/xslt (Standalone Transformiix XSLT) content/xslt (Standalone Transformiix XSLT)
@ -4760,11 +4760,17 @@ AC_SUBST(MOZ_UI_LOCALE)
dnl ========================================================= dnl =========================================================
dnl = Calendar client dnl = Calendar client
dnl ========================================================= dnl =========================================================
MOZ_ARG_ENABLE_BOOL(calendar, MOZ_ARG_ENABLE_BOOL(calendar,,
[ --enable-calendar Enable building of the calendar client], MOZ_OLD_CALENDAR=1,
MOZ_CALENDAR=1, MOZ_OLD_CALENDAR= )
MOZ_CALENDAR= )
AC_SUBST(MOZ_CALENDAR) 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.])
fi
dnl ========================================================= dnl =========================================================
dnl = Mail & News dnl = Mail & News