diff options
author | raveit65 <[email protected]> | 2016-07-15 22:07:38 +0200 |
---|---|---|
committer | monsta <[email protected]> | 2016-08-07 10:12:31 +0300 |
commit | a090a932650e72eee2033cba73d79c422cf1694a (patch) | |
tree | f0bc5c58356d8d07b13c1650d46d71c347514a3f | |
parent | 62e506f4d1ba880fb338a0e95daed6864a30c25d (diff) | |
download | mate-settings-daemon-a090a932650e72eee2033cba73d79c422cf1694a.tar.bz2 mate-settings-daemon-a090a932650e72eee2033cba73d79c422cf1694a.tar.xz |
distcheck: explicitly use currently selected GTK+ version
-rw-r--r-- | Makefile.am | 3 | ||||
-rw-r--r-- | configure.ac | 2 |
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 |