From bcf4ce7a3b0b0dd2c70ec09dc7a35a9e83068d76 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Fri, 15 Jul 2016 21:55:00 +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 3776231..e60dd16 100644 --- a/Makefile.am +++ b/Makefile.am @@ -49,6 +49,9 @@ DISTCLEANFILES = intltool-extract \ intltool-merge \ intltool-update +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 81b7041..82ae929 100644 --- a/configure.ac +++ b/configure.ac @@ -74,6 +74,8 @@ case "$with_gtk" in ;; esac +AC_SUBST(GTK_API_VERSION) + PKG_CHECK_MODULES(GLIB, glib-2.0 >= $GLIB_REQUIRED gio-2.0) AC_SUBST(GLIB_CFLAGS) AC_SUBST(GLIB_LIBS) -- cgit v1.2.1