From: Stepan Kasal Date: Wed, 9 May 2007 10:38:23 +0000 (+0000) Subject: * doc/autoconf.texi (Caching Results): The CACHE-ID variable X-Git-Tag: v2.62~319 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=02965a6b0e6a342ae5a634c52e5549006e626390;p=thirdparty%2Fautoconf.git * doc/autoconf.texi (Caching Results): The CACHE-ID variable in the examples should not use the internal "ac_" prefix. --- diff --git a/ChangeLog b/ChangeLog index 4c158f5a..975a0f72 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-05-09 Stepan Kasal + + * doc/autoconf.texi (Caching Results): The CACHE-ID variable + in the examples should not use the internal "ac_" prefix. + 2007-05-05 Noah Misch * lib/autotest/general.m4 (_AT_NORMALIZE_TEST_GROUP_NUMBER): Use `eval'. diff --git a/doc/autoconf.texi b/doc/autoconf.texi index 28c93ca2..caa82b55 100644 --- a/doc/autoconf.texi +++ b/doc/autoconf.texi @@ -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