Add hooks for building calendar. r=bryner

This commit is contained in:
seawood%netscape.com 2001-11-14 01:40:53 +00:00
parent 13607df03b
commit f2bea6ef3f
2 changed files with 11 additions and 0 deletions

View File

@ -59,6 +59,7 @@ GC_LEAK_DETECTOR = @GC_LEAK_DETECTOR@
NS_TRACE_MALLOC = @NS_TRACE_MALLOC@
USE_ELF_DYNSTR_GC = @USE_ELF_DYNSTR_GC@
MOZ_MAIL_NEWS = @MOZ_MAIL_NEWS@
MOZ_CALENDAR = @MOZ_CALENDAR@
MOZ_PLAINTEXT_EDITOR_ONLY = @MOZ_PLAINTEXT_EDITOR_ONLY@
BUILD_SHARED_LIBS = @BUILD_SHARED_LIBS@
BUILD_STATIC_LIBS = @BUILD_STATIC_LIBS@

View File

@ -2616,6 +2616,16 @@ MOZ_ARG_DISABLE_BOOL(ldap,
[ --disable-ldap Disable LDAP support],
MOZ_LDAP_XPCOM=)
dnl =========================================================
dnl = Calendar
dnl =========================================================
if test "$MOZ_CALENDAR"; then
AC_CHECK_LIB(ical, icalproperty_new_location, [],
AC_MSG_ERROR([Calendar requires libical]))
fi
AC_SUBST(MOZ_CALENDAR)
dnl ========================================================
dnl = Xprint
dnl ========================================================