diff options
author | raveit65 <[email protected]> | 2016-07-15 22:07:38 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2016-07-15 22:07:38 +0200 |
commit | f422500d641037778ef8120d7b734080fb31e6cf (patch) | |
tree | 982ac5a73066df7fa47a7e1f2b91f09bc411ee02 | |
parent | bd7ef85ff8659ad06d2d6f9068be144ca031a16d (diff) | |
download | mate-settings-daemon-f422500d641037778ef8120d7b734080fb31e6cf.tar.bz2 mate-settings-daemon-f422500d641037778ef8120d7b734080fb31e6cf.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 409e48a..1e7fc43 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 |