From nobody Sun Apr 28 17:08:46 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1557520564; cv=none; d=zoho.com; s=zohoarc; b=eJPDqOVHvNCmOYcnHCmgaa5R+gXLSjXkm4qhrT/qwKF3RS2oVY3LXLmkWiTV/NNrVnn9jygPqZoi0fIp9yLr5SEtxcJlSW03oQZ16n4oJH3ZVDRRuMZBUr9nb18U+n/y04isWdtT5HEfI3nlWNHfqYi+SdMUdnkcDnPU5NyLd7o= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1557520564; h=Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:Message-ID:Sender:Subject:To:ARC-Authentication-Results; bh=7vmrE3P4TVjsKYtNMDaI+6ptGlXtemIm7wnPvGwAlNA=; b=CTg/rDSoRqRX8yV6/S4/LqoBnB4umx0kLF7b8AWP8CdolnG4lnCSLABM63TRob7XEjNUvBiuU8TI5cGygiFpSKYuR0HqI6EJ9xqV8XSacPiQf1wlUWHA99mQjddV7pGseUMs0cKGEZUoYLt2Vbo+XsgO4QpMm+EtWBXgrfmJ4Vg= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1557520563744399.36063112592024; Fri, 10 May 2019 13:36:03 -0700 (PDT) Received: from localhost ([127.0.0.1]:49611 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hPCFG-0001jY-PM for importer@patchew.org; Fri, 10 May 2019 16:35:54 -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) 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) 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) 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+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" 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 =20 +if test "$softmmu" =3D "no"; then + slirp=3Dno +fi + case "$slirp" in "" | yes) if $pkg_config slirp; then --=20 2.17.1