From patchwork Tue Jul 26 15:20:11 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 593455 Delivered-To: patch@linaro.org Received: by 2002:a05:7000:b811:0:0:0:0 with SMTP id fc17csp3646747mab; Tue, 26 Jul 2022 08:28:53 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tavpJVSrA1hsMGUCfvHT3ElBefiuZCnfLaQ5ixuwH+8FxH4iuAYFC6QR94kOpk/iUHGBAc X-Received: by 2002:ac8:5794:0:b0:31f:34a8:8315 with SMTP id v20-20020ac85794000000b0031f34a88315mr10469098qta.360.1658849333675; Tue, 26 Jul 2022 08:28:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658849333; cv=none; d=google.com; s=arc-20160816; b=fM8ge9d89NXLbAIMQs4eDcuX1WMl+Wv9K9iUcoVzPZlco+hzzRaPXbxuQwK4+v20pT PllT9p2+hiMJS/m3td0/5Jfk+psVZ/ofvEd3yWmW4uWkTZBpvTkWFTA0dN38V/eDrdsY Qjd36qKil3nNdLKKbdhjZv9vVlDnoWCaiMaO1ZbT/GgoJGUo/mA5NtuM+fMKpedy+w6P m8EIhiQDm/wpjH6EllbLdD+nT8gOcRYZH3BzcVEhiLIc5F615p/VcaBj+NQzMP9hSr+H FR4T5PUquNN18UchZLftFLCs33A+kFJaW62AFvPRxS/sNr9p+DqLsAqc6abnkCL9iIkf aPGA== 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:to:from :dkim-signature; bh=0ZhXnkNY51Ak8uQsgToIykxdNgR1qaaFhrhnxOotnMI=; b=Ijaq6JO+MPf396K9JWU/oQTcxcROsMEzRqNZG0aCQVSlDC/TtuAFL6Znoxfvw9jrVq mnnKEYwBEYPyFs549qXhmosqKTs5jrTvELox+C5gB+Qip1B8ng+9dGssTGL5/anXule9 EX4E9ebc4fkgmX6JDEYLRKkX7bD9UMQTkds12EHamhdFGSGEJ5ovBretAAhGmlbRKVM1 0XlUGEtoXYgslkRQV9hheNS0tgtF0VAsXyi5PZio+K6S1O2APjYQ+XkLVz6PEqiF4u3G c/rJoeS6UQCXs6a4xw0ZnoBPHx6OvhyCxUv5KRl7tpA7l8in2BvHE/rrSSTSwpj1sUa7 ro9Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=rlKTRKlL; 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 gu4-20020a056214260400b00472ac0d3957si11537159qvb.198.2022.07.26.08.28.53 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 26 Jul 2022 08:28:53 -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=rlKTRKlL; 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]:51474 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oGMUP-0000pP-AX for patch@linaro.org; Tue, 26 Jul 2022 11:28:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51950) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oGMMF-0006PO-O3 for qemu-devel@nongnu.org; Tue, 26 Jul 2022 11:20:27 -0400 Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]:38607) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oGMMD-00063T-6l for qemu-devel@nongnu.org; Tue, 26 Jul 2022 11:20:27 -0400 Received: by mail-wm1-x334.google.com with SMTP id f24-20020a1cc918000000b003a30178c022so11544509wmb.3 for ; Tue, 26 Jul 2022 08:20:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=0ZhXnkNY51Ak8uQsgToIykxdNgR1qaaFhrhnxOotnMI=; b=rlKTRKlLGVsfdBXWgsR/5GtJeUTDisi72aya2fNJ8tgPWRzxVvuCewl1dguEjHMrN7 chjVcTfB94EWhHRbi0aHVKrNMRf1+9HoWXKPwoe9mD6G42dpR5O7prgwaSucfqivkCMx 48fUQuZ6VO/yf68iYzUfRCGOm6XBsN3lTopzG6PPDZY3lPloySQS9592JZ9eLGNz1/52 vVkBelkH+itmNIWwtZ3hglwi8u3hfZj9IgLWK6PpWz9Wvv7qPK0I+UhXlgFYOlLwx2wE wC20s9/OpEON6zw04f1MCVwmp2sGnsAgYVJnhIOLD4blq1d64B1KcxEaa1AhgaJ7eCVX usiA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=0ZhXnkNY51Ak8uQsgToIykxdNgR1qaaFhrhnxOotnMI=; b=0xAKQzGevzyEzGyWf+KgjpVBhiIAXjoseGVMm7CuIxY9HTeWG/llyXPo1q9HT8JBmm usuec1RCjPPLYEcxjkMm1ESRmd9IeJhj3j56ZqPj9uiv9sSPf5nS9ed0xw/gBh/KPOtv 47vV8ZkoUhQ6YHqr4gjPCpNCz1Et2Btr6JsP5C1PGKDGsppZ7dutbFZaciPeWX0WVkJg DH77UICv5AjY+ugvSvjm/9wKKWIfxS1k+GymjhV6mO88GVM0z1E4tzgJ621kQ1IVf7kL Zw3J912ldACDyWnFPoFEdtxSw8ot/7lnGRKC1Q75AMkl1TfvD1tWMC/n5XYA3TelvqJ4 24zw== X-Gm-Message-State: AJIora83lpPhIovOvAC/lrx/qW9+uM6idtm2oHINvW+LXNNxMq9AXvKc ujN7fF44KCjN0mnVfUcB71g/Ru/7G8RnRA== X-Received: by 2002:a7b:ce8a:0:b0:3a3:1181:20ae with SMTP id q10-20020a7bce8a000000b003a3118120aemr12119396wmj.96.1658848822869; Tue, 26 Jul 2022 08:20:22 -0700 (PDT) Received: from orth.archaic.org.uk (orth.archaic.org.uk. [2001:8b0:1d0::2]) by smtp.gmail.com with ESMTPSA id n5-20020a1c2705000000b003a1980d55c4sm21932739wmn.47.2022.07.26.08.20.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Jul 2022 08:20:22 -0700 (PDT) From: Peter Maydell To: qemu-devel@nongnu.org Subject: [PULL 8/9] configure: Avoid '==' bashism Date: Tue, 26 Jul 2022 16:20:11 +0100 Message-Id: <20220726152012.1631158-9-peter.maydell@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220726152012.1631158-1-peter.maydell@linaro.org> References: <20220726152012.1631158-1-peter.maydell@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::334; envelope-from=peter.maydell@linaro.org; helo=mail-wm1-x334.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 Message-id: 20220720152631.450903-6-peter.maydell@linaro.org --- 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=: