X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=configure.ac;h=6e2b0e16a917da9f0d60e12b53a2d92b80872f47;hp=f7474d1e62a8ac4079c4c59a953e601806d5425f;hb=e1c901e81bcfe668994e305089af9c6367c6b74e;hpb=fab2ef078b089dd7dbd5277689addec53aafac87 diff --git a/configure.ac b/configure.ac index f7474d1..6e2b0e1 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 @@ -465,6 +477,7 @@ echo "Prefix : ${prefix}" echo "Build tests : $build_tests" echo "Build docs : $build_docs" echo "Gettext Package : $GETTEXT_PACKAGE" +echo "libcurl : $have_libcurl" if test "x$with_platform" == "xmaemo"; then echo "Maemo Launcher : $maemo_launcher" @@ -473,6 +486,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"