summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am9
-rw-r--r--configure.ac2
2 files changed, 7 insertions, 4 deletions
diff --git a/Makefile.am b/Makefile.am
index 9302df6..1e174e7 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -32,10 +32,11 @@ DISTCLEANFILES = \
intltool-update \
mate-power-manager-*.tar.gz
-DISTCHECK_CONFIGURE_FLAGS = \
- --disable-schemas-install \
- --disable-applets \
- --disable-tests
+DISTCHECK_CONFIGURE_FLAGS = \
+ --disable-schemas-install \
+ --disable-applets \
+ --disable-tests \
+ --with-gtk=$(GTK_API_VERSION)
# Build ChangeLog from GIT history
ChangeLog:
diff --git a/configure.ac b/configure.ac
index fe044b5..7d8eb04 100644
--- a/configure.ac
+++ b/configure.ac
@@ -160,6 +160,8 @@ case "$with_gtk" in
;;
esac
+AC_SUBST(GTK_API_VERSION)
+
dnl ---------------------------------------------------------------------------
dnl - Check library dependencies
dnl ---------------------------------------------------------------------------