aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-07-21 16:06:05 -0500
committerTed Gould <ted@canonical.com>2009-07-21 16:06:05 -0500
commit472065f301abb41d33573e83eb5bdd5ea018973b (patch)
treeac303a0c2f9ace9d3fd00ad185251de62ae0866d
parent96ca29c44edb5a8b92339d8be7b8b9189cc8863b (diff)
downloadayatana-indicator-session-472065f301abb41d33573e83eb5bdd5ea018973b.tar.gz
ayatana-indicator-session-472065f301abb41d33573e83eb5bdd5ea018973b.tar.bz2
ayatana-indicator-session-472065f301abb41d33573e83eb5bdd5ea018973b.zip
Bringing in all the GTK includes and libraries
-rw-r--r--configure.ac5
-rw-r--r--src/gtk-dialog/Makefile.am3
2 files changed, 8 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 58fee07..9d64f40 100644
--- a/configure.ac
+++ b/configure.ac
@@ -48,6 +48,11 @@ PKG_CHECK_MODULES(SESSIONSERVICE, dbusmenu-glib >= $DBUSMENUGLIB_REQUIRED_VERSIO
AC_SUBST(SESSIONERVICE_CFLAGS)
AC_SUBST(SESSIONERVICE_LIBS)
+PKG_CHECK_MODULES(GTKLOGOUTHELPER, gtk+-2.0 >= $GTK_REQUIRED_VERSION)
+
+AC_SUBST(GTKLOGOUTHELPER_CFLAGS)
+AC_SUBST(GTKLOGOUTHELPER_LIBS)
+
###########################
# Check to see if we're local
###########################
diff --git a/src/gtk-dialog/Makefile.am b/src/gtk-dialog/Makefile.am
index 20e3d83..07b0915 100644
--- a/src/gtk-dialog/Makefile.am
+++ b/src/gtk-dialog/Makefile.am
@@ -6,3 +6,6 @@ gtk_logout_helper_SOURCES = \
logout-dialog.c \
logout-dialog.h
+gtk_logout_helper_CFLAGS = $(GTKLOGOUTHELPER_CFLAGS) -Wall -Werror
+gtk_logout_helper_LDADD = $(GTKLOGOUTHELPER_LIBS)
+