summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2016-07-15 21:49:23 +0200
committerraveit65 <[email protected]>2016-07-15 21:49:23 +0200
commitd3aabf8903608e071af9965367ffede901633e7c (patch)
tree486ef1555537d363a2e2405650d528881ddb577e
parentf9bb37f250edde1f09f9e9426a144447ce0eee81 (diff)
downloadmate-screensaver-d3aabf8903608e071af9965367ffede901633e7c.tar.bz2
mate-screensaver-d3aabf8903608e071af9965367ffede901633e7c.tar.xz
distcheck: explicitly use currently selected GTK+ version
-rw-r--r--Makefile.am4
-rw-r--r--configure.ac2
2 files changed, 5 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index c25ecff..f00a804 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -5,7 +5,9 @@ ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
NULL =
-DISTCHECK_CONFIGURE_FLAGS = --without-systemd
+DISTCHECK_CONFIGURE_FLAGS = \
+ --without-systemd \
+ --with-gtk=$(GTK_API_VERSION)
SUBDIRS = \
src \
diff --git a/configure.ac b/configure.ac
index f29d711..7191391 100644
--- a/configure.ac
+++ b/configure.ac
@@ -75,6 +75,8 @@ case "$with_gtk" in
;;
esac
+AC_SUBST(GTK_API_VERSION)
+
AC_CHECK_HEADERS(unistd.h)
AC_CHECK_HEADERS(crypt.h sys/select.h)
AC_CHECK_FUNCS(select fcntl uname nice setpriority getcwd getwd putenv sbrk)