X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=configure.ac;h=3c82a6019b9c7fdf6df24549de0f059ec89b210e;hp=f7474d1e62a8ac4079c4c59a953e601806d5425f;hb=b978d07da0770b94bb6c49c25a8f528022af94e8;hpb=fab2ef078b089dd7dbd5277689addec53aafac87 diff --git a/configure.ac b/configure.ac index f7474d1..3c82a60 100644 --- a/configure.ac +++ b/configure.ac @@ -139,7 +139,6 @@ AC_SUBST(MODEST_PLATFORM) - # # check for wpeditor or libwpeditor-plus (on maemo) # @@ -175,7 +174,20 @@ else fi fi - +# +# check for MCE +# +if test "x$with_platform" == "xmaemo"; then +PKG_CHECK_MODULES(MODEST_MCE,mce,have_mce=true,have_mce=false) +if test "x$have_mce" == "xtrue"; then + mce="mce" + AC_DEFINE_UNQUOTED(MODEST_HAVE_MCE, 1, ["Whether mce is used."]) + AC_SUBST(MODEST_MCE_CFLAGS) + AC_SUBST(MODEST_MCE_LIBS) +else + mce="" +fi +fi # # check for libconic; this is a trick to check whether we run @@ -473,6 +485,7 @@ if test "x$with_platform" == "xmaemo"; then echo "Help lib : $helplib" echo "libconic support : $have_libconic" echo "Alarm : $have_libalarm" + echo "MCE : $have_mce" echo "Hildon-Notify : $have_hildon_notify" echo "LibOGS support : $have_ogs_support" echo "MozEmbed support : $use_mozembed"