[NetworkManager-pptp/lr/gtk-4.0: 5/11] 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: 5/11] build: check max gtk version
- Date: Tue, 18 Jan 2022 19:39:58 +0000 (UTC)
commit e015c49a9f628d627d635265e635421bc1bae168
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]