autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why doesn't this quote properly?


From: Alexandre Duret-Lutz
Subject: Re: Why doesn't this quote properly?
Date: Tue, 23 Nov 2004 07:16:34 +0100
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)

| @@ -13065,11 +13073,11 @@ The @code{AS_HELP_STRING} macro is parti
|  arguments, as shown in the following example.
|  
|  @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=no),
| -AC_CACHE_CHECK(whether to use $1, ac_cv_use_$1, ac_cv_use_$1=$2)])
| +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=no])])
|  @end example
|  @end defmac

This chunk looks erroneous to me: the help string mentions $2 but the
code no longer uses it.
-- 
Alexandre Duret-Lutz





reply via email to

[Prev in Thread] Current Thread [Next in Thread]