[NetworkManager-pptp/lr/gtk-4.0: 4/10] build: check max gtk version
- From: Lubomir Rintel <lkundrak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [NetworkManager-pptp/lr/gtk-4.0: 4/10] build: check max gtk version
- Date: Mon, 17 Jan 2022 09:38:51 +0000 (UTC)
commit cbd34c0fdd56d2a408754582ea6db432331cbe9c
Author: Lubomir Rintel <lkundrak v3 sk>
Date: Wed Nov 3 13:47:19 2021 +0100
build: check max gtk version
Set a upper bound on Gtk version, so that we don't accidentally use
features from a newer one.
configure.ac | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/configure.ac b/configure.ac
index 17393b2..c76c600 100644
--- a/configure.ac
+++ b/configure.ac
@@ -109,6 +109,7 @@ GLIB_CFLAGS="$GLIB_CFLAGS -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_34"
if test x"$with_gnome" != xno; then
PKG_CHECK_MODULES(GTK, gtk+-3.0 >= 3.4)
GTK_CFLAGS="$GTK_CFLAGS -DGDK_VERSION_MIN_REQUIRED=GDK_VERSION_3_4"
+ GTK_CFLAGS="$GTK_CFLAGS -DGDK_VERSION_MAX_ALLOWED=GDK_VERSION_3_4"
PKG_CHECK_MODULES(LIBNMA, libnma >= 1.2.0)
PKG_CHECK_MODULES(LIBSECRET, libsecret-1 >= 0.18)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]