X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=configure.ac;h=c414b77b7fc6f15b365c0c70989b5bc9f6210f9c;hp=8ee55e2e5ff0024034059fa87c63a3d04dfe16ff;hb=0425b29cb50af02997febaa2a725898a2c871535;hpb=6eb8b51e9fcd8b79eb0af5f0e673c945731e15b5 diff --git a/configure.ac b/configure.ac index 8ee55e2..c414b77 100644 --- a/configure.ac +++ b/configure.ac @@ -501,6 +501,15 @@ if test "x$with_platform" == "xmaemo"; then abook_api=`$PKG_CONFIG --modversion libosso-abook-1.0 | cut -d. -f1` AC_SUBST(MODEST_ABOOK_CFLAGS) AC_SUBST(MODEST_ABOOK_LIBE) + + modest_save_cflags="$CFLAGS" + modest_save_libs="$LIBS" + CFLAGS="$MODEST_ABOOK_CFLAGS" + LIBS="$MODEST_ABOOK_LIBS" + AC_CHECK_FUNCS(osso_abook_contact_chooser_set_visible_func) + AC_SUBST(HAVE_OSSO_ABOOK_CONTACT_CHOOSER_SET_VISIBLE_FUNC) + CFLAGS="$modest_save_cflags" + LIBS="$modest_save_libs" fi if test "x$have_abook" == "xtrue"; then