diff options
author | Emilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk> | 2011-06-09 17:28:44 +0800 |
---|---|---|
committer | Emilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk> | 2011-06-09 17:28:44 +0800 |
commit | 8944f13286ba5293781f2d57980da284cb2aa29d (patch) | |
tree | 91aa682420a072399f03ac7fb456f62c13064add /configure.ac | |
parent | 981a1377f660a9d1e3660dc66613b993b78486fc (diff) | |
parent | 3f52e59aa058c16a9ba115398681a16b1e289cd1 (diff) | |
download | gsoc2013-empathy-8944f13286ba5293781f2d57980da284cb2aa29d.tar gsoc2013-empathy-8944f13286ba5293781f2d57980da284cb2aa29d.tar.gz gsoc2013-empathy-8944f13286ba5293781f2d57980da284cb2aa29d.tar.bz2 gsoc2013-empathy-8944f13286ba5293781f2d57980da284cb2aa29d.tar.lz gsoc2013-empathy-8944f13286ba5293781f2d57980da284cb2aa29d.tar.xz gsoc2013-empathy-8944f13286ba5293781f2d57980da284cb2aa29d.tar.zst gsoc2013-empathy-8944f13286ba5293781f2d57980da284cb2aa29d.zip |
Merge branch 'call'
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 43 |
1 files changed, 41 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 3e998de91..a8a272be1 100644 --- a/configure.ac +++ b/configure.ac @@ -35,6 +35,7 @@ FOLKS_REQUIRED=0.5.1 GLIB_REQUIRED=2.28.0 GNUTLS_REQUIRED=2.8.5 GTK_REQUIRED=3.0.2 +GSTREAMER_REQUIRED=0.10.32 KEYRING_REQUIRED=2.26.0 GCR_REQUIRED=2.91.4 LIBCANBERRA_GTK_REQUIRED=0.25 @@ -62,6 +63,15 @@ GNOME_CONTROL_CENTER_REQUIRED=2.31.4 #ifelse(empathy_released, 1, [], [enable_maintainer_mode="yes"]) #GNOME_MAINTAINER_MODE_DEFINES +# telepathy-yell +prev_top_build_prefix=$ac_top_build_prefix +prev_ac_configure_args=$ac_configure_args +ac_configure_args="$ac_configure_args --disable-shared-library" +AX_CONFIG_DIR([telepathy-yell]) +ac_top_build_prefix=$prev_top_build_prefix +ac_configure_args=$prev_ac_configure_args +export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:"$ac_top_build_prefix"telepathy-yell/telepathy-yell + AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_HEADERS([config.h]) AC_CONFIG_SRCDIR([configure.ac]) @@ -154,7 +164,7 @@ PKG_CHECK_MODULES(EMPATHY, gmodule-export-2.0 gobject-2.0 gsettings-desktop-schemas - gstreamer-0.10 + gstreamer-0.10 >= $GSTREAMER_REQUIRED gstreamer-interfaces-0.10 libxml-2.0 telepathy-glib >= $TELEPATHY_GLIB_REQUIRED @@ -166,6 +176,8 @@ PKG_CHECK_MODULES(EMPATHY, gcr-3 >= $GCR_REQUIRED ]) +PKG_CHECK_MODULES(YELL, [telepathy-yell]) + PKG_CHECK_MODULES(EMPATHY_AV, [ farsight2-0.10 @@ -173,6 +185,32 @@ PKG_CHECK_MODULES(EMPATHY_AV, ]) # ----------------------------------------------------------- +# Call interface +# ----------------------------------------------------------- +AC_ARG_WITH(call, + AC_HELP_STRING([--enable-call=@<:@no/yes/auto@:>@], + [build with Call interface support]),, + [with_call=auto]) +if test "x$with_call" != "xno" ; then + PKG_CHECK_MODULES(EMPATHY_CALL, + [ + farsight2-0.10 + telepathy-farstream + ], have_farstream="yes", have_farstream="no" ) + + if test "x$have_farstream" = "xyes"; then + AC_DEFINE(HAVE_CALL, 1, [Define if you have Call channel support]) + fi +else + have_farstream=no +fi + +if test "x$with_call" = "xyes" -a "x$have_farstream" != "xyes"; then + AC_MSG_ERROR([Could not find Call handler dependencies.]) +fi +AM_CONDITIONAL(HAVE_CALL, test "x$have_farstream" = "xyes") + +# ----------------------------------------------------------- # evolution-data-server (about-me) # ----------------------------------------------------------- AC_ARG_WITH(eds, @@ -556,7 +594,7 @@ Configure summary: Location awareness (Geoclue): ${have_geoclue} Geocode support (Geoclue): ${have_geocode} Adium themes (Webkit).......: ${have_webkit} - Meego widgets ..............: ${have_meego} + Meego widgets...............: ${have_meego} Control center embedding....: ${have_control_center_embedding} Cheese webcam support ......: ${have_cheese} @@ -567,4 +605,5 @@ Configure summary: Extras: Nautilus-sendto plugin......: ${have_nst} Salut E-D-S support.........: ${with_eds} + Exp. Call channel handler...: ${have_farstream} " |