summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2016-07-15 21:20:01 +0200
committerraveit65 <[email protected]>2016-07-15 21:20:01 +0200
commit2243da022d526df5749cf101e8249de1b75253a7 (patch)
treeeb2d18f1886cffbaf11182d67440f42f7d2d78d5
parent63bd6cc414feeffef4736823ecf9ea95a7c4d34a (diff)
downloadmate-media-2243da022d526df5749cf101e8249de1b75253a7.tar.bz2
mate-media-2243da022d526df5749cf101e8249de1b75253a7.tar.xz
distcheck: explicitly use currently selected GTK+ version
-rw-r--r--Makefile.am3
-rw-r--r--configure.ac2
2 files changed, 4 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index ce3d554..c784f1f 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -5,7 +5,8 @@ SUBDIRS = data po man mate-volume-control
DISTCHECK_CONFIGURE_FLAGS = \
--enable-more-warnings \
--enable-compile-warnings=maximum \
- --enable-deprecated
+ --enable-deprecated \
+ --with-gtk=$(GTK_API_VERSION)
DIST_SUBDIRS = \
data \
diff --git a/configure.ac b/configure.ac
index 00a6ab8..3202521 100644
--- a/configure.ac
+++ b/configure.ac
@@ -65,6 +65,8 @@ case "$with_gtk" in
;;
esac
+AC_SUBST(GTK_API_VERSION)
+
dnl=======================================================================
dnl Check for the volume control modules
dnl=======================================================================