diff options
-rw-r--r-- | Makefile.am | 3 | ||||
-rw-r--r-- | configure.ac | 2 |
2 files changed, 5 insertions, 0 deletions
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) |