From 6d24c14e451f6146f301e698b6a7f2e0d46b76ee Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Fri, 9 Sep 2022 02:07:26 +0300 Subject: [PATCH 40/40] configure: Enable automatic gtk4-client selection See osdn #45606 Signed-off-by: Marko Lindqvist --- m4/gtk4-client.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/m4/gtk4-client.m4 b/m4/gtk4-client.m4 index 7b62d77dee..8681cacf86 100644 --- a/m4/gtk4-client.m4 +++ b/m4/gtk4-client.m4 @@ -5,8 +5,8 @@ AC_DEFUN([FC_GTK4_CLIENT], [ - # Add check "x$client" = "xauto" when this becomes supported client - if test "x$gui_gtk4" = "xyes" || test "x$client" = "xall" ; then + if test "x$gui_gtk4" = "xyes" || + test "x$client" = "xall" || test "x$client" = "xauto" ; then PKG_CHECK_MODULES([GTK4], [gtk4 >= 4.0.0], [ GTK4_CFLAGS="$GTK4_CFLAGS -DGDK_VERSION_MIN_REQUIRED=GDK_VERSION_4_0" -- 2.35.1