All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2] configure: require glib-2.24 on Linux
@ 2018-04-18 14:54 Olaf Hering
  2018-04-18 15:04 ` Eric Blake
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Olaf Hering @ 2018-04-18 14:54 UTC (permalink / raw)
  To: qemu-trivial
  Cc: Olaf Hering, Gerd Hoffmann, Paolo Bonzini, Peter Maydell,
	Fam Zheng, Philippe Mathieu-Daudé,
	open list:All patches CC here

Since usage of g_realloc_n was introduced, glib-2.22 can not be used
anymore on Linux. Leave non-Linux unchanged because one developer system
still uses it.
Fixes commit 418026ca43 ("util: Introduce vfio helpers")

Signed-off-by: Olaf Hering <olaf@aepfle.de>
---
 configure | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/configure b/configure
index 6e9b994f21..ca19a66726 100755
--- a/configure
+++ b/configure
@@ -3369,7 +3369,11 @@ fi
 if test "$mingw32" = yes; then
     glib_req_ver=2.30
 else
-    glib_req_ver=2.22
+    if test "$targetos" = Linux; then
+       glib_req_ver=2.24
+    else
+       glib_req_ver=2.22
+    fi
 fi
 glib_modules=gthread-2.0
 if test "$modules" = yes; then

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-04-18 15:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-18 14:54 [Qemu-devel] [PATCH v2] configure: require glib-2.24 on Linux Olaf Hering
2018-04-18 15:04 ` Eric Blake
2018-04-18 15:31   ` Olaf Hering
2018-04-18 15:37   ` Olaf Hering
2018-04-18 15:05 ` no-reply
2018-04-18 15:42 ` Paolo Bonzini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.