[gnome-desktop-testing/wip/no-autotools: 5/8] build: Officially require GLib 2.50




commit 188b347bf6758b94e8a4dcc7ca06b77904dbd4bb
Author: Simon McVittie <smcv collabora com>
Date:   Tue Jun 29 17:09:17 2021 +0100

    build: Officially require GLib 2.50
    
    We call g_log_writer_is_journald() unconditionally since commit
    cd78f8f9 "Output messages by default if stdout is not the Journal"
    and nobody complained.
    
    Signed-off-by: Simon McVittie <smcv collabora com>

 configure.ac | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 3ee64aa..4bfb655 100644
--- a/configure.ac
+++ b/configure.ac
@@ -28,10 +28,10 @@ AC_SUBST(WARN_CFLAGS)
 LT_PREREQ([2.2.4])
 LT_INIT([disable-static])
 
-PKG_CHECK_MODULES(BUILDDEP_GDT, [gio-unix-2.0 >= 2.34.0])
+PKG_CHECK_MODULES(BUILDDEP_GDT, [gio-unix-2.0 >= 2.50])
 PKG_CHECK_MODULES([SYSTEMD], [libsystemd], [have_systemd=yes], [have_systemd=no])
 AS_IF([test "x$have_systemd" = xyes], [AC_DEFINE([HAVE_SYSTEMD], [1], [Define if you have libsystemd])])
-GIO_UNIX_CFLAGS="$GIO_UNIX_CFLAGS -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_36 
-DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_36"
+GIO_UNIX_CFLAGS="$GIO_UNIX_CFLAGS -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_50 
-DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_50"
 
 AC_CONFIG_FILES([
 Makefile


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]