[PATCH v3 01/18] build: Require gio >= 2.40.
Grant Erickson <[email protected]> Thu, 20 Mar 2025 16:38:52 -0700
| Newsgroups | dev.linux.lists.connman |
|---|---|
| Message-ID | <9aa482d85c931c18f59e11f1f62f543dd486aeae.1742513884.git.gerickson@nuovations.com> |
Required for 'G_IO_ERROR' and 'g_io_error_from_errno' used by GWeb.
---
configure.ac | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/configure.ac b/configure.ac
index 7430e2ec9c9b..cae36c9eb182 100644
--- a/configure.ac
+++ b/configure.ac
@@ -284,6 +284,11 @@ fi
AC_DEFINE_UNQUOTED([STATS_MAX_FILE_SIZE], (${stats_max_file_size}), [Maximal size of a statistics round robin file])
+PKG_CHECK_MODULES(GIO, gio-2.0 >= 2.40, dummy=yes,
+ AC_MSG_ERROR(GIo >= 2.40 is required))
+AC_SUBST(GIO_CFLAGS)
+AC_SUBST(GIO_LIBS)
+
PKG_CHECK_MODULES(GLIB, glib-2.0 >= 2.40, dummy=yes,
AC_MSG_ERROR(GLib >= 2.40 is required))
AC_SUBST(GLIB_CFLAGS)
--
2.45.0