From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id AA4A63858D38; Sun, 5 Mar 2023 12:14:47 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AA4A63858D38 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1678018487; bh=xkDxTAeXwiojIvOV4kmNGtpDiY/fQHxUbfF+J5dBrbs=; h=From:To:Subject:Date:In-Reply-To:References:From; b=O0lO2qRLryL4Y0hAmSBaySuysCkcVqiJz3mX1RQAkKf7RgawEI3x7/NalUIMVZUI7 NNdUib4Yrav3aep2/YJJnlw2DT/F+WsbR6Wv2/qkm/oVV2O53xmOw7ao97ZH9h9121 wTLqwp/+TxPmBPo4ProvTdnvIiucnXc3KLwOtvJk= From: "mark at klomp dot org" To: elfutils-devel@sourceware.org Subject: [Bug general/30196] [0.189 regression] configure.ac contains Bashisms Date: Sun, 05 Mar 2023 12:14:46 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: elfutils X-Bugzilla-Component: general X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mark at klomp dot org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc resolution bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D30196 Mark Wielaard changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mark at klomp dot org Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED --- Comment #1 from Mark Wielaard --- You are completely right. Committed as: commit a9834d7df68afde4ee44ee8fef888cf7e799171a Author: Mark Wielaard Date: Sun Mar 5 13:09:34 2023 +0100 configure.ac contains Bashisms Autoconf scripts are supposed to be written in POSIX-compatible shell language. elfutils commits 0ffe2874e75d48cb88936e119e5284ff2bf664d9 and 3fa98a6f29b0f370e32549ead7eb897c839af980 introduced Bashisms to configure.ac that cause errors when /bin/sh is not Bash. Example error when /bin/sh is Dash: ./configure: 8748: test: xyes: unexpected operator The cause of the error is the use of a non-existent =3D=3D operator in expressions passed to the 'test' built-in command. POSIX shell specifies only an =3D operator for testing string equality. * configure.ac: Replace =3D=3D by =3D in use_msan and enable_demangler comparisons. https://sourceware.org/bugzilla/show_bug.cgi?id=3D30196 Reported-by: Matt Whitlock Signed-off-by: Mark Wielaard --=20 You are receiving this mail because: You are on the CC list for the bug.=