From: Matthew Barnes Date: Thu, 1 Dec 2011 23:11:18 +0000 (-0600) Subject: Bug 665337: Remove --disable-calendar X-Git-Tag: upstream/3.7.4~1362 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5f969940805c0ee7eb8138689cce9a5a2ce044a5;p=platform%2Fupstream%2Fevolution-data-server.git Bug 665337: Remove --disable-calendar Basically reverses bug #438928. This was never a good idea to begin with. If distros want to pick apart E-D-S, they should do so in a deb/rpm/whatever package, not upstream. --- diff --git a/Makefile.am b/Makefile.am index 583967b..7bde3f4 100644 --- a/Makefile.am +++ b/Makefile.am @@ -2,12 +2,7 @@ ACLOCAL_AMFLAGS=-I m4 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc --with-krb5=/usr --without-weather --enable-introspection -if ENABLE_CALENDAR -CALENDAR_DIR = calendar -endif - -SUBDIRS = camel libedataserver libebackend addressbook $(CALENDAR_DIR) libedataserverui services tests docs art po -DIST_SUBDIRS = camel libedataserver libebackend addressbook calendar libedataserverui services tests docs art po vala +SUBDIRS = camel libedataserver libebackend addressbook calendar libedataserverui services tests docs art po if HAVE_INTROSPECTION if HAVE_VALA diff --git a/configure.ac b/configure.ac index b538251..8f27e52 100644 --- a/configure.ac +++ b/configure.ac @@ -1066,22 +1066,6 @@ AM_CONDITIONAL(ENABLE_IPv6, [test "x$enable_ipv6" = "xyes"]) AC_CHECK_HEADER([wspiapi.h], [AC_DEFINE([HAVE_WSPIAPI_H], 1, [Have ])],,) -dnl ****************************** -dnl Calendar support -dnl ****************************** -AC_MSG_CHECKING([if we should build the calendar]) -AC_ARG_ENABLE([calendar], - AS_HELP_STRING([--enable-calendar=yes/no], - [Enable the calendar components (default yes)]), - [enable_calendar=$enableval], [enable_calendar=yes]) - -if test "x${enable_calendar}" != "xno"; then - AC_DEFINE(ENABLE_CALENDAR, 1, [Define if Calendar should be built]) -fi -AM_CONDITIONAL(ENABLE_CALENDAR, [test x$enable_calendar = xyes]) -AC_MSG_RESULT([$enable_calendar]) -msg_calendar=$enable_calendar - dnl ********************************** dnl Weather calendar backend support dnl ********************************** @@ -1090,9 +1074,6 @@ AC_ARG_ENABLE([weather], [AS_HELP_STRING([--enable-weather], [Build the weather calendar backend (default=yes)])], [use_gweather=$enableval], [use_gweather=yes]) -if test "$enable_calendar" = "no"; then - use_gweather="no (calendar support is disabled)" -fi AC_MSG_RESULT([$use_gweather]) if test "x$use_gweather" = "xyes"; then @@ -1316,8 +1297,7 @@ AC_SUBST(EVOLUTION_ADDRESSBOOK_LIBS) dnl ****************************** dnl evolution-calendar flags dnl ****************************** -if test "x${enable_calendar}" = "xyes"; then - EVOLUTION_CALENDAR_DEPS="gio-2.0 libical >= libical_minimum_version libxml-2.0 gconf-2.0" +EVOLUTION_CALENDAR_DEPS="gio-2.0 libical >= libical_minimum_version libxml-2.0 gconf-2.0" dnl ***** dnl libical.pc from libical-0.43 has a bug in it's CFlags. @@ -1349,8 +1329,6 @@ dnl ***** LIBS=$save_libs AC_MSG_RESULT([$ac_cv_have_iuth]) -fi - dnl ****************************** dnl Google flags dnl ****************************** @@ -1624,7 +1602,6 @@ AC_OUTPUT echo " evolution-data-server has been configured as follows: - Calendar: $msg_calendar Weather calendar: $use_gweather Mail Directory: $system_mail_dir, $system_mail_perm LDAP support: $msg_ldap