]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
(Pretty Help Strings): Go back to
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 26 Nov 2004 08:58:34 +0000 (08:58 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 26 Nov 2004 08:58:34 +0000 (08:58 +0000)
single-quoting assignments to cache variables.

doc/autoconf.texi

index 4a02b387f275e3793e121770c0077edaf3426a53..b7dd9bd9a8706734f93cd61ca34ef7ee902095d4 100644 (file)
@@ -13053,8 +13053,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)
+  [ac_cv_use_foo=$withval],
+  [ac_cv_use_foo=no])
 @end example
 
 The second argument of @code{AS_HELP_STRING} is
@@ -13076,8 +13076,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)])
+     [ac_cv_use_$1=$withval],
+     [ac_cv_use_$1=$2])])
 @end example
 @end defmac