187 |
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null | |
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null | |
188 |
# There maybe variables spread on several lines, eg IFS, remove the dead |
# There maybe variables spread on several lines, eg IFS, remove the dead |
189 |
# lines. |
# lines. |
190 |
grep '^m4_defn([m4_re_word])=' >state-env.$[@]&t@1 |
grep '^m4_defn([m4_re_word])=' >state-env.$][1 |
191 |
test $? = 0 || rm -f state-env.$[@]&t@1 |
test $? = 0 || rm -f state-env.$][1 |
192 |
|
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$][1 |
|
ls -1 | sed '/^at-/d;/^state-/d;/^config\./d' | sort >state-ls.$[@]&t@1 |
|
193 |
])# AC_STATE_SAVE |
])# AC_STATE_SAVE |
194 |
]]) |
]]) |
195 |
|
|
236 |
# ------------ |
# ------------ |
237 |
# Check that the full configure run remained in its variable name space, |
# Check that the full configure run remained in its variable name space, |
238 |
# and cleaned up tmp files. |
# and cleaned up tmp files. |
239 |
# me tests might exit prematurely when they find a problem, in |
# Some tests might exit prematurely when they find a problem, in |
240 |
# which case `env-after' is probably missing. Don't check it then. |
# which case `env-after' is probably missing. Don't check it then. |
241 |
m4_define([AT_CHECK_ENV], |
m4_define([AT_CHECK_ENV], |
242 |
[if test -f state-env.before && test -f state-env.after; then |
[test -f state-ls.before || |
243 |
|
AS_ERROR([state-ls.before not present]) |
244 |
|
if test -f state-env.before && test -f state-env.after; then |
245 |
mv -f state-env.before expout |
mv -f state-env.before expout |
246 |
AT_CHECK([cat state-env.after], 0, expout) |
AT_CHECK([cat state-env.after], 0, expout) |
247 |
fi |
fi |
248 |
if test -f state-ls.before && test -f state-ls.after; then |
if test -f state-ls.after; then |
249 |
mv -f state-ls.before expout |
mv -f state-ls.before expout |
250 |
AT_CHECK([cat state-ls.after], 0, expout) |
AT_CHECK([cat state-ls.after], 0, expout) |
251 |
fi |
fi |