aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-02-28 20:05:43 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-03-02 00:19:40 +0800
commit57a7b1ba43133f3f3097d00b89a8d8f7f246ccdb (patch)
treed56fd559d83d857238b7c66a94254b3aeacc70fe /configure.ac
parent758b4250e767d9e952b8c0ea4db7d93df192a0c0 (diff)
downloadgsoc2013-empathy-57a7b1ba43133f3f3097d00b89a8d8f7f246ccdb.tar
gsoc2013-empathy-57a7b1ba43133f3f3097d00b89a8d8f7f246ccdb.tar.gz
gsoc2013-empathy-57a7b1ba43133f3f3097d00b89a8d8f7f246ccdb.tar.bz2
gsoc2013-empathy-57a7b1ba43133f3f3097d00b89a8d8f7f246ccdb.tar.lz
gsoc2013-empathy-57a7b1ba43133f3f3097d00b89a8d8f7f246ccdb.tar.xz
gsoc2013-empathy-57a7b1ba43133f3f3097d00b89a8d8f7f246ccdb.tar.zst
gsoc2013-empathy-57a7b1ba43133f3f3097d00b89a8d8f7f246ccdb.zip
Allow to build with empathy-av
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac19
1 files changed, 19 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 9e2014180..b69ee09f1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -211,6 +211,24 @@ AC_DEFINE(EMPATHY_GOA_PROVIDER, "org.gnome.OnlineAccounts",
[Name of provider for accounts imported from GOA])
# -----------------------------------------------------------
+# Build empathy-av?
+# -----------------------------------------------------------
+AC_ARG_ENABLE(empathy-av,
+ AS_HELP_STRING([--enable-empathy-av=@<:@no/yes@:>@],
+ [build empathy-av (legacy call UI)]),,
+ [enable_empathy_av=no])
+if test "x$enable_empathy_av" != "xno" ; then
+ PKG_CHECK_MODULES(EMPATHY_AV,
+ [
+ farstream-0.1
+ telepathy-farsight >= $TELEPATHY_FARSIGHT_REQUIRED
+ ])
+ AC_DEFINE(HAVE_EMPATHY_AV, 1, [Define if you have StreamedMedia channel support])
+ have_empathy_av=yes
+fi
+AM_CONDITIONAL(HAVE_EMPATHY_AV, test "x$have_empathy_av" = "xyes")
+
+# -----------------------------------------------------------
# Call support in tp-logger
# -----------------------------------------------------------
AC_ARG_ENABLE(call-logs,
@@ -669,4 +687,5 @@ Configure summary:
GOA MC plugin...............: ${have_goa}
Salut E-D-S support.........: ${with_eds}
Exp. Call log support.......: ${have_call_logs}
+ empathy-av (legacy).........: ${enable_empathy_av}
"