1 |
commit: b4019f43ca1dce3ebe043926bb4ef3f831df3071 |
2 |
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jan 30 08:33:39 2022 +0000 |
4 |
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jan 30 08:33:39 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/autotools-wrappers.git/commit/?id=b4019f43 |
7 |
|
8 |
autoconf-wrapper: try to enable shell POSIX mode if available |
9 |
|
10 |
This sync the logic that's been in the automake wrapper for a long time. |
11 |
|
12 |
Signed-off-by: Mike Frysinger <vapier <AT> gentoo.org> |
13 |
|
14 |
ac-wrapper.sh | 2 ++ |
15 |
1 file changed, 2 insertions(+) |
16 |
|
17 |
diff --git a/ac-wrapper.sh b/ac-wrapper.sh |
18 |
index d522576..f9b0857 100755 |
19 |
--- a/ac-wrapper.sh |
20 |
+++ b/ac-wrapper.sh |
21 |
@@ -15,6 +15,8 @@ |
22 |
# -or- |
23 |
# - `configure' is already present and was generated by autoconf 2.13 |
24 |
|
25 |
+(set -o posix) 2>/dev/null && set -o posix |
26 |
+ |
27 |
warn() { printf "ac-wrapper: $*\n" 1>&2; } |
28 |
err() { warn "$@"; exit 1; } |
29 |
unset IFS |