]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* doc/autoconf.texi (Caching Results): The CACHE-ID variable
authorStepan Kasal <kasal@ucw.cz>
Wed, 9 May 2007 10:38:23 +0000 (10:38 +0000)
committerStepan Kasal <kasal@ucw.cz>
Wed, 9 May 2007 10:38:23 +0000 (10:38 +0000)
in the examples should not use the internal "ac_" prefix.

ChangeLog
doc/autoconf.texi

index 4c158f5a531288ee200a1284d1a85136a70f282d..975a0f7264627e20980a1d24468a80c9c23a197d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+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'.
index 28c93ca2fc1a392264c0f9fd7ae4fbaa60f6c5f1..caa82b559ee3f788d379178d80f840961e77f5dc 100644 (file)
@@ -8593,10 +8593,10 @@ instance, the following macro is broken:
 @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])
@@ -8612,10 +8612,10 @@ is:
 @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