]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
Add another [].
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 26 Nov 2004 18:45:53 +0000 (18:45 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 26 Nov 2004 18:45:53 +0000 (18:45 +0000)
doc/autoconf.texi

index b7dd9bd9a8706734f93cd61ca34ef7ee902095d4..2d814da598cd811e625b2d14cc2c00a94e7b1ef4 100644 (file)
@@ -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