]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* tests/aclocal.m4 (AC_STATE_SAVE): Use a more precise regexp to
authorAkim Demaille <akim@epita.fr>
Tue, 12 Dec 2000 11:04:43 +0000 (11:04 +0000)
committerAkim Demaille <akim@epita.fr>
Tue, 12 Dec 2000 11:04:43 +0000 (11:04 +0000)
keep envvars.

ChangeLog
tests/aclocal.m4

index bff139f1313a7a7141bd5c394550c06966246387..ca7caaa7563df71149640bc244c94a6620a09ad8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index b7977ed6087c310ffa7018e68ddfde623682813a..825ce96373c2bd3ae312a52fbe920826ceef6d3d 100644 (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