summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2016-07-15 22:07:38 +0200
committermonsta <[email protected]>2016-08-07 10:12:31 +0300
commita090a932650e72eee2033cba73d79c422cf1694a (patch)
treef0bc5c58356d8d07b13c1650d46d71c347514a3f
parent62e506f4d1ba880fb338a0e95daed6864a30c25d (diff)
downloadmate-settings-daemon-a090a932650e72eee2033cba73d79c422cf1694a.tar.bz2
mate-settings-daemon-a090a932650e72eee2033cba73d79c422cf1694a.tar.xz
distcheck: explicitly use currently selected GTK+ version
-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