[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH -V4 01/26] coroutine: add gthread dependency
From: |
Aneesh Kumar K.V |
Subject: |
[Qemu-devel] [PATCH -V4 01/26] coroutine: add gthread dependency |
Date: |
Mon, 8 Aug 2011 22:33:49 +0530 |
From: Stefan Hajnoczi <address@hidden>
Commit 1fc7bd4a86a2bfeafcec29445871eb97469a2699 removed the gthread and
gio dependency since qemu-ga did not require it. Coroutines require
gthread, so add it back in.
Signed-off-by: Stefan Hajnoczi <address@hidden>
---
configure | 18 ++++++++----------
1 files changed, 8 insertions(+), 10 deletions(-)
diff --git a/configure b/configure
index 0c67a4a..a6687f7 100755
--- a/configure
+++ b/configure
@@ -1844,16 +1844,14 @@ fi
##########################################
# glib support probe
-if test "$guest_agent" != "no" ; then
- if $pkg_config --modversion glib-2.0 > /dev/null 2>&1 ; then
- glib_cflags=`$pkg_config --cflags glib-2.0 2>/dev/null`
- glib_libs=`$pkg_config --libs glib-2.0 2>/dev/null`
- libs_softmmu="$glib_libs $libs_softmmu"
- libs_tools="$glib_libs $libs_tools"
- else
- echo "glib-2.0 required to compile QEMU"
- exit 1
- fi
+if $pkg_config --modversion gthread-2.0 > /dev/null 2>&1 ; then
+ glib_cflags=`$pkg_config --cflags gthread-2.0 2>/dev/null`
+ glib_libs=`$pkg_config --libs gthread-2.0 2>/dev/null`
+ libs_softmmu="$glib_libs $libs_softmmu"
+ libs_tools="$glib_libs $libs_tools"
+else
+ echo "glib-2.0 required to compile QEMU"
+ exit 1
fi
##########################################
--
1.7.4.1
- [Qemu-devel] [PATCHSET 1] VirtFS coroutine changes, Aneesh Kumar K.V, 2011/08/08
- [Qemu-devel] [PATCH -V4 07/26] [virtio-9p] Remove post functions for v9fs_mkdir., Aneesh Kumar K.V, 2011/08/08
- [Qemu-devel] [PATCH -V4 01/26] coroutine: add gthread dependency,
Aneesh Kumar K.V <=
- [Qemu-devel] [PATCH -V4 05/26] [virtio-9p] clean up v9fs_readlink., Aneesh Kumar K.V, 2011/08/08
- [Qemu-devel] [PATCH -V4 06/26] [virtio-9p] coroutines for readlink, Aneesh Kumar K.V, 2011/08/08
- [Qemu-devel] [PATCH -V4 09/26] hw/9pfs: Add yield support for readdir related coroutines, Aneesh Kumar K.V, 2011/08/08
- [Qemu-devel] [PATCH -V4 04/26] [virtio-9p] Remove post functions for v9fs_readlink., Aneesh Kumar K.V, 2011/08/08
- [Qemu-devel] [PATCH -V4 03/26] [virtio-9p] Change all pdu handlers to coroutines., Aneesh Kumar K.V, 2011/08/08
- [Qemu-devel] [PATCH -V4 10/26] hw/9pfs: Update v9fs_readdir to use coroutines, Aneesh Kumar K.V, 2011/08/08
- [Qemu-devel] [PATCH -V4 12/26] hw/9pfs: Update v9fs_statfs to use coroutines, Aneesh Kumar K.V, 2011/08/08
- [Qemu-devel] [PATCH -V4 13/26] hw/9pfs: Add yield support to lstat coroutine, Aneesh Kumar K.V, 2011/08/08
- [Qemu-devel] [PATCH -V4 02/26] [virtio-9p] Add infrastructure to support glib threads and coroutines., Aneesh Kumar K.V, 2011/08/08