aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2007-05-06 02:25:08 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2007-05-06 02:25:08 +0800
commit6e3981da3b4a2126fe10a9952baf56e26970ca8d (patch)
treeb8614dec144c64feacd7ef27a674fdd113923070 /configure.ac
parent214850e492efd75f8664bbfb98c6dd6bf161aeb6 (diff)
downloadgsoc2013-empathy-6e3981da3b4a2126fe10a9952baf56e26970ca8d.tar
gsoc2013-empathy-6e3981da3b4a2126fe10a9952baf56e26970ca8d.tar.gz
gsoc2013-empathy-6e3981da3b4a2126fe10a9952baf56e26970ca8d.tar.bz2
gsoc2013-empathy-6e3981da3b4a2126fe10a9952baf56e26970ca8d.tar.lz
gsoc2013-empathy-6e3981da3b4a2126fe10a9952baf56e26970ca8d.tar.xz
gsoc2013-empathy-6e3981da3b4a2126fe10a9952baf56e26970ca8d.tar.zst
gsoc2013-empathy-6e3981da3b4a2126fe10a9952baf56e26970ca8d.zip
[darcs-to-svn @ Cleanup build system and add MC plugin]
svn path=/trunk/; revision=29
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac44
1 files changed, 33 insertions, 11 deletions
diff --git a/configure.ac b/configure.ac
index 2a84a1b7c..d03973ce3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -26,17 +26,40 @@ GTK_REQUIRED=2.10.0
GCONF_REQUIRED=1.2.0
LIBGLADE_REQUIRED=2.0.0
TELEPATHY_REQUIRED=0.0.51
-MISSION_CONTROL_REQUIRED=4.20
+MISSION_CONTROL_REQUIRED=0.21
+
+IDT_COMPILE_WARNINGS
GLIB_GENMARSHAL=`$PKG_CONFIG glib-2.0 --variable=glib_genmarshal`
AC_SUBST(GLIB_GENMARSHAL)
-IDT_COMPILE_WARNINGS
+pluginlibdir=`$PKG_CONFIG mission-control --variable=pluginlibdir`
+AC_SUBST(pluginlibdir)
+
+dnl -----------------------------------------------------------
+dnl Language Support
+dnl -----------------------------------------------------------
+
+GETTEXT_PACKAGE=empathy
+AC_SUBST(GETTEXT_PACKAGE)
+AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE",[Gettext package name])
+
+AM_GLIB_GNU_GETTEXT
dnl -----------------------------------------------------------
dnl Pkg-Config dependency checks
dnl -----------------------------------------------------------
+PKG_CHECK_MODULES(LIBEMPATHY,
+[
+ glib-2.0 >= $GLIB_REQUIRED
+ gobject-2.0
+ gconf-2.0 >= $GCONF_REQUIRED
+ libxml-2.0
+ libtelepathy >= $TELEPATHY_REQUIRED
+ libmissioncontrol >= $MISSION_CONTROL_REQUIRED
+])
+
PKG_CHECK_MODULES(EMPATHY,
[
glib-2.0 >= $GLIB_REQUIRED
@@ -49,15 +72,14 @@ PKG_CHECK_MODULES(EMPATHY,
libmissioncontrol >= $MISSION_CONTROL_REQUIRED
])
-dnl -----------------------------------------------------------
-dnl Language Support
-dnl -----------------------------------------------------------
-GETTEXT_PACKAGE=empathy
-AC_SUBST(GETTEXT_PACKAGE)
-AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE",[Gettext package name])
-
-AM_GLIB_GNU_GETTEXT
-
+PKG_CHECK_MODULES(MISSION_CONTROL_PLUGINS,
+[
+ mission-control >= $MISSION_CONTROL_REQUIRED
+ glib-2.0 >= $GLIB_REQUIRED
+ gobject-2.0
+ dbus-glib-1
+ libtelepathy >= $TELEPATHY_REQUIRED
+])
dnl -----------------------------------------------------------
AC_OUTPUT([