aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-06-09 16:53:00 -0500
committerTed Gould <ted@canonical.com>2009-06-09 16:53:00 -0500
commitee013228b486d5b49be2737e90f3e75aded90365 (patch)
tree0ccf93c16d3bac4cca194bbdbe244b841b3c9176
parent49c4646f0d2beb676e6d60d971fe7789253c4f38 (diff)
downloadayatana-indicator-session-ee013228b486d5b49be2737e90f3e75aded90365.tar.gz
ayatana-indicator-session-ee013228b486d5b49be2737e90f3e75aded90365.tar.bz2
ayatana-indicator-session-ee013228b486d5b49be2737e90f3e75aded90365.zip
Adding more dependencies and cflags and stuff to make the builds of the services more complete
-rw-r--r--configure.ac17
-rw-r--r--src/Makefile.am6
2 files changed, 23 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 742403a..1d86cac 100644
--- a/configure.ac
+++ b/configure.ac
@@ -31,6 +31,23 @@ PKG_CHECK_MODULES(APPLET, gtk+-2.0 >= $GTK_REQUIRED_VERSION
AC_SUBST(APPLET_CFLAGS)
AC_SUBST(APPLET_LIBS)
+DBUSMENUGLIB_REQUIRED_VERSION=0.0.0
+
+PKG_CHECK_MODULES(STATUSSERVICE, dbusmenu-glib >= $DBUSMENUGLIB_REQUIRED_VERSION)
+
+AC_SUBST(STATUSERVICE_CFLAGS)
+AC_SUBST(STATUSERVICE_LIBS)
+
+PKG_CHECK_MODULES(USERSSERVICE, dbusmenu-glib >= $DBUSMENUGLIB_REQUIRED_VERSION)
+
+AC_SUBST(USERSERVICE_CFLAGS)
+AC_SUBST(USERSERVICE_LIBS)
+
+PKG_CHECK_MODULES(SESSIONSERVICE, dbusmenu-glib >= $DBUSMENUGLIB_REQUIRED_VERSION)
+
+AC_SUBST(SESSIONERVICE_CFLAGS)
+AC_SUBST(SESSIONERVICE_LIBS)
+
###########################
# Indicator Info
###########################
diff --git a/src/Makefile.am b/src/Makefile.am
index 4e0df47..86bacb8 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -8,8 +8,14 @@ libstatus_users_session_la_CFLAGS = $(APPLET_CFLAGS) -Wall -Werror
libstatus_users_session_la_LIBADD = $(APPLET_LIBS)
indicator_status_service_SOURCES = status-service.c
+indicator_status_service_CFLAGS = $(STATUSSERVICE_CFLAGS)
+indicator_status_service_LDADD = $(STATUSSERVICE_LIBS)
indicator_users_service_SOURCES = users-service.c
+indicator_users_service_CFLAGS = $(USERSSERVICE_CFLAGS)
+indicator_users_service_LDADD = $(USERSSERVICE_LIBS)
indicator_session_service_SOURCES = session-service.c
+indicator_session_service_CFLAGS = $(SESSIONSERVICE_CFLAGS)
+indicator_session_service_LDADD = $(SESSIONSERVICE_LIBS)