You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
1005 B

  1. From 296215421441b73bc6eb487f1d4e7e15e0510a77 Mon Sep 17 00:00:00 2001
  2. From: Yousong Zhou <yszhou4tech@gmail.com>
  3. Date: Fri, 7 Feb 2020 03:02:44 +0800
  4. Subject: [PATCH 3/5] configure: enable guest_agent no matter whether softmmu
  5. is enabled
  6. guest_agent as a tool to be run on guest machines does not depend on
  7. whether there is a softmmu is to be built at this configure/make run
  8. Fixes a512590 ("configure: qemu-ga is only needed with softmmu targets")
  9. ---
  10. configure | 2 +-
  11. 1 file changed, 1 insertion(+), 1 deletion(-)
  12. diff --git a/configure b/configure
  13. index efe06f3c2b..552d16ca8f 100755
  14. --- a/configure
  15. +++ b/configure
  16. @@ -6246,7 +6246,7 @@ fi
  17. # Probe for guest agent support/options
  18. if [ "$guest_agent" != "no" ]; then
  19. - if [ "$softmmu" = no -a "$want_tools" = no ] ; then
  20. + if [ "$guest_agent" = "" -a "$want_tools" = no ] ; then
  21. guest_agent=no
  22. elif [ "$linux" = "yes" -o "$bsd" = "yes" -o "$solaris" = "yes" -o "$mingw32" = "yes" ] ; then
  23. tools="qemu-ga\$(EXESUF) $tools"