+2007-05-09 Stepan Kasal <kasal@ucw.cz>
+
+ * doc/autoconf.texi (Caching Results): The CACHE-ID variable
+ in the examples should not use the internal "ac_" prefix.
+
2007-05-05 Noah Misch <noah@cs.caltech.edu>
* lib/autotest/general.m4 (_AT_NORMALIZE_TEST_GROUP_NUMBER): Use `eval'.
@example
@group
AC_DEFUN([AC_SHELL_TRUE],
-[AC_CACHE_CHECK([whether true(1) works], [ac_cv_shell_true_works],
- [ac_cv_shell_true_works=no
- (true) 2>/dev/null && ac_cv_shell_true_works=yes
- if test "$ac_cv_shell_true_works" = yes; then
+[AC_CACHE_CHECK([whether true(1) works], [my_cv_shell_true_works],
+ [my_cv_shell_true_works=no
+ (true) 2>/dev/null && my_cv_shell_true_works=yes
+ if test "$my_cv_shell_true_works" = yes; then
AC_DEFINE([TRUE_WORKS], [1],
[Define if `true(1)' works properly.])
fi])
@example
@group
AC_DEFUN([AC_SHELL_TRUE],
-[AC_CACHE_CHECK([whether true(1) works], [ac_cv_shell_true_works],
- [ac_cv_shell_true_works=no
- (true) 2>/dev/null && ac_cv_shell_true_works=yes])
- if test "$ac_cv_shell_true_works" = yes; then
+[AC_CACHE_CHECK([whether true(1) works], [my_cv_shell_true_works],
+ [my_cv_shell_true_works=no
+ (true) 2>/dev/null && my_cv_shell_true_works=yes])
+ if test "$my_cv_shell_true_works" = yes; then
AC_DEFINE([TRUE_WORKS], [1],
[Define if `true(1)' works properly.])
fi