From patchwork Fri May 10 20:34:52 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 10939547 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 2BCD71390 for ; Fri, 10 May 2019 20:35:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 127EA28C61 for ; Fri, 10 May 2019 20:35:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F40F628C9B; Fri, 10 May 2019 20:35:43 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.0 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id A388328C61 for ; Fri, 10 May 2019 20:35:43 +0000 (UTC) Received: from localhost ([127.0.0.1]:49611 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hPCF4-0001jY-Tz for patchwork-qemu-devel@patchwork.kernel.org; Fri, 10 May 2019 16:35:42 -0400 Received: from eggs.gnu.org ([209.51.188.92]:39104) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hPCER-0001MS-9C for qemu-devel@nongnu.org; Fri, 10 May 2019 16:35:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hPCEP-0007Kf-UR for qemu-devel@nongnu.org; Fri, 10 May 2019 16:35:03 -0400 Received: from mail-pl1-x644.google.com ([2607:f8b0:4864:20::644]:40932) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hPCEL-0006yA-HK for qemu-devel@nongnu.org; Fri, 10 May 2019 16:34:58 -0400 Received: by mail-pl1-x644.google.com with SMTP id b3so3336563plr.7 for ; Fri, 10 May 2019 13:34:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=7vmrE3P4TVjsKYtNMDaI+6ptGlXtemIm7wnPvGwAlNA=; b=qB3wHsq5erdNmHHbOpbqLEJ+iTx0bpJVqbYNNslsP0ONg3d/xbGP5AXR3GMB0o9WyG +V3K8iQbZjfJf73VHsfZ69r18E1Tca/QtkVyZwZIP4HsH6luq6oCmYe/VT4AOAW5UC9M FLBoG2GYTXnQFOYD7NzwwGudJFXdoI/YVbSNWiwZRrew+KmmdLqIHMFSgugKe9LRcluJ JjXyhIWXUAeIw7AupJ23V8GChscYGRXWBgb0ZovYNMIE+Jaex/LEHAIIgfVp2kBxUbTo hKb5B/5tsEhjOxHqyXfroYiqKK4Yu8/NmbpFYQCVtxR9QIiRXRUD9tS1O98jjSC7gnaS B90Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=7vmrE3P4TVjsKYtNMDaI+6ptGlXtemIm7wnPvGwAlNA=; b=bGLKu49cfnFOdZS4HuKeVNnKCLE33FEFkXy1mMaRiltM9qmi8PokOvTQcABMtOLGvm 4ULSKmpYqHxnT+N1ZYy1JpnLNNLEylT6JLRmLyS7FgfKWACYtVTgc1OXfJRLB5fWZgHd 126NjHAOzWyboqZSNS3fpZaVMKur3nrd0+ylJenUoVoXuJknhUKHXOJglTH8AgQq7l+E MXEnMlNSWv+gfLhf1/yktQ5x9XKkjDTtGTXnOEc4XR+h3+7TRz0OH7+ieOjibQdW/Xwt 7P+KYDuQkysYxj9cN3rmE+qYEExIQyTP2dPH/opZdr5sS9gp4o1w7+ATHH7CuFo5qQUH MDhg== X-Gm-Message-State: APjAAAXCVNXd2x1TkuMGr82XI2U0D1DgZTv6zduqk0UBJbR8h+sAeiCe Rg6kjsPrJc2t0LQsB0xrbAzVRpxzmkg= X-Google-Smtp-Source: APXvYqwzzbmul2zgolOopYx1TSLmSLdFFBXttDC4UFuPAbo3kt+oFF1sPyo8q3dkeQmd1yVUxmteqg== X-Received: by 2002:a17:902:8e88:: with SMTP id bg8mr15390485plb.173.1557520494550; Fri, 10 May 2019 13:34:54 -0700 (PDT) Received: from localhost.localdomain (97-113-13-231.tukw.qwest.net. [97.113.13.231]) by smtp.gmail.com with ESMTPSA id a129sm7739200pfa.152.2019.05.10.13.34.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 10 May 2019 13:34:53 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Date: Fri, 10 May 2019 13:34:52 -0700 Message-Id: <20190510203452.11870-1-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.1 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::644 Subject: [Qemu-devel] [PATCH] configure: Disable slirp if --disable-system X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: marcandre.lureau@redhat.com, samuel.thibault@ens-lyon.org Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP 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 --- 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