]> Git Repo - qemu.git/commitdiff
configure: Avoid compiling system tools on user build by default
authorPhilippe Mathieu-Daudé <[email protected]>
Mon, 17 Feb 2020 13:33:27 +0000 (14:33 +0100)
committerLaurent Vivier <[email protected]>
Wed, 19 Feb 2020 10:17:40 +0000 (11:17 +0100)
User-mode does not need the system tools. Do not build them by
default if the user specifies --disable-system.

This disables building the following binaries on a user-only build:

- elf2dmp
- qemu-edid
- qemu-ga
- qemu-img
- qemu-io
- qemu-nbd
- ivshmem-client
- ivshmem-server

The qemu-user binaries are not affected by this change.

Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Laurent Vivier <[email protected]>
Message-Id: <20200217133327[email protected]>
Signed-off-by: Laurent Vivier <[email protected]>
configure

index 5f5f4befb9f68f9bb60338b1fe111b0961b123c1..d57261e3ad0c15e3088c277f4ee337b35a27b50b 100755 (executable)
--- a/configure
+++ b/configure
@@ -455,7 +455,7 @@ guest_agent_ntddscsi="no"
 guest_agent_msi=""
 vss_win32_sdk=""
 win_sdk="no"
-want_tools="yes"
+want_tools=""
 libiscsi=""
 libnfs=""
 coroutine=""
@@ -2213,6 +2213,16 @@ else
     echo big/little test failed
 fi
 
+##########################################
+# system tools
+if test -z "$want_tools"; then
+    if test "$softmmu" = "no"; then
+        want_tools=no
+    else
+        want_tools=yes
+    fi
+fi
+
 ##########################################
 # cocoa implies not SDL or GTK
 # (the cocoa UI code currently assumes it is always the active UI
This page took 0.034857 seconds and 4 git commands to generate.