From a090a932650e72eee2033cba73d79c422cf1694a Mon Sep 17 00:00:00 2001 From: raveit65 Date: Fri, 15 Jul 2016 22:07:38 +0200 Subject: distcheck: explicitly use currently selected GTK+ version --- Makefile.am | 3 +++ configure.ac | 2 ++ 2 files changed, 5 insertions(+) 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 -- cgit v1.2.1