* tests/actest.m4 (AC_ENV_SAVE): Don't consider RANDOM and LINENO

which some shells update.
This commit is contained in:
Akim Demaille 2000-03-14 08:59:11 +00:00
parent 92cd322dc1
commit 134cd844f3
3 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2000-03-14 John David Anglin <dave@hiauly1.hia.nrc.ca>
* tests/actest.m4 (AC_ENV_SAVE): Don't consider RANDOM and LINENO
which some shells update.
2000-03-14 Akim Demaille <akim@epita.fr> 2000-03-14 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_ARG_ENABLE, AC_ARG_WITH): No use for @%:@ here, * acgeneral.m4 (AC_ARG_ENABLE, AC_ARG_WITH): No use for @%:@ here,

1
THANKS
View File

@ -51,6 +51,7 @@ Jeffrey A Law law@cygnus.com
Jim Blandy jimb@wookumz.gnu.ai.mit.edu Jim Blandy jimb@wookumz.gnu.ai.mit.edu
Jim Meyering meyering@ascend.com Jim Meyering meyering@ascend.com
Jiro Takabatake jiro@din.or.jp Jiro Takabatake jiro@din.or.jp
John David Anglin dave@hiauly1.hia.nrc.ca
John Interrante interran@uluru.stanford.edu John Interrante interran@uluru.stanford.edu
John W. Eaton jwe@bevo.che.wisc.edu John W. Eaton jwe@bevo.che.wisc.edu
J"orn Rennecke amylaar@cygnus.co.uk J"orn Rennecke amylaar@cygnus.co.uk

View File

@ -23,7 +23,7 @@ define(join,
# AC_FUNCs from acspecific. # AC_FUNCs from acspecific.
# - AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC # - AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC
# AC_PROGs from acspecific # AC_PROGs from acspecific
# - _|OLDPWD|PIPESTATUS|SECONDS # - _|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS
# Some variables some shells use and change # Some variables some shells use and change
AC_DEFUN(AC_ENV_SAVE, AC_DEFUN(AC_ENV_SAVE,
@ -42,7 +42,7 @@ AC_DEFUN(AC_ENV_SAVE,
[^(f77_(case|underscore))=], [^(f77_(case|underscore))=],
[^(ALLOCA|NEED_SETGID|KMEM_GROUP)=], [^(ALLOCA|NEED_SETGID|KMEM_GROUP)=],
[^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=], [^(AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|RANLIB|SET_MAKE|YACC)=],
[^(_|OLDPWD|PIPESTATUS|SECONDS)=])' | [^(_|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' |
# There maybe variables spread on several lines, eg IFS, remove the dead # There maybe variables spread on several lines, eg IFS, remove the dead
# lines # lines
fgrep = >$1 fgrep = >$1