From: Akim Demaille Date: Tue, 12 Dec 2000 11:04:43 +0000 (+0000) Subject: * tests/aclocal.m4 (AC_STATE_SAVE): Use a more precise regexp to X-Git-Tag: autoconf-2.50~330 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9ca4cef778d4b587a1ec18d21aa516598bc2492c;p=thirdparty%2Fautoconf.git * tests/aclocal.m4 (AC_STATE_SAVE): Use a more precise regexp to keep envvars. --- diff --git a/ChangeLog b/ChangeLog index bff139f13..ca7caaa75 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2000-12-12 Akim Demaille + + * tests/aclocal.m4 (AC_STATE_SAVE): Use a more precise regexp to + keep envvars. + 2000-12-12 Akim Demaille AS_ERROR was not properly saving data in the log file. diff --git a/tests/aclocal.m4 b/tests/aclocal.m4 index b7977ed60..825ce9637 100644 --- a/tests/aclocal.m4 +++ b/tests/aclocal.m4 @@ -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