build: bump required GLib version for tests to 2.74
PATCH 1/1 build: bump required GLib version for tests to 2.74
From: Bartosz Golaszewski <[email protected]>
Since commit c116b6f6f118 ("tests: add a test-case checking line-config memory usage") we're using a symbol - G_TEST_SUBPROCESS_DEFAULT - that's only available in GLib v2.74 and later. This version is already almost three years old so should be widely available. Bump the required version in configure.ac.
--- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
configure.ac +2 -2
@@ -157,8 +157,8 @@ then PKG_CHECK_MODULES([MOUNT], [mount >= 2.33.1]) # For core library tests - PKG_CHECK_MODULES([GLIB], [glib-2.0 >= 2.50]) - PKG_CHECK_MODULES([GIO], [gio-2.0 >= 2.50]) + PKG_CHECK_MODULES([GLIB], [glib-2.0 >= 2.74]) + PKG_CHECK_MODULES([GIO], [gio-2.0 >= 2.74]) AC_CHECK_FUNC([atexit], [], [FUNC_NOT_FOUND_LIB([atexit])]) AC_CHECK_FUNC([asprintf], [], [FUNC_NOT_FOUND_LIB([asprintf])])
Signature · 1 line
2.48.1
Quoted 10 lines · Bartosz Golaszewski
From: Bartosz Golaszewski <[email protected]>
Since commit
c116b6f6f118("tests: add a test-case checking line-config memory usage") we're using a symbol -G_TEST_SUBPROCESS_DEFAULT- that's only available in GLib v2.74 and later. This version is already almost three years old so should be widely available. Bump the required version in configure.ac.Signed-off-by Bartosz Golaszewski <[email protected]>
Oh and I forgot:
Quoted 22 lines
--- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)configure.ac +2
-3@@ -157,8 +157,8 @@ then PKG_CHECK_MODULES([MOUNT], [mount >= 2.33.1]) # For core library tests - PKG_CHECK_MODULES([GLIB], [glib-2.0 >= 2.50]) - PKG_CHECK_MODULES([GIO], [gio-2.0 >= 2.50]) + PKG_CHECK_MODULES([GLIB], [glib-2.0 >= 2.74]) + PKG_CHECK_MODULES([GIO], [gio-2.0 >= 2.74]) AC_CHECK_FUNC([atexit], [], [FUNC_NOT_FOUND_LIB([atexit])]) AC_CHECK_FUNC([asprintf], [], [FUNC_NOT_FOUND_LIB([asprintf])]) --2.48.1
Bartosz Golaszewski
AppliedFrom: Bartosz Golaszewski <[email protected]>
Quoted 8 lines · Bartosz Golaszewski
Since commit
c116b6f6f118("tests: add a test-case checking line-config memory usage") we're using a symbol -G_TEST_SUBPROCESS_DEFAULT- that's only available in GLib v2.74 and later. This version is already almost three years old so should be widely available. Bump the required version in configure.ac.[...]
Applied, thanks!
[1/1] build: bump required GLib version for tests to 2.74
https://git.kernel.org/brgl/libgpiod/c/5e744bf56d84947203b191a79c2e505bcf8d9900
Best regards,
Signature · 1 line
Bartosz Golaszewski <[email protected]>