From 34d3163cdd45fab3c63911856e4d637517f268ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Sun, 21 Aug 2011 11:08:36 +0200 Subject: [PATCH] mission-control-plugins: Link against gio --- configure.ac | 4 ++++ mission-control-plugins/Makefile.am | 4 +++- 2 files changed, 7 insertions(+), 1 deletions(-) diff --git a/configure.ac b/configure.ac index c2b8d60..0eb9009 100644 --- a/configure.ac +++ b/configure.ac @@ -344,6 +344,10 @@ PKG_CHECK_MODULES([GLIB], AC_SUBST(GLIB_LIBS) AC_SUBST(GLIB_CFLAGS) +PKG_CHECK_MODULES([GIO], [gio-2.0 >= 2.28]) +AC_SUBST(GIO_LIBS) +AC_SUBST(GIO_CFLAGS) + dnl Check for MCE, a Maemo service used to determine when the device is idle. PKG_CHECK_MODULES([MCE], mce >= 1.5, [HAVE_MCE=yes], [HAVE_MCE=no]) AM_CONDITIONAL([HAVE_MCE], [test x"$HAVE_MCE" = xyes]) diff --git a/mission-control-plugins/Makefile.am b/mission-control-plugins/Makefile.am index d44583a..fec2ec1 100644 --- a/mission-control-plugins/Makefile.am +++ b/mission-control-plugins/Makefile.am @@ -2,6 +2,7 @@ INCLUDES = \ $(TELEPATHY_CFLAGS) \ $(DBUS_CFLAGS) \ $(GLIB_CFLAGS) \ + $(GIO_CFLAGS) \ -I$(top_srcdir) \ -I$(top_builddir) \ -DG_LOG_DOMAIN=\"mc-plugins\" \ @@ -37,7 +38,8 @@ libmission_control_plugins_la_LDFLAGS = \ libmission_control_plugins_la_LIBADD = \ $(TELEPATHY_LIBS) \ $(DBUS_LIBS) \ - $(GLIB_LIBS) + $(GLIB_LIBS) \ + $(GIO_LIBS) nodist_libmission_control_plugins_la_SOURCES = \ mcp-signals-marshal.c \ -- 1.7.5.4