aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMichael Tokarev <mjt@tls.msk.ru>2013-07-31 14:22:07 +0400
committerMichael Tokarev <mjt@tls.msk.ru>2013-08-02 18:02:08 +0400
commite8ef31a3518c7b1e63a804fe8cecd3e94418db84 (patch)
treead2fabbb50cbdec7fdadd28062aa75ad0e19e2f2 /configure
parent2ddc463725d0fa24e0910fba77fef2777fa94a74 (diff)
qemu-ga: build it even if !system
Move qemu-ga build check out of if softmmu.. into its own section. We want to build qemu-ga for _guest_ even if system build isn't done. It is controlled separately using --enable-guest-agent. Additionally, give error message if guest agent is requested but not supported. Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure11
1 files changed, 8 insertions, 3 deletions
diff --git a/configure b/configure
index f0761ea862..293f1677e6 100755
--- a/configure
+++ b/configure
@@ -231,7 +231,7 @@ libusb=""
usb_redir=""
glx=""
zlib="yes"
-guest_agent="yes"
+guest_agent=""
want_tools="yes"
libiscsi=""
coroutine=""
@@ -3444,10 +3444,15 @@ if test "$softmmu" = yes ; then
virtfs=no
fi
fi
+fi
+if [ "$guest_agent" != "no" ]; then
if [ "$linux" = "yes" -o "$bsd" = "yes" -o "$solaris" = "yes" ] ; then
- if [ "$guest_agent" = "yes" ]; then
tools="qemu-ga\$(EXESUF) $tools"
- fi
+ guest_agent=yes
+ elif [ "$guest_agent" != yes ]; then
+ guest_agent=no
+ else
+ error_exit "Guest agent is not supported on this platform"
fi
fi