summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am3
-rw-r--r--configure.ac2
2 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index c7631b4..58cee19 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -18,6 +18,9 @@ EXTRA_DIST = \
DISTCLEANFILES = \
$(NULL)
+DISTCHECK_CONFIGURE_FLAGS = \
+ --with-gtk=$(GTK_API_VERSION)
+
# Build ChangeLog from GIT history
ChangeLog:
$(AM_V_GEN) if test -d $(top_srcdir)/.git; then \
diff --git a/configure.ac b/configure.ac
index 780793d..0896fbe 100644
--- a/configure.ac
+++ b/configure.ac
@@ -94,6 +94,8 @@ case "$with_gtk" in
;;
esac
+AC_SUBST(GTK_API_VERSION)
+
PKG_CHECK_MODULES(SETTINGS_DAEMON,
glib-2.0 >= $GLIB_REQUIRED_VERSION
gtk+-$GTK_API_VERSION >= $GTK_REQUIRED_VERSION