* acgeneral.m4 (AC_CACHE_VAL): Swap the arguments of `regexp'.

Reported by Alexandre Oliva.
This commit is contained in:
Akim Demaille 2000-06-26 10:57:46 +00:00
parent 94939fa6c1
commit 4c8b976769
4 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2000-06-26 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_CACHE_VAL): Swap the arguments of `regexp'.
Reported by Alexandre Oliva.
2000-06-26 Akim Demaille <akim@epita.fr>
* autoreconf.sh (automake, aclocal): New variables. Import

2
THANKS
View File

@ -11,7 +11,7 @@ Alexandre Oliva oliva@lsd.ic.unicamp.br
Andreas Schott schott@rzg.mpg.de
Andreas Schwab schwab@issan.informatik.uni-dortmund.de
Andrej Borsenkow borsenkow.msk@sni.de
Axel Thimm ifh.de
Axel Thimm Axel.Thimm@physik.fu-berlin.de
Ben Elliston bje@redhat.com
Bill Sommerfeld sommerfeld@apollo.hp.com
Bob Friesenhahn bfriesen@simple.dallas.tx.us

View File

@ -2323,7 +2323,7 @@ rm -f confcache[]dnl
# The name of shell var CACHE-ID must contain `_cv_' in order to get saved.
# Should be dnl'ed. Try to catch common mistakes.
define([AC_CACHE_VAL],
[ifelse(regexp([AC_DEFINE], [$2]), [-1],
[ifelse(regexp([$2], [AC_DEFINE]), [-1],
[AC_DIAGNOSE(syntax,
[$0($1, ...): suspicious presence of an AC_DEFINE in the second argument, ]dnl
[where no actions should be taken])])dnl

View File

@ -2323,7 +2323,7 @@ rm -f confcache[]dnl
# The name of shell var CACHE-ID must contain `_cv_' in order to get saved.
# Should be dnl'ed. Try to catch common mistakes.
define([AC_CACHE_VAL],
[ifelse(regexp([AC_DEFINE], [$2]), [-1],
[ifelse(regexp([$2], [AC_DEFINE]), [-1],
[AC_DIAGNOSE(syntax,
[$0($1, ...): suspicious presence of an AC_DEFINE in the second argument, ]dnl
[where no actions should be taken])])dnl