]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
Do not use cache vars.
authorStepan Kasal <kasal@ucw.cz>
Wed, 15 Mar 2006 14:02:36 +0000 (14:02 +0000)
committerStepan Kasal <kasal@ucw.cz>
Wed, 15 Mar 2006 14:02:36 +0000 (14:02 +0000)
ChangeLog
doc/autoconf.texi

index e7dc02b08ba7972ddcb1fb5f8234aa9fdcdf2b47..67ca441270d1944392ca5032297b8391fbebf875 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-03-15  Stepan Kasal  <kasal@ucw.cz>
+
+       * doc/autoconf.texi (Pretty Help Strings): No need to use cached
+         variables in the examples.
+
 2006-03-14  Romain Lenglet  <rlenglet@users.forge.objectweb.org>
 
        * doc/autoconf.texi (several sections): Cleaned up documentation for
index 3fdbbf872b3238f56feae953fb18167482df6496..d2dae6f7c8233a7be5a0f30dcd89b315477b9179 100644 (file)
@@ -14260,8 +14260,8 @@ Options}).  The following example will make this clearer.
 AC_ARG_WITH([foo],
   [AS_HELP_STRING([--with-foo],
      [use foo (default is no)])],
-  [ac_cv_use_foo=$withval],
-  [ac_cv_use_foo=no])
+  [use_foo=$withval],
+  [use_foo=no])
 @end example
 
 The second argument of @code{AS_HELP_STRING} is
@@ -14283,8 +14283,8 @@ arguments, as shown in the following example.
 AC_DEFUN([MY_ARG_WITH],
   [AC_ARG_WITH([$1],
      [AS_HELP_STRING([--with-$1], [use $1 (default is $2)])],
-     [ac_cv_use_[]$1=$withval],
-     [ac_cv_use_[]$1=$2])])
+     [use_[]$1=$withval],
+     [use_[]$1=$2])])
 @end example
 @end defmac