From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id DA2nI4FU9mjvUQAAWB0awg (envelope-from ) for ; Mon, 20 Oct 2025 11:25:53 -0400 Authentication-Results: simark.ca; dkim=pass (2048-bit key; secure) header.d=adacore.com header.i=@adacore.com header.a=rsa-sha256 header.s=google header.b=LpmD3zgY; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 7FFC61E047; Mon, 20 Oct 2025 11:25:53 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RCVD_IN_VALIDITY_CERTIFIED_BLOCKED, RCVD_IN_VALIDITY_RPBL_BLOCKED,RCVD_IN_VALIDITY_SAFE_BLOCKED autolearn=ham autolearn_force=no version=4.0.1 Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 936AA1E047 for ; Mon, 20 Oct 2025 11:25:52 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 268CD3858C51 for ; Mon, 20 Oct 2025 15:25:52 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 268CD3858C51 Authentication-Results: sourceware.org; dkim=pass (2048-bit key, secure) header.d=adacore.com header.i=@adacore.com header.a=rsa-sha256 header.s=google header.b=LpmD3zgY Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) by sourceware.org (Postfix) with ESMTPS id 88E213858D29 for ; Mon, 20 Oct 2025 15:24:38 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 88E213858D29 Authentication-Results: sourceware.org; dmarc=pass (p=quarantine dis=none) header.from=adacore.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=adacore.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 88E213858D29 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:20::335 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1760973878; cv=none; b=d3o1HRDtwTshwoC73jzgkUfU+y2Lq64r4AgOjEmOCstVT+9A/QbWgrvBarE/EdkUOkV18k+lZ1KZF/Y9IwL/jmeN7KlAUYdHXMUhJLhn2MPBNbG5yiPF5gaq1mXK7g5sB+FxJIVJNTF+N3wUTE9N0RSdblbVgfXLmcJiJ3HzImk= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1760973878; c=relaxed/simple; bh=FRUwNrZ7QJKmTw7SAHpxxXcZqj8y0R9VR2cZKyOSJ9Q=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=AWcI/rFne9yHGRKeHcvHPt8znBKj21u1PPY1hTsqaEHxu2R3b6BgEyaPX9liuXE8yKmaySt2qfcHmXGW6fRoS7R9Ja5rCM6o+qEZZhrpKFT0AjMvhmxjBMOWXqlWWuc7NjnmTp9H9ApnxaIxGxmuQ6JW7a45Z3s3aqvnz/MVZDw= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 88E213858D29 Received: by mail-wm1-x335.google.com with SMTP id 5b1f17b1804b1-471193a9d9eso40087145e9.2 for ; Mon, 20 Oct 2025 08:24:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adacore.com; s=google; t=1760973877; x=1761578677; darn=sourceware.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=F/mKa8+NZ5mJQuMSW1V4qQMYVEZdDm0y7XYG6HtYa8E=; b=LpmD3zgYi67srzfB6NrphOmvCm4SxDNDHAUuLyD4YMouHf4IUvbR1orWnNfAW5h8vH 1Uvo4Iaq3x/U3xE5PsnJluEFoLyMej8ZfkOkJPzV/8BqOKxXvRzDeTLsrZUw8Um8RxXL QcMHtiO2PgoR1lDYffg/3AfvEXudPhwBn0dmoC1dEIjuP6WzYhYbENEAbqYEA4e9cF3G jvd4r7o3nGU8md1c/6zpnaGj7QsOl39+czqhKFhJlNF2GRr6cIt8G92C6yE36tL20Dkc jmgwNgX6y//4RPvGk+YfkvdcXdRCOOzHbQWdK+PZVZFKeTOCY1K7yS34WWQKsIs+KGkp AyXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1760973877; x=1761578677; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=F/mKa8+NZ5mJQuMSW1V4qQMYVEZdDm0y7XYG6HtYa8E=; b=rwcczCTXOiE7gFDzpq0Y3/3ivt9dkLQfi9q8z9Q/9v0qI2c5UG3XKIZQZOzprv3VnT kL9oSQWmbIB4E9hqiMogPgkFc+mJG50MXdYvNNnqfRmkQC/HNXFkDsxMLH4EAhj8UIpq 2OY88RDqeEVCkhHlN2rq46NxictZlg2utwcKvLVUKcWwV1baSp/HLlDuvE9yxbVxWTgs /S5wDfg+fkkIywkOiEUAEekwdPCT8lUtY+G32dSfgpLfqKs9luria46ATL7CQAAn240J AaAm/BXRymtBJFLvXLHynIBtaWoKQ7nEhbZk6kWax1xav7BldWWGIwALuQmERWek0B9x rrPw== X-Gm-Message-State: AOJu0YzsHVpI37YcoRQD1tlqOCLJ/lS9xZ2ZBAEncM7eFonR9+cOgQA4 XsYD9768SR1U9IPPskzz9whkoZeZBiCldjrxqpwmNMg8fflwbsY1LpxbJ8b2bzBOulxoCLo4x/y o/qAHOA== X-Gm-Gg: ASbGnculJn/rpJ9qb/vRcXU0IRSxcKj5Kg2pF12zwCPgkpj3AU0SdIBNOhDZvTgHswd 7YZMcgdK0HNXWrKlPiKzX/Zzm/G/cCc87CedEltzF6P9gKAxWFzLfy7o/P2o9I+SQH+a5PdCc3T gWgsNgnY2ODP4zRJrd7LEXIJ6RFpdsFIE6P0rtmxIJ5F7FRvuTSkEbyK71N9u46hu5H79YJNl+B aUU//VMXXKJCAKCXByoCKeXwZeGI/3z8/i0WIlPxxGpBZ/fTRBcClvtayhNYu81Tvx9VHHY0ote VgLItZEL8H0zv3RjSJAuce/jjmLiHyARoahXBUmdGDgG+1dK4nz/QWAawGRPMOoZ7cAVY9Kl4dp iY6Hkks+HC6WOYp0fbWnIPCiqsqnJSXFhXny8T8V9P9SClbIG5+0d5RQGj2izELZfWamRnT5UEA Dl67Pjn/uq1E3AbQXRuDIR X-Google-Smtp-Source: AGHT+IGDbw6P7CoyBv1oj1ephRAhESR6IyzSXgeZEfckX3XR5rxFRdN/h9hYiS8eNlCZEwI0boXJmg== X-Received: by 2002:a05:600c:8214:b0:46e:2d8a:d1a1 with SMTP id 5b1f17b1804b1-4711787c09fmr98578935e9.10.1760973876854; Mon, 20 Oct 2025 08:24:36 -0700 (PDT) Received: from localhost.localdomain ([2.57.72.67]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-47114423862sm238231415e9.1.2025.10.20.08.24.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Oct 2025 08:24:36 -0700 (PDT) From: =?UTF-8?q?K=C3=A9vin=20Le=20Gouguec?= To: gdb-patches@sourceware.org Cc: =?UTF-8?q?K=C3=A9vin=20Le=20Gouguec?= Subject: [PATCH] Drop bashism from configure script Date: Mon, 20 Oct 2025 17:23:10 +0200 Message-ID: <20251020152310.1016355-1-legouguec@adacore.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20251014164458.2000229-3-matthieu.longo@arm.com> References: <20251014164458.2000229-3-matthieu.longo@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces~public-inbox=simark.ca@sourceware.org Results of evaluating 'test "no" == yes' in non-Bash shells range from unfortunate (dash: "test: no: unexpected operator") to comically wrong (AdaCore's gsh: returns 0). --- FTR: formatted with -- ':!gdb/configure' to honor wiki recommendation to drop generated files from list submission; local commit also contains the regenerated gdb/configure. gdb/configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdb/configure.ac b/gdb/configure.ac index 5e5a3a01d06..9c258eedc75 100644 --- a/gdb/configure.ac +++ b/gdb/configure.ac @@ -1077,7 +1077,7 @@ AC_ARG_ENABLE([py-limited-api], [GDB_CHECK_YES_NO_VAL([$enableval], [--enable-py-limited-api])], [enable_py_limited_api=no]) -if test "$enable_py_limited_api" == yes; then +if test "$enable_py_limited_api" = yes; then # The minimal Python limited API version is currently set to 3.11 for the # support of PyBuffer_FillInfo and PyBuffer_Release. # The choice of the minimal version for the Python limited API won't be frozen -- 2.43.0