X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=configure.ac;h=c6687df0ceb3f185565738ad42969433f84f7b0b;hp=d665ef11f36ce06fd98ccef8f8c054a3a838ebd5;hb=67ce358d84560f33210e608f236f258c38cb701c;hpb=f077d0809138e8192dbba9e06b97f078839c095d diff --git a/configure.ac b/configure.ac index d665ef1..c6687df 100644 --- a/configure.ac +++ b/configure.ac @@ -26,7 +26,7 @@ # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -AC_INIT([modest],[3.1],[http://maemo.org]) +AC_INIT([modest],[3.2],[http://maemo.org]) AC_CONFIG_HEADERS([config.h]) m4_define([modest_api_major_version], [1]) @@ -496,7 +496,7 @@ fi # # check the version of the addressbook on maemo # -if test "x$with_platform" == "xmaemo"; then +if test "x$with_platform" == "xmaemo"; then PKG_CHECK_MODULES(MODEST_ABOOK,osso-addressbook-1.0,have_abook=true,have_abook=false) abook_api=`$PKG_CONFIG --modversion osso-addressbook-1.0 | cut -d. -f1` AC_SUBST(MODEST_ABOOK_CFLAGS) @@ -506,7 +506,7 @@ if test "x$with_platform" == "xmaemo"; then PKG_CHECK_MODULES(MODEST_ABOOK, libosso-abook-1.0,have_abook=true,have_abook=false) abook_api=`$PKG_CONFIG --modversion libosso-abook-1.0 | cut -d. -f1` AC_SUBST(MODEST_ABOOK_CFLAGS) - AC_SUBST(MODEST_ABOOK_LIBE) + AC_SUBST(MODEST_ABOOK_LIBS) modest_save_cflags="$CFLAGS" modest_save_libs="$LIBS" @@ -524,6 +524,14 @@ if test "x$with_platform" == "xmaemo"; then AC_DEFINE_UNQUOTED(MODEST_HAVE_ABOOK, 1, ["whether we have osso-addressbook"]) addressbook="osso-addressbook" fi + + # Check the presence of the calendar widgets + PKG_CHECK_MODULES(MODEST_CALENDAR_WIDGETS,calendar-ui-widgets,have_calendar_widgets=true,have_calendar_widgets=false) + AC_SUBST(MODEST_CALENDAR_WIDGETS_CFLAGS) + AC_SUBST(MODEST_CALENDAR_WIDGETS_LIBS) + if test "x$have_calendar_widgets" == "xtrue"; then + AC_DEFINE_UNQUOTED(MODEST_USE_CALENDAR_WIDGETS, 1, ["Use the Calendar color widgets"]) + fi fi AC_CHECK_HEADERS([clockd/libtime.h], have_libtime=true, have_libtime=false) @@ -689,6 +697,7 @@ if test "x$with_platform" == "xmaemo"; then echo "MCE : $have_mce" echo "Hildon-Notify : $have_hildon_notify" echo "LibOGS support : $have_ogs_support" + echo "Calendar widgets : $have_calendar_widgets" fi echo "MozEmbed support : $use_mozembed"