From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id ED61D158087 for ; Sun, 30 Jan 2022 09:24:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B518D2BC064; Sun, 30 Jan 2022 09:24:25 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9BD112BC068 for ; Sun, 30 Jan 2022 09:24:25 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7554E343163 for ; Sun, 30 Jan 2022 09:24:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2C7542CB for ; Sun, 30 Jan 2022 09:24:22 +0000 (UTC) From: "Mike Frysinger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Frysinger" Message-ID: <1643531619.b4019f43ca1dce3ebe043926bb4ef3f831df3071.vapier@gentoo> Subject: [gentoo-commits] proj/autotools-wrappers:main commit in: / X-VCS-Repository: proj/autotools-wrappers X-VCS-Files: ac-wrapper.sh X-VCS-Directories: / X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger X-VCS-Revision: b4019f43ca1dce3ebe043926bb4ef3f831df3071 X-VCS-Branch: main Date: Sun, 30 Jan 2022 09:24:22 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: dfd3b7cd-768a-4dd3-92d7-b04c688b1893 X-Archives-Hash: 0041ad2417ed8aea0721c8821ddac4b4 commit: b4019f43ca1dce3ebe043926bb4ef3f831df3071 Author: Mike Frysinger gentoo org> AuthorDate: Sun Jan 30 08:33:39 2022 +0000 Commit: Mike Frysinger gentoo org> CommitDate: Sun Jan 30 08:33:39 2022 +0000 URL: https://gitweb.gentoo.org/proj/autotools-wrappers.git/commit/?id=b4019f43 autoconf-wrapper: try to enable shell POSIX mode if available This sync the logic that's been in the automake wrapper for a long time. Signed-off-by: Mike Frysinger gentoo.org> ac-wrapper.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ac-wrapper.sh b/ac-wrapper.sh index d522576..f9b0857 100755 --- a/ac-wrapper.sh +++ b/ac-wrapper.sh @@ -15,6 +15,8 @@ # -or- # - `configure' is already present and was generated by autoconf 2.13 +(set -o posix) 2>/dev/null && set -o posix + warn() { printf "ac-wrapper: $*\n" 1>&2; } err() { warn "$@"; exit 1; } unset IFS