diff options
author | Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> | 2011-08-08 13:04:05 +0530 |
---|---|---|
committer | Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> | 2011-08-08 13:04:05 +0530 |
commit | 4b76a481ee28166d5f415ef97833c624f4fc0792 (patch) | |
tree | d2057da9f65fbcb636bbeaca96ff2d552d2a974a /configure | |
parent | 23ddf2bb1e4bfe2b72a726fe5e828807b65941ad (diff) | |
download | qemu-4b76a481ee28166d5f415ef97833c624f4fc0792.tar.gz qemu-4b76a481ee28166d5f415ef97833c624f4fc0792.tar.bz2 qemu-4b76a481ee28166d5f415ef97833c624f4fc0792.zip |
coroutine: add gthread dependency
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 <stefanha@linux.vnet.ibm.com>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 18 |
1 files changed, 8 insertions, 10 deletions
@@ -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 ########################################## |