From 99cbd615accb3a9f52beb12240e116b11f75e06d Mon Sep 17 00:00:00 2001 From: raveit65 Date: Fri, 15 Jul 2016 21:39:53 +0200 Subject: distcheck: explicitly use currently selected GTK+ version --- Makefile.am | 9 +++++---- configure.ac | 2 ++ 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/Makefile.am b/Makefile.am index 9302df6..1e174e7 100644 --- a/Makefile.am +++ b/Makefile.am @@ -32,10 +32,11 @@ DISTCLEANFILES = \ intltool-update \ mate-power-manager-*.tar.gz -DISTCHECK_CONFIGURE_FLAGS = \ - --disable-schemas-install \ - --disable-applets \ - --disable-tests +DISTCHECK_CONFIGURE_FLAGS = \ + --disable-schemas-install \ + --disable-applets \ + --disable-tests \ + --with-gtk=$(GTK_API_VERSION) # Build ChangeLog from GIT history ChangeLog: diff --git a/configure.ac b/configure.ac index fe044b5..7d8eb04 100644 --- a/configure.ac +++ b/configure.ac @@ -160,6 +160,8 @@ case "$with_gtk" in ;; esac +AC_SUBST(GTK_API_VERSION) + dnl --------------------------------------------------------------------------- dnl - Check library dependencies dnl --------------------------------------------------------------------------- -- cgit v1.2.1