From patchwork Wed Jul 20 15:26:26 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 591868 Delivered-To: patch@linaro.org Received: by 2002:a05:7000:5817:0:0:0:0 with SMTP id j23csp5059917max; Wed, 20 Jul 2022 08:28:39 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sayaep8slDicopFJ3jJToS1ymgd1Hq3B+8dJsCflRGBzZX27HKEOB1+e6gDTeSWNHm+2oy X-Received: by 2002:ac8:4e35:0:b0:31e:ffe7:1a71 with SMTP id d21-20020ac84e35000000b0031effe71a71mr6576352qtw.261.1658330919585; Wed, 20 Jul 2022 08:28:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658330919; cv=none; d=google.com; s=arc-20160816; b=GK7fJ0EpHk++0mA2XQfkHa12S+sydeYzK0Qf0Fc49NV33XrQaTMDR+wfJMqWgijzb3 xk0j322OWIbIrAfJyRuRAucstMjO2ICPKDaIUyl9uKs2DGJiICiIRMoBMwxQ5ib8iF4F tik7jWr4YMcxJys41X6xFjBbEXBlQOJ+qmR+xglCyYu2dr60X+4f0IyvHBBpOj6H1/a/ VQX74hmQCkAkFSHyU5AVPZ9IYkmRNnK08fI3EReYWz6Ln6PeWGelDX5/jx+ZOb7xIEMc D4L4SEnYcYO1/k8sJkE/bSiMfYo8SDkJ6Jh8clFiY86+mWUGwgZcZrNQU4ccmDaeV24G y2rw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=bpL4MGSXevB5Nl7ONE085OfoIly8kw0x9cfWXuwiwqg=; b=WjqX1ZZPraABuaEtT+QSOJMOkXaBccFSdzr7I2L4meo6LQmZ/flV60FYVqNLCR7c3i MNX8e7aJpxuwSJ0Q1cy+KZXngkwMbVFRe4Cba6fcEohrNBRe2XKORTPBmym8vh9rAyUr 95J4Er40sg6xrX7GMW1Hax75/5fBejddLxB5+ml3fsDRtPV5m8WILscbL4Wd1utDrv7d NWTQ+lb7maErd8N16HwvfhVqZ0wTy8syn8RZfqRAzAvR4wZzC6n8n8dUAyXSjyaRlp9a WTpjj0SsblFDxSSoR0XOeVRyaqGavFuMfHOK5LCqmJRSBlq4bHTKQHNX3l3JPkVxFCZ+ UGBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XhMoEZwZ; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id u2-20020ad45aa2000000b0047326fff0f7si9379035qvg.295.2022.07.20.08.28.39 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 20 Jul 2022 08:28:39 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XhMoEZwZ; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:58938 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oEBct-0002Mk-4B for patch@linaro.org; Wed, 20 Jul 2022 11:28:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36780) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oEBav-0002MK-CV for qemu-devel@nongnu.org; Wed, 20 Jul 2022 11:26:37 -0400 Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a]:40489) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oEBat-0005Bk-Oe for qemu-devel@nongnu.org; Wed, 20 Jul 2022 11:26:37 -0400 Received: by mail-wr1-x42a.google.com with SMTP id z12so26635565wrq.7 for ; Wed, 20 Jul 2022 08:26:35 -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:mime-version :content-transfer-encoding; bh=bpL4MGSXevB5Nl7ONE085OfoIly8kw0x9cfWXuwiwqg=; b=XhMoEZwZ0f6XJN9NzvXrWBCmDEbc16F8UYj2Fz1MmwU0gOjf5DAvz8AjvpTx60qA3g vWiZTYaKpHDDHkwwgnlo7f/E1uP9tk3AGQdKa7RHNR4Z4ngwee2DKQS2ijXmERAYI8bK cTVGquYB36jL2cGZMx8CTIdey4FEg1D33oWx4mrrbC4An9CyVXz+Z+bNWz3lGfCkty0W 3yv5CJWSdmIhFJczFybuM/Jx+E4mOR5eFcevt1VaBL4noVdCkSAs/UV48SzzwICZ72ni NILoUNJKUKpGHZBxFB5LkISyPRaeKV7SzlUBanxLjicM8trCzeygS4Zu0D1LFEAb0HHE pZvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=bpL4MGSXevB5Nl7ONE085OfoIly8kw0x9cfWXuwiwqg=; b=3+qKApXjzIQmrfwYfH4cjNVTCIz9cbhvtFyuL6cW4A6CzwsIc0waEzVypT1xlm3lXt JwsS6Pnbh3DO2XdmjaZBEzcQEmYfSFCgY0j4+YTq+FjlgvMfb7pk9KKDHYdOkgG3m3iz dINimsRTnW9WnJZggKS8KMdG72F2GpZLYEu4vhVc2PnYi6ey66Av1F2PkluoV+Lnpxj7 OHRcONUQTd/XbeE0YbsGbNSp4q3+pKzNHFQRDRF95d+ssV/zUTesoJdAulU7wWR80YAa tzIrXxZS7a0J0zwWPOznerlkh4QBXLcRk73LrF5PWzaQ0cxOQ10nVLfSfPL57ZefL/SC X2DA== X-Gm-Message-State: AJIora/IRudtpBEm1BbdUxhh+nDl2kGkqPx/U2Zzq6rCNX49I+522wlK BuKb9VcFvAjrQ20s476TNeNDgdExLNEyfA== X-Received: by 2002:a5d:584c:0:b0:21d:a4b1:6f77 with SMTP id i12-20020a5d584c000000b0021da4b16f77mr30264690wrf.662.1658330793986; Wed, 20 Jul 2022 08:26:33 -0700 (PDT) Received: from orth.archaic.org.uk (orth.archaic.org.uk. [2001:8b0:1d0::2]) by smtp.gmail.com with ESMTPSA id r10-20020a056000014a00b0021d68a504cbsm16395987wrx.94.2022.07.20.08.26.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Jul 2022 08:26:33 -0700 (PDT) From: Peter Maydell To: qemu-devel@nongnu.org Cc: Paolo Bonzini , "Dr. David Alan Gilbert" , Thomas Huth , Richard Henderson Subject: [PATCH 0/5] configure: fix some non-portabilities Date: Wed, 20 Jul 2022 16:26:26 +0100 Message-Id: <20220720152631.450903-1-peter.maydell@linaro.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::42a; envelope-from=peter.maydell@linaro.org; helo=mail-wr1-x42a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" This patchset fixes some non-portable code that has crept in recently: notably, it fixes problems that are reported to cause configure not to work correctly on OpenBSD and NetBSD, and a warning message when using dash as /bin/sh on Linux. I threw in a less important "drop some dead code" fix too, and a fix for the only other 'error' category problem reported by shellcheck. (There are way too many 'warning' category reports to deal with all at once.) If people who reported problems on NetBSD/OpenBSD could check that this fixes them, that would be great. thanks -- PMM Peter Maydell (5): configure: Add missing POSIX-required space configure: Add braces to clarify intent of $emu[[:space:]] configure: Don't use bash-specific string-replacement syntax configure: Drop dead code attempting to use -msmall-data on alpha hosts configure: Avoid '==' bashism configure | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-)