From f5288b26f8c6fc114ae50b99513ec37b7a1aa7fe Mon Sep 17 00:00:00 2001 From: Danielle Madeley Date: Thu, 28 Apr 2011 12:33:31 +1000 Subject: Ensure tp-logger was compiled with Call support --- configure.ac | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index a3c943b2e..434cadb7e 100644 --- a/configure.ac +++ b/configure.ac @@ -210,6 +210,21 @@ if test "x$with_call" = "xyes" -a "x$have_farstream" != "xyes"; then fi AM_CONDITIONAL(HAVE_CALL, test "x$have_farstream" = "xyes") + +# ----------------------------------------------------------- +# Call support in tp-logger +# ----------------------------------------------------------- +SAVE_CFLAGS=$CFLAGS +SAVE_CPPFLAGS=$CPPFLAGS +CFLAGS="$CFLAGS $EMPATHY_CFLAGS" +CPPFLAGS="$CPPFLAGS $EMPATHY_CFLAGS" + +AC_CHECK_HEADER(telepathy-logger/call-event.h,, + AC_MSG_ERROR([tp-logger must be compiled with --enable-call])) + +CFLAGS=$SAVE_CFLAGS +CPPFLAGS=$SAVE_CPPFLAGS + # ----------------------------------------------------------- # evolution-data-server (about-me) # ----------------------------------------------------------- -- cgit v1.2.3