All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] configure: Disable slirp if --disable-system
@ 2019-05-10 20:34 Richard Henderson
  2019-05-11  5:48 ` Thomas Huth
  2019-05-11 12:47 ` Aleksandar Markovic
  0 siblings, 2 replies; 7+ messages in thread
From: Richard Henderson @ 2019-05-10 20:34 UTC (permalink / raw)
  To: qemu-devel; +Cc: marcandre.lureau, samuel.thibault

For linux-user, there is no need to add slirp to the set of
git modules checked out, nor build it.

This also avoids a makefile bug wrt insufficient dependencies
on subdir-slirp.  If slirp/ is not initially present, the
dependencies that check it out are associated with softmmu,
which then generates a build error on slirp/ not present.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
 configure | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/configure b/configure
index 63f312bd1f..9de7e43a80 100755
--- a/configure
+++ b/configure
@@ -5878,6 +5878,10 @@ fi
 ##########################################
 # check for slirp
 
+if test "$softmmu" = "no"; then
+    slirp=no
+fi
+
 case "$slirp" in
   "" | yes)
     if $pkg_config slirp; then
-- 
2.17.1



^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-05-15 18:37 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-10 20:34 [Qemu-devel] [PATCH] configure: Disable slirp if --disable-system Richard Henderson
2019-05-11  5:48 ` Thomas Huth
2019-05-11 12:47 ` Aleksandar Markovic
2019-05-13 21:14   ` Richard Henderson
2019-05-14 19:15     ` Aleksandar Markovic
2019-05-15 10:07       ` Peter Maydell
2019-05-15 18:36         ` Aleksandar Markovic

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.