]> git.pld-linux.org Git - packages/autoconf.git/blame - autoconf-mksh.patch
- enhanced tests patch to fix failures with mksh
[packages/autoconf.git] / autoconf-mksh.patch
CommitLineData
dd6ffbfb
AM
1--- tests/local.at~ 2013-10-15 13:49:09.403970117 +0200
2+++ tests/local.at 2013-10-15 13:50:05.868721901 +0200
3@@ -274,7 +274,7 @@ m4_define([AT_CHECK_CONFIGURE],
4 # Set by AC_OUTPUT.
5 # - AC_SUBST'ed variables
6 # (FIXME: Generate a list of these automatically.)
7-# - _|@|.[*#?$].|argv|ARGC|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS
8+# - _|@|.[*#?$].|argv|ARGC|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS|BASHPID|EPOCHREALTIME
9 # Some variables some shells use and change.
10 # `.[*#?$].' catches `$#' etc. which are displayed like this:
11 # | '!'=18186
12@@ -324,7 +324,7 @@ if test -f state-env.before && test -f s
13 [AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|MKDIR_P|RANLIB|SET_MAKE|YACC],
14 [GREP|[EF]GREP|SED],
15 [[_@]|.[*#?$].],
16- [argv|ARGC|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS]))=' \
17+ [argv|ARGC|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS|BASHPID|EPOCHREALTIME]))=' \
18 $act_file ||
19 test $? -eq 1 || echo failed >&2
20 ) 2>stderr-$act_file |
21@@ -351,11 +351,13 @@ fi
22 # - ^ac_, excluding ^ac_cv_
23 # Autoconf's private shell name space.
24 # - PPID [bash, zsh]
25-# - RANDOM [zsh]
26+# - RANDOM [zsh, mksh]
27 # - SECONDS [zsh]
28 # - '$' [zsh]
29 # - argv [zsh]
30 # - ARGC [zsh]
31+# - BASHPID [bash, mksh]
32+# - EPOCHREALTIME [zsh, mksh]
33 #
34 # Furthermore, it is okay for a non-cache variable initialized to empty in one
35 # run to be unset in another run. This happens when, for example, cache update
36@@ -378,6 +380,8 @@ do
37 /^PPID=/ d
38 /^RANDOM=/ d
39 /^SECONDS=/ d
40+ /^BASHPID=/ d
41+ /^EPOCHREALTIME=/ d
42 /'\'\\\$\''=/ d
43 /^argv=/ d
44 /^ARGC=/ d
45
This page took 0.063408 seconds and 4 git commands to generate.