From 472065f301abb41d33573e83eb5bdd5ea018973b Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Tue, 21 Jul 2009 16:06:05 -0500 Subject: Bringing in all the GTK includes and libraries --- configure.ac | 5 +++++ src/gtk-dialog/Makefile.am | 3 +++ 2 files changed, 8 insertions(+) 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) + -- cgit v1.2.3