summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authormonsta <[email protected]>2018-01-27 22:44:53 +0300
committermonsta <[email protected]>2018-01-27 22:44:53 +0300
commitc85613f87b71a6dd5dbf867262aae2432b5797bd (patch)
tree953a449702c7ff21ce9d0ab94191c20d2f61f5fc /configure.ac
parent9e7dd2a6a61690c1ce9002407ede30a78d58268b (diff)
downloadmate-netbook-c85613f87b71a6dd5dbf867262aae2432b5797bd.tar.bz2
mate-netbook-c85613f87b71a6dd5dbf867262aae2432b5797bd.tar.xz
require GTK+ 3.22 and GLib 2.50
and drop additional checks for min/max GLib versions, it's not needed
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac13
1 files changed, 4 insertions, 9 deletions
diff --git a/configure.ac b/configure.ac
index 94b7e48..8511251 100644
--- a/configure.ac
+++ b/configure.ac
@@ -11,12 +11,6 @@ AC_PROG_CC
AC_STDC_HEADERS
AC_PROG_LIBTOOL
-# GLib min/max required versions
-AC_DEFINE([GLIB_VERSION_MAX_ALLOWED], [GLIB_VERSION_2_36],
- [Warn on use of APIs added after GLib 2.36])
-AC_DEFINE([GLIB_VERSION_MIN_REQUIRED], [GLIB_VERSION_2_36],
- [Warn on use of APIs deprecated before GLib 2.36])
-
dnl ==========================================================================
dnl i18n
dnl ==========================================================================
@@ -36,10 +30,11 @@ AM_GLIB_GNU_GETTEXT
AC_SUBST(GCC_FLAGS)
-GLIB_REQUIRED=2.36.0
+GLIB_REQUIRED=2.50.0
+GTK_REQUIRED=3.22.0
PKG_CHECK_MODULES(MAXIMUS_DEPS,
- gtk+-3.0
+ gtk+-3.0 >= $GTK_REQUIRED
glib-2.0 >= $GLIB_REQUIRED
gio-2.0
libwnck-3.0
@@ -51,7 +46,7 @@ AC_SUBST(MAXIMUS_DEPS_LIBS)
PKG_CHECK_MODULES(MATEWINDOWPICKER_DEPS,
libmatepanelapplet-4.0 >= 1.17.0
- gtk+-3.0
+ gtk+-3.0 >= $GTK_REQUIRED
glib-2.0 >= $GLIB_REQUIRED
gio-2.0
libwnck-3.0