From d3aabf8903608e071af9965367ffede901633e7c Mon Sep 17 00:00:00 2001 From: raveit65 Date: Fri, 15 Jul 2016 21:49:23 +0200 Subject: distcheck: explicitly use currently selected GTK+ version --- Makefile.am | 4 +++- configure.ac | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) 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) -- cgit v1.2.1