All of lore.kernel.org
 help / color / mirror / Atom feed
From: Olaf Hering <olaf@aepfle.de>
To: qemu-trivial@nongnu.org
Cc: "Olaf Hering" <olaf@aepfle.de>,
	"Gerd Hoffmann" <kraxel@redhat.com>,
	"Paolo Bonzini" <pbonzini@redhat.com>,
	"Peter Maydell" <peter.maydell@linaro.org>,
	"Fam Zheng" <famz@redhat.com>,
	"Philippe Mathieu-Daudé" <f4bug@amsat.org>,
	"open list:All patches CC here" <qemu-devel@nongnu.org>
Subject: [Qemu-devel] [PATCH v2] configure: require glib-2.24 on Linux
Date: Wed, 18 Apr 2018 16:54:43 +0200	[thread overview]
Message-ID: <20180418145443.6332-1-olaf@aepfle.de> (raw)

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

             reply	other threads:[~2018-04-18 14:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-18 14:54 Olaf Hering [this message]
2018-04-18 15:04 ` [Qemu-devel] [PATCH v2] configure: require glib-2.24 on Linux 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180418145443.6332-1-olaf@aepfle.de \
    --to=olaf@aepfle.de \
    --cc=f4bug@amsat.org \
    --cc=famz@redhat.com \
    --cc=kraxel@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-trivial@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.