]> Git Repo - qemu.git/commitdiff
configure: on Windows minimum glib version must be 2.30
authorPeter Maydell <[email protected]>
Mon, 3 Apr 2017 13:04:15 +0000 (14:04 +0100)
committerPeter Maydell <[email protected]>
Mon, 10 Apr 2017 11:54:35 +0000 (12:54 +0100)
In the 2.7 release we stated in the ChangeLog that the
minimum glib version for Windows hosts was 2.30, but we
didn't update configure to enforce this because we were
very close to the release at the point where we noticed
the issue, and it only affected building the test suite.
We then forgot that we needed to do it. Fix the omission.

(The reason for the 2.30 requirement is use of
g_dir_make_tmp() -- our fallback implementation uses
mkdtemp(), which isn't available on Windows.)

Reported-by: Mark Cave-Ayland <[email protected]>
Signed-off-by: Peter Maydell <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Stefan Weil <[email protected]>
Message-id: 1491224655[email protected]

configure

index 4b3b5cd6bcb6d14441755277d4859cf533545613..be4d326ae053ba8e9b0a461acb02be9281564d41 100755 (executable)
--- a/configure
+++ b/configure
@@ -3073,7 +3073,11 @@ fi
 ##########################################
 # glib support probe
 
-glib_req_ver=2.22
+if test "$mingw32" = yes; then
+    glib_req_ver=2.30
+else
+    glib_req_ver=2.22
+fi
 glib_modules=gthread-2.0
 if test "$modules" = yes; then
     glib_modules="$glib_modules gmodule-2.0"
This page took 0.03385 seconds and 4 git commands to generate.