aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)
+