* tests/aclocal.m4 (AC_STATE_SAVE): Use a more precise regexp to

keep envvars.
This commit is contained in:
Akim Demaille 2000-12-12 11:04:43 +00:00
parent 1088d101b2
commit 9ca4cef778
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2000-12-12 Akim Demaille <akim@epita.fr>
* tests/aclocal.m4 (AC_STATE_SAVE): Use a more precise regexp to
keep envvars.
2000-12-12 Akim Demaille <akim@epita.fr>
AS_ERROR was not properly saving data in the log file.

2
tests/aclocal.m4 vendored
View File

@ -44,7 +44,7 @@ m4_defun([AC_STATE_SAVE],
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
fgrep = >state-env.$1
grep '^m4_defn([m4_re_word])=' >state-env.$1
test $? = 0 || rm -f state-env.$1
ls -1 | grep -v '^state' | sort >state-ls.$1