From patchwork Wed Jul 20 15:26:31 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 591872 Delivered-To: patch@linaro.org Received: by 2002:a05:7000:5817:0:0:0:0 with SMTP id j23csp5062487max; Wed, 20 Jul 2022 08:31:25 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uCCESk+Yu7qXXEAky55UNQVJpmuCa+Js7bwKrlAuUNErDUEtxrya4IUgDILmoF8FgkWsp/ X-Received: by 2002:a05:622a:613:b0:31e:f64a:6d88 with SMTP id z19-20020a05622a061300b0031ef64a6d88mr9709929qta.321.1658331085778; Wed, 20 Jul 2022 08:31:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658331085; cv=none; d=google.com; s=arc-20160816; b=M+XIOWM6WATTQGo8NwzcD0lbqOAO4YDaRat8FjV4MMz+gcm5xoSm9QDEEQh/qWEZ9P ThSn8ri6/z7Q7lCrI24aIS9PNe9c+HIOIjV7fL0WKEJc68M6mnNCSV1BRFqfG9LnFZCq TdQE0pZWNGM8Qr7UnW2FrylEje4EaI/otdTBormRXlQs3aw45nZfwsYzC45Vl+HVk4dH /pKLhI1iE4uOpwcHmuonppq4gWnnqyrDeotN81E8ZldUuxJcL7UHCMxW5GSCSkfA2kts wKctMwUUnvw3fDQfg3ig3a2aW4vZ7eGWMq6tTzpD8CyvpY3Spi/oAoAV0M57zmZnd3Gc i+lA== 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:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=j7LZZeIQ/sz4HsnzuYWBDPxebi7JrS8w/X6Vb6vFc3U=; b=SijRoliAUAC8zo++WrnjOC3L089IK9Dt8dQyUnaVo61hUIEsgWGLWcrgMWVviS5cVa F4QylYgaCyNb7ri4qbY5f2b7bVzqatl9Cy0hkpqFzkeG0TYdXRTrE9QlrnXze1CnQ6DZ CrueODLAyKEWcQ1WpxluslQjE4gsyMZtBd/eYoyFadWWHpb7Q+0QHe+mqYj6KRA/SJwz xaJa0uK2pEiT/cVPkY5h8ET9m3YugXUKBjEZb94H8P7nTs1dLIF/k2xAJX7LO/NYvCZ+ G53PeM4OYQUUmIFKTnpYzg/e1Xsse04sZIQ/4uuNbqemlhjRPpQjf4ylg0IYd+6z/6Q5 +tsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ErKAfFUW; 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 ee28-20020a05620a801c00b006b5ead97164si4266410qkb.599.2022.07.20.08.31.25 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 20 Jul 2022 08:31:25 -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=ErKAfFUW; 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]:37114 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oEBfZ-0007BN-CI for patch@linaro.org; Wed, 20 Jul 2022 11:31:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36852) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oEBay-0002RV-Ub for qemu-devel@nongnu.org; Wed, 20 Jul 2022 11:26:41 -0400 Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]:45829) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oEBaw-0005Bm-U9 for qemu-devel@nongnu.org; Wed, 20 Jul 2022 11:26:40 -0400 Received: by mail-wr1-x434.google.com with SMTP id a5so26589235wrx.12 for ; Wed, 20 Jul 2022 08:26:38 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=j7LZZeIQ/sz4HsnzuYWBDPxebi7JrS8w/X6Vb6vFc3U=; b=ErKAfFUWDaFCW5fEZnWlNYDlVBJeFN6C9yxL139Usz3TFEmR79m/iTMU/Ew93YKLU0 fg+7TDSGSfEd5jdUKiP5UQKPrrwMtvBJiOYA0yutTZWzYpRqIjvrJSJ9en9guJgwdR/J CZHj48xwmWuKtXYSbnKCc/L8zfjpUu3K/Xla4FLTl/qm9fkPEEnmLSeC9Q1IqWpIoi8E 0kMS/jpHIhXIdjIQEC2qTOtvu8+ROVMYk7XkU2bJxuiodTn92CE1RSn2Zxge+i4knHn4 +PxaYYciY5Wk8dlfJPeUbQGuGXjKMjVJ4PbIWfbg48sQka9WkWxNGVOBXOap6PT9otJs hnpw== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=j7LZZeIQ/sz4HsnzuYWBDPxebi7JrS8w/X6Vb6vFc3U=; b=378sgKU2w+AFh7kORiWV+ZsE4pnUVFDSZFaBABqc6r/Wf0cVpXWIiQT1OjucwBtJSV x+CpSGB+/ocoyS/A+B/PybWZOFgix0YKPpTnTRhPjEMcC+KIc+4LUJ0TkHEIDcRYo5BJ W7nqId+bxzOsdTgiwTpewYrrmPZ7TKkSBS00wvRseN+wg+Xk49PfFTBZXZgyJoVcoWrI HMLrQdBsXSYNXYUEtdIRbbv03V1MIxYKAXVn/cOP9xC0vv3SgWJQvLE/EMxsngdpMC+5 sIwP2biQkC5Ms43qRcPC6AWbXXv5b7OYw1R23lWJzR262uXCLlKifJj0XQZRWKLPlNFC JDBA== X-Gm-Message-State: AJIora+oJF5UWPG0NwrB0gQcPqbJgu4gK+4HRqXEIeJ7WrtYCxYi8tJs rAmE8izKX9XmyZ/jXXQhWDFHuYQVD0e1Cg== X-Received: by 2002:a5d:64c2:0:b0:21e:2e1b:d031 with SMTP id f2-20020a5d64c2000000b0021e2e1bd031mr7421595wri.8.1658330798265; Wed, 20 Jul 2022 08:26:38 -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.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Jul 2022 08:26:37 -0700 (PDT) From: Peter Maydell To: qemu-devel@nongnu.org Cc: Paolo Bonzini , "Dr. David Alan Gilbert" , Thomas Huth , Richard Henderson Subject: [PATCH 5/5] configure: Avoid '==' bashism Date: Wed, 20 Jul 2022 16:26:31 +0100 Message-Id: <20220720152631.450903-6-peter.maydell@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220720152631.450903-1-peter.maydell@linaro.org> References: <20220720152631.450903-1-peter.maydell@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::434; envelope-from=peter.maydell@linaro.org; helo=mail-wr1-x434.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" The '==' operator to test is a bashism; the standard way to copmare strings is '='. This causes dash to complain: ../../configure: 681: test: linux: unexpected operator Signed-off-by: Peter Maydell Reviewed-by: Thomas Huth --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index d0e9a51462e..2c19329d58c 100755 --- a/configure +++ b/configure @@ -678,7 +678,7 @@ werror="" meson_option_build_array() { printf '[' - (if test "$targetos" == windows; then + (if test "$targetos" = windows; then IFS=\; else IFS=: