aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorDanielle Madeley <danielle.madeley@collabora.co.uk>2011-04-28 10:33:31 +0800
committerEmilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>2011-06-09 19:34:56 +0800
commitf5288b26f8c6fc114ae50b99513ec37b7a1aa7fe (patch)
treec4adf9a01bb368bab0a44fb804a9070723b0a214 /configure.ac
parentc9dc1e77d19bb525d8e69e59e53124d9a5c3ca60 (diff)
downloadgsoc2013-empathy-f5288b26f8c6fc114ae50b99513ec37b7a1aa7fe.tar
gsoc2013-empathy-f5288b26f8c6fc114ae50b99513ec37b7a1aa7fe.tar.gz
gsoc2013-empathy-f5288b26f8c6fc114ae50b99513ec37b7a1aa7fe.tar.bz2
gsoc2013-empathy-f5288b26f8c6fc114ae50b99513ec37b7a1aa7fe.tar.lz
gsoc2013-empathy-f5288b26f8c6fc114ae50b99513ec37b7a1aa7fe.tar.xz
gsoc2013-empathy-f5288b26f8c6fc114ae50b99513ec37b7a1aa7fe.tar.zst
gsoc2013-empathy-f5288b26f8c6fc114ae50b99513ec37b7a1aa7fe.zip
Ensure tp-logger was compiled with Call support
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac15
1 files changed, 15 insertions, 0 deletions
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)
# -----------------------------------------------------------